Google Login and Standalone apk build


#1

Hello,

I am using expo’s google login successfully in standalone build for iOS. I followed every step three times already, but couldn’t make it work on standalone apk file on android. Of course, it is working in expo itself. What happens is that I click google login button, it opens system account chooser, but after choosing account, it just goes back like the auth is wrong or like that cancel is pressed.

And also, this is what I get from logs:
W/Auth ( 1194): [GetToken] GetToken failed with status code: INVALID_AUDIENCE
E/TokenRequestor( 1472): You have wrong OAuth2 related configurations, please check. Detailed error: INVALID_AUDIENCE

I have googled for this INVALID_AUDIENCE, but no luck.

Any ideas what can cause this?