-
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.jsonto the Android project app folder, and follow this guide to setup Firebase and FCM SDK -
You can use Postman to test
push notificationfollowing this article -
The
gotcha partis about AWS SNS JSON template which usesdata. Butnotificationshould be used in the JSON file. Check this answer on Stackoverflow.