Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a project on Firebase console
    1. Choose 'Add Firebase to Android app'
    2. In the Firebase console, the package name should be the same as application id in build.grade
  2. The Firebase console creates a google-services.json file and downloads it to your default Downloads folder. Drag the downloaded google-services.json file to your Android project (as documented in https://developers.google.com/cloud-messaging/android/client)
  3. Add the sender id to build.gradle of the app
    1. defaultConfig {
          resValue 'string''GCMSenderId''\"YOURSENDERIDHERE\"'}
  4. In the MAAS portal, for the newly created Android app, replace the API Key and sender id with the values for ServerKey and SenderId on the Firebase console (under CloudMessaging section)

 

 

 

...

Content by Label
showLabelsfalse
max5
spacesDD
sortmodified
showSpacefalse
reversetrue
typepage
labelsAndroid Configuration

...