Your Radio App
  • Welcome
  • Android Studio
    • Getting Started
    • Import Project
    • Generate google-services.json
    • Push Notification
    • Package Name
    • Server Connection
    • Ad Networks
    • AdMob GDPR (Legacy)
    • Funding Choices
    • Change Logo
    • Change Color
    • Change Text
    • Change Images
  • Admin Panel
    • Getting Started
    • Create Database
    • Import Database
    • Upload PHP Script's
    • Database Configuration
    • Related Video Tutorial
  • Publish the App
    • Release Version
    • Generate Signed Bundle / APK
  • Migrate from Older Version
    • v5.2.0 to v5.3.0
    • v5.1.0 to v5.2.0
    • v5.0.2 to v5.1.0
    • v5.0.1 to v5.0.2
    • v5.0.0 to v5.0.1
    • v4.x.x to v5.0.0
    • v3.x.x to v4.x.x
  • Changelog
  • Rating and Support
  • FAQ
Powered by GitBook
On this page
  • FIREBASE CLOUD MESSAING (FCM)
  • ONESIGNAL

Was this helpful?

  1. Android Studio

Push Notification

PreviousGenerate google-services.jsonNextPackage Name

Last updated 3 years ago

Was this helpful?

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, 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 : your_radio_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

  • A OneSignal Account, if you do not already have one

  • Your OneSignal App ID, available in Keys & IDs​

  • ​A Google/Firebase Server API Key​

  • A device or emulator that has Google Play services installed and updated on it (Device will not subscribe or receive push notifications with out this).

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.