-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update google-services.json doesn't update the app #144
Comments
I had the same issue and followed your steps. It worked. Thank you. I was getting frustrated. |
@Ivy-Walobwa Glad it worked for you. Shame that this 6 month old bug has not even had a triage comment added to it. |
When you manually remove that information, what file are you removing that information from? I'm in the android studio and I don't see |
It's under build/app/.... Instead you could run flutter clean |
I just had Exactly same problem, I uploaded the app on play store with a new firebase project (separate from development project). I thought just replacing google-services.json will do, but I was scratching my head why google sign in is not working even after adding the sha keys from play console. Turns out I added the SHA keys to the firebase project which was not even being used. Had to flutter clean for the change to take effect |
Facing the same issue I Had to remove manually remove: app/build/generated/res/google-services/debug/values/values.xml |
Thanks. flutter clean command work for me. |
I deleted the complete build folder:- app/build Delete old google-services.json file from these locations:- Then add a new google-services.json file under app/ |
app/build/generated/res/google-services/debug/values/values.xml Thank you, this helped me. |
It is absolutely insane that it has been over a year and this has not been properly addressed. |
Just had to deal with this same issue. A simple clean was able to resolve it fortunately. Firebase Auth UI, Crashlytics, Analytics, none of it was working and this fixed it all in one go. |
Worked great! Thank you very much! |
Thanks Man.I Was getting error that the firebase url is not set to the proper location, even though I updated the google-services.json file. Finally was able to retrieve data from the firebase database. |
Omg, I was getting crazy with that issue, thinking I did something wrong, but it was a Firebase problem 🤦 |
Bro you saved me ! thank you |
You save my day . love u |
In my case these files didn't exist
So i ran |
Describe the bug
When I update
google-services.json
and then rebuild/install my app, the google services values in my app are not updated to reflect thegoogle-services.json
changes.I have to manually remove:
in order to see the updated values.
To Reproduce
Steps to reproduce the behavior:
Probably pretty obvious.
Expected behavior
If I update
google-services.json
the next build of my app should include the changed values.Screenshots
N/A
Desktop (please complete the following information):
Additional context
My particular case here is that if my firebase application ID is updated in
google-services.json
,./gradlew install[Debug]
does not update the application ID in the app.The text was updated successfully, but these errors were encountered: