Android Google or Facebook sign in not working in release mode
Here’s a quick overview
1. Release mode
2. Playstore Mode
Release Mode
First Sign your app by following these steps here
For Flutter here
run ./gradlew signingReport
output> Task :app:signingReport
Variant: debug
Config: debug
Store: ~/.android/debug.keystore
Alias: AndroidDebugKey
MD5: A5:88:41:04:8D:06:71:6D:FE:33:76:87:AC:AD:19:23
SHA1: A7:89:E5:05:C8:17:A1:22:EA:90:6E:A6:EA:A3:D4:8B:3A:30:AB:18
SHA-256: 05:A2:2C:35:EE:F2:51:23:72:4D:72:67:A5:6C:8C:58:22:2A:00:D6:DB:F6:45:D5:C1:82:D2:80:A4:69:A8:FE
Valid until: Wednesday, August 10, 2044
You can see the release config same as the debug config
Copy SHA-1 key and add in firebase project settings
For Facebook
Convert your SHA-1 to base 64. Use this site to convert here
Add in Facebook app
Playstore Mode
After publishing your app in playstore
you need to do the same steps in release mode by using the playstore signing config. You will find your app signing config under the “App signing” option
you all set to go……