• 7 Likes

    Generating google-service file to enable FCM(Firebase cloud messaging) in the android application

    Firebase Cloud Messaging (FCM) is a cross-platform messaging solution that lets you reliably deliver messages at no cost. It is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features!

     

    1. Generate google-service.json file of FCM for existing GCM service
    2. Generating a new google-service.json file for new FCM based project

     Note: Please follows steps mentioned in the Generating a new google-service.json file for new FCM based project. 

     

    Generate google-service.json file of FCM for existing GCM service

    Step1: Goto https://console.firebase.google.com/  and Select IMPORT GOOGLE PROJECT for migrating to FCM from GCM.

    1

     

    Step2: Select your project and country/region from the list of existing google project. And select ADD FIREBASE.

     

    2

     

    Step3: Your application will now be imported on the Firebase dashboard. Select Manage to manage a particular app.

    3
    Step4: Select google-service.json to download the file of your app.

    4

     

    Generating a new google-service.json file for new FCM based project

    Step1:  Select CREATE NEW PROJECT from https://console.firebase.google.com/

    1

     

    Step2: Use your app name as a project name and select country region and then select CREAT PROJECT.

    2

     

    Step3: Select Add FireBase to your Android app for Android users

    3


    Step4: Add package name of the application and create ADD App.

    note: google-service.json will be automatically start downloading on clicking ADD APP.

    note: Please consult with us regarding the package name.


    4

    Step5: Finally your file has been downloaded automatically.

    5

     

    Step6: Additionally, Visit cloud messaging under project setting TAB to get Server key.

    Screenshot from 2016-07-29 17:19:59

     

     

    Please share the Legacy server key or server key value obtained in this step with us.

    For iOS Application, Please check the following link

    Sources:

    https://firebase.google.com/docs/cloud-messaging/

    https://developers.google.com/cloud-messaging/android/android-migrate-fcm

     

    Further Reading:

    https://developers.google.com/cloud-messaging/faq

     

    Really this article is helpful?

    YESNO
    Let's make it better now!

Comment

Add Your Comment

Be the first to comment.

css.php