Android - Firebase Notifications
To test a PushReceiverModule in the DevApp, you will need to use your own Firebase
account that has Messaging enabled. How to setup your own Firebase account is not covered
by our documentation. Please go to https://console.firebase.google.com/ for more
information.
Setup
Once you have a Firebase account, and have enabled Messaging you will be able to download
your own google-services.json from the console. With it, replace the existing one in the
DevApp's root folder. Once that is done, you are ready to test.
Getting your Token
Assuming you added your google-services.json file correctly, on application start the
MyFirebaseMessagingService will generate you your token. For debug purposes, the DevApp
writes this token to Logcat, as seen in the example image. You can also access the token
from the SdkUtils.getSdkPushUtils().
