An app that sends and receives messages via Firebase Cloud Messaging (FCM)
To run the app-
- Using Android Studio, import the project from GitHub using the following URL "https://github.com/minidez/fcm-test.git"
- Go to https://console.firebase.google.com, sign up and create a new app.
- In your Firebase console, click Settings > Project Settings.
- Copy the Web API key
- Set the value of the WEB_API_KEY constant in MainActivity to the value copied from your Firebase console.
- Back in your Firebase console, hit "Add Firebase to your Android app"
- Enter the package name uk.co.ianadie.fcmtest
- Enter the SHA-1 for your debug certificate (see here: http://stackoverflow.com/questions/27609442/how-to-get-the-sha1-fingerprint-certificate-in-android-studio-for-debug-mode for how to get this)
- Click Add app
- Take the google-services.json file and place it in the ./fcm-test/app directory
- Run the app