• 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 a new FCM based project


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

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


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



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




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





    Additionally, we can create the project from one more section. For this, we need to click on Project Settings and scroll to the Add app section.




    Thus, the add app button will again give 3 options amongst which Android must be selected.


    add apps option2_android


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


    note: Please consult with us regarding the package name.



    Step5: When you click on the Register App button, you will be redirected to Step-2 (Copy config file). The GoogleService.json file will be downloaded automatically. This file you need to provide us.


    mobikul article



    Step6: Now you can skip the further steps and go back to general settings. Thus, the app is already added.


    added app android


    Now go to the Cloud Messaging tab.




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

    For the iOS Applications, Please check the following link





    Further Reading:



    Was this article helpful?


Leave a Comment

Your email address will not be published. Required fields are marked*


  • محمد مهدی سیف لیتکوهی
  • Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home