Firebase Messaging

Firebase Messaging is a 3rd party service for push noifications. Push Notifications are a great way to bring back users into your app, when used correctly. It is important to maintain the right balance between effective promotion and bombarding users with distractions (which will achieve the opposite objective).

Prerequisites

Firebase apps for iOS and Android matching the bundle ID as in Zapp.

For Android: Google-services.json

For iOS: GoogleService-Info.plist

APN p.12 or p.8 (For more info, you can read here)

Android

In your application version select the drop down menu and enter the “General” section

Once inside General, scroll down to the field Firebase Configuration And upload the Google-services.json file retrieved from your Google Firebase Console.

On the Plugin Configuration, add the Firebase Notifications Plugin to your application version

Uploading notifications icons

Upload the relevant assets for app notifications according to this article

Uploading sound file for push notifications

Upload under “Assets” section the sound file and build. Then match the relevant sound to the push on the Firebase Notifications Plugin.

iOS

On the Plugin Configuration, add the Firebase Notifications Plugin to your application version

Upload the key.p8

In your Google Firebase project, under the Settings section, upload key.p8.

Add GoogleService-Info.plist

On the plugin configuration, Add the Firebase Base Setting 2.0 plugin, and upload the GoogleService-Info.plist retrieved from your Google Firebase Project in the Settings section.

You will need both for production and for enterprise.

Uploading notifications icons

On iOS the notifications icon is app icon.

Uploading sound file for push notifications

On the Firebase Notifications plugin under “custom sound files”.

note

In order to test push notifications on iOS you must build the app in release and download from Testflight.