Push Setup

Configure Android and iOS push for an app. One Firebase project powers both, and web push (beta) too.

How push works in notifySphere#

notifySphere delivers push through Firebase Cloud Messaging (FCM). One Firebase project covers Android and iOS for a given app (and web push, in beta: see the Web Push SDK). You upload one Service Account credential, and every platform you've integrated starts receiving pushes sent from the dashboard or API.

Set up Android push#

In the dashboard, open your app and go to Setting → Platform → Android (FCM) Settings, then click New App/Website. A 4-step setup opens, with your progress shown on the right.

  1. Name the app

    Give the platform setup a name you'll recognize, usually your app's name.

  2. Upload your Firebase Service Account JSON

    Generate the file by following Firebase Credentials, then upload it. The Firebase Project ID is read from the file and filled in for you. Check that it matches the project in your Firebase console, then click Save & Continue.

  3. Select your SDK

    Pick the SDK your app uses and click Save & Continue. See the React Native SDK guide (it also covers Expo development builds) or the Flutter SDK guide.

  4. Install and test

    This step shows your App ID. Pass it to the SDK's initialize() together with an API key, run the app on a device, and send a test push. See Test your integration.

What each platform needs#

PlatformIn your appIn Firebase / notifySphere
Androidgoogle-services.json, notification permissions, a small notification iconService Account JSON uploaded under Setting → Platform → Android (FCM) Settings
iOSGoogleService-Info.plist, Push Notifications and Remote notifications capabilitiesiOS activated under Setting → Platform, and your APNs key (.p8) uploaded in Firebase. Test on a physical device, not the Simulator.
WebA domain served over HTTPSSSL Domain Check passes

Next#

Stuck or something unclear? Contact us and we'll help.