Skip to content Skip to sidebar Skip to footer

Google-services.json - Changed Package_name - Do I Need To Create A New Configuration File

My current environemnt already has a google-services.json file and everything works. But now due to unforeseen circumstance i must rename the package of my project. I have succes

Solution 1:

Changing the package name in the google-services.json file will not work as it does not act as an update mechanism of any sort but merely a repository of data to be used during services instance establishment.

Yes, it is necessary to create a new configuration file by creating a new application or by deleting the current application in the console you can re-use the application name originally used. This is because each google services instance are generated specifically for a particular application tied to the package name with specific identifiers. So it is an absolute necessity to create a new application and use the google-services.json file from that application settings.

Solution 2:

It worked for me by just renaming the package from the googleservices.json file.

Solution 3:

We need add an app in firebase-console inside the project with new package name and then download and replace that json in the project directory.

Worked for me!

Post a Comment for "Google-services.json - Changed Package_name - Do I Need To Create A New Configuration File"