android-firebase-fcm-client is example for receiving push notification from firebase without showing notification popup even if the App is in the background.
It is licensed under MIT license.
applicationId "org.riversun.recvfcm"
to yours like
applicationId "org.example.yourapp"
https://console.firebase.google.com/
- This server API key is required to send notification to Android Device from your server.
- Set this server API key with FcmClient#setServerKey
- Input your app's applicationId(package name).
- After automatic download finished,
- Copy google-services.json to the RecvFcm/app/
See below.