Sample App to demonstrate FCM token and payload handling done by App.
- App registers the
FirebaseMessagingServiceand handles the token and payload passing to MoEngage SDK inCustomFirebaseReceiver MainActivityis linked to the deeplink urldeeplink://moengage/circle, adding this to theDeepLinknavigation action will launch the Sample App
-
Add your APP-ID in the
SampleApplicationclass -
Add your
google-services.jsonfile toapp/and replace theapplicationIdinbuild.gradlewith your application id.defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "YOUR_APP_ID" ... }