Hi,
I understand that Google Sign-In is working in debug mode but not in the release APK. This issue occurs because the SHA keys used for authentication in Firebase are different for debug and release versions.
1️⃣ Upload Your App to the Play Store (Even in Internal Testing)
2️⃣ Find and Add These SHA Keys in Firebase
3️⃣ Download and Replace google-services.json
google-services.json file from Firebase.google-services.json file in your Flutter app.4️⃣ Rebuild and Test
Since your app is not yet on the Play Store, Google cannot verify the SHA keys for the release build, causing Google Sign-In to fail. Once you complete the above steps, it should work fine.
Let me know if you need any help with this setup! 😊
Regards,
Mr. Priyank
Sure I did that yesterday...
Actually when i run Debug console from my phone from VSCode the Google signin works but when I release apk and run from my phone the google sign in doesnt work again..
Its so weird..
Whether you're troubleshooting an issue or looking for step-by-step guidance, our resources are designed to empower you with the knowledge you need
You have not purchased the Blaze Plan yet.
06_03_2025_20_67c9311e318f3.png
Regards,
Mr. Priyank