Push Notifications via FCM
Setup:
- Clone the repository. Type
git clone https://github.com/pfieffer/FCMtest.git
in your terminal or git bash. - Obtain
google-services.json
file from https://console.firebase.google.com and paste it inapp/
folder. - Run the project in android studio.
The screenshot of sending the push notification from Firebase Console:
The screenshot on Samsung galaxy Duos (Android version 4):