Push notifications are messages that pop up on mobile devices. App publishers can send them at any time; even if the recipients aren’t currently engaging with the app or using their devices.
Before continuing, please be sure that you have completed all of the steps in Getting started.
WebEngage push messaging can be integrated with either Google Cloud Messaging (GCM) or Firebase Cloud Messaging (FCM). Although FCM is the latest push platform for Android, both GCM and FCM are fully supported. To use FCM follow our Firebase Cloud Messaging integration guide. Otherwise, follow our Google Cloud Messaging integration guide.
As of April 10, 2018, Google has deprecated Google Cloud Messaging. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019.
We strongly suggest that you use Firebase Cloud Messaging for push messaging in your application by following WebEngage FCM integration steps.
If you are already using GCM to send push messages, follow Google's FCM upgrade instructions. You can also check out this video, which walks through the migration process.
|Firebase Cloud Messaging integration|