Push Notification

We provide 2 providers to send notification messages : FCM and OneSignal, FCM configuration is required and has been explained in the previous step by replacing google-services.json with yours, then OneSignal setup is optional.

FIREBASE CLOUD MESSAING (FCM)

Server Key

Firebase provides Server API Key to identify your firebase app. To obtain your Server API Key, go to firebase console, select the project and go to settings, select Cloud Messaging tab and copy your Server key.

FCM Notification Topic

  • In the latest updated version starting from version 4.3 or higher, notifications are received based on subscribed topics, so, the FCM token will not be stored in the database and no longer used.

  • Notification topic name is determined by you, the notification topic must be written in lowercase without space (use underscore), e.g : android_news_app_topic

Login to your Admin Panel, navigate to Settings menu and put your FCM Server Key and FCM Notification Topic.

ONESIGNAL

Required For Setup

Keys & IDs Setup

  • Login to your OneSignal Account and select your app

  • Select SETTINGS > Keys & IDs to get your OneSignal APP ID and REST API KEY

  • Login to your Admin Panel, navigate to Settings menu and put your OneSignal APP ID and OneSignal REST API KEY.

Last updated