Typestate
Sign in
Firebase Cloud Messaging logo

Works with Typestate. Built into Typestate.

Firebase Cloud Messaging

Notify a person in your iPhone or Android app, through your own Firebase project.

Turn on phone notifications for my backend on Typestate.

Firebase Cloud Messaging is on, through set_push.

Notify a person

Your key goes on the cockpit, never through me.

Ready on Sandbox after the next deploy.

What your agent does with this integration

What it does for a business

  • An action notifies a person on their phone, their tablet and their laptop at once
  • The app registers each device after sign-in

Writes

What an action of your backend asks Firebase Cloud Messaging to do.

DoNotify a personSends a notice to every device the person registered. A person with no device is not an error.
ParameterTypeNeededWhat it is
totextyesThe person's account id.
titletextyesThe notice's title.
bodytextyesThe notice's text.
datajsonnoAnything the app reads when the notice is opened.

What it answers, for example

{
  "devices": 2,
  "notification": "ntf_9e"
}

What it cannot do yet

  • An iPhone needs the APNs key uploaded to Firebase, which needs an Apple Developer account.

Add Firebase Cloud Messaging to your backend

You put your Firebase service account on the cockpit's Notifications page, never through the agent.

Turn on phone notifications for my backend on Typestate.Open an account

More notifications and related integrations

Made by Typestate, and not by Firebase Cloud Messaging. Firebase Cloud Messaging does not endorse Typestate. Firebase Cloud Messaging's own site