Android App Push Notification Settings¶
Table of Contents
Monaca sends push notifications via FCM (Firebase Cloud Messaging). FCM is a cross-platform messaging solution that lets you reliably deliver messages at no cost. Using FCM, you can notify a client app that new email or other data is available to sync. You can send notification messages to drive user reengagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4KB to a client app.
In this page, we will guide you to enable push notifications service for Android applications with Monaca.
You are required to have a Google account for this configuration.
Server API key and
Sender ID from Firebase console is required to integrate FCM with Monaca. To get this API key, please proceed as follows:
- Go to Firebase Console and sign in with a valid Google account.
- Click on + Add project.
- Input a project’s name and choose your country/region. Then, click on CREATE PROJECT.
- Once your project is created, go to Project settings from the left menu.
- In the Settings page, go to CLOUD MESSAGING. Then, you will be able to see the
Sender IDwhich will be used in Monaca push notification settings later. The
Server Keyis Server API key for the push notification and the
Sender IDrepresents a sender.