Reputation: 109
My Android App seems to be working fine by using code given from: google api webpage
when running in debug mode but once I generated a signed apk, and uploaded the app to the app store, the app will not log in properly. Is there any way of fixing this, or even debugging an installed app as logs will not show up in android studio? Thanks so much.
Upvotes: 1
Views: 1227
Reputation: 1220
Your app may need to get verified by Google for the signed app to work. They really do a poor job on error messages and making the documentation clear. In fact, the error message that I was receiving was not even listed on their website! https://developers.google.com/drive/api/v3/handle-errors
403 Forbidden
{
"errors" : [ {
"domain" : "usageLimits",
"reason" : "dailyLimitExceededUnreg",
"message" : "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp" : "https://code.google.com/apis/console"
} ],
"code" : 403,
"message" : "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
Upvotes: 0
Reputation: 128
I had same issue with Google Map Api... I had solve this. You have to generate sha-1 key using your keystore (this keystore use/ generate when you generate signed apk).
May be, the SHA1 currently you are using for debugging purpose .
So when you are creating a signed apk u have one kestore file. try to generate new SHA1 key with this new keaystore file.
then using this keystore file create API key for signed apk.
replace debug API key already stored in manifest file and google API console with the new one.
It will work.
thanks
Upvotes: 0