App push notifications
Let app users subscribe to push notifications about new content. Set up Firebase Cloud Messaging, integrate subscribe and unsubscribe in your app, and trigger pushes from your CMS or server.
OverviewView as Markdown
The Subrite API for push notifications lets app users subscribe to and unsubscribe from push notifications when new content is available.
Step 1: Set up Firebase#
Set up a Firebase project with Cloud Messaging, and send the credentials to Subrite. See the setup guide.
Step 2: Integrate the app#
Integrate subscribing and unsubscribing users from the app. See the app guide.
Step 3: Push content from your server#
Integrate content push from the CMS or server. See the content server guide.
In this section
- Basic setupCreate a Firebase service account key and send it to Subrite, create M2M tokens for the app (Push Subscription) and the server (Push Content), and decide whether to discard topics.
- App integrationGet the device FCM token, subscribe and unsubscribe devices with optional topics, link a subscriber to a logged-in member, and report when a user opens the app from a notification.
- Content server integrationDispatch a push notification from your CMS or server with an M2M token, use topics as an audience filter, and read campaigns and delivery stats back from the Subrite API.