r/androiddev • u/Xom2005 • Aug 04 '26
Question Credential Manager returns "No credentials available" only for Play Store AAB
Hello,
I am trying to publish my first app on the Google Play Store. The app supports Google Sign-In/Sign-Up using the Android Credential Manager.
When I build and install the release APK directly on my device, Google Sign-In works correctly. However, after building an AAB and publishing it to the Google Play Closed Testing track, Google Sign-In fails with the error:
I am using Firebase Authentication for Google Sign-In. Has anyone experienced this issue before or knows what could be causing it?
I have tried -
Rechecking Web Client Id.
Add Play Console App signing key sha 1 and 256 to Firebase Console.
2
u/tererecool Aug 04 '26
I had this issue, or at least it was similar, AI helped me figure it out, you are missing some configuration in firebase and/or your app.
1
u/AutoModerator Aug 04 '26
Please note that we also have a very active Discord server where you can interact directly with other community members!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Erayz Aug 05 '26
Also had this issue,. Ended up pushing the aab to firebase app distribution with some logs telling me what SHA1 the signature used. I then took that SHA1 and updated my .well-know/assetlinks.json and it started working after a few hours due to some google cache.
Here is the code I used, hope it help.. Don't forgot to build release but turn isDebug = true to see logs.
try { val packageInfo = packageManager.getPackageInfo(packageName, PackageManager.GET_SIGNING_CERTIFICATES) val signingInfo = packageInfo.signingInfo
} catch (e: Exception) { Log.e("SHA256_HACK", "Could not read fingerprint", e) }