Navigation

Wednesday 15 July 2020

Android - Get the Google Services Json



Step 1: To get google services json, you have to visit console.firebase.google.com and sign in to Firebase, then create your project as shown i.e 'Push-Notify'.



Step 2: Click , then select Project settings.




Step 3: Choose android icon to register the android app.



Step 4: Register the app with its default name io.ionic.start, that is present in the ionic app config.xml file as shown in the image.
Note: Android package name should be an ionic widget id name as shown.




   Step 5: Download the google-service.json file and complete the step as shown in the image.




Step 6: You can skip this step by clicking the link button 'skip this step'.


Step 7: Now you have the service file, that can be used in the ionic project.


You can get  Sender ID and Server Key, at the Cloud Messaging tab.


No comments:

Post a Comment