Hi everyone.
I decided to give up for now.
I'm talking about the google login issue where the "No credential available" error keeps occurring only when testing the release aab file internally through the Google Play Console on firebase. It works fine in Emulator
However, I thought it was necessary to organize and document what I’ve been through before giving up, so I’m writing this.
These are the methods I have tried so far. Of course, in the end, they all failed.
- I tried adding only part of the SHA-1 and SHA-256 of the classical key, PQC, and upload key from the Google Play Console, and even the full list, to Firebase, and each time I downloaded google-services.json, cleaned the project, and waited, but all attempts failed
- I checked everything because they said the cause might be Google Cloud, but all attempts failed
- It could be the web-client, so I checked everything, but all attempts failed.
- The cause may also be in the proguard-rules.pro fileI also tried -keep class com.google..., but all of them failed
- I also checked the web client ID for setServerClientId, but it all failed
- I ran setFilterByAuthorizedAccounts with both true and false, but it failed in both cases.
- I also used apksigner in the release app to find the actual SHA-1 value and add them to Firebase, but that also failed. However, the part to note here is that the SHA-1 value actually used was different from any other value, such as the classical key, PQC key, or others. Using this value prevents the "no credential available" error and even brings up a popup to select a Google account, but after that, the app freezes for unknown reasons.
- Each time I tried the methods above, I downloaded the google-services.json file and waited long enough, but all attempts failed.
I've been struggling with this for two months now. For now, I’m going to give up and switch back to the old Google login method.
If there is anything I haven't considered, please let me know. I'll try it later. Have a great day
submitted by /u/Ok_Distribution8251[link] [comments]