-
Add a new android project to Firebase console, and go to the project settings to add a server key and download
google-services.json
. The server key is for AWS SNS android application API key. -
Add
google-services.json
to the Android project app folder, and follow this guide to setup Firebase and FCM SDK -
You can use Postman to test
push notification
following this article -
The
gotcha part
is about AWS SNS JSON template which usesdata
. Butnotification
should be used in the JSON file. Check this answer on Stackoverflow.