Google sign in issue on sdk 31

#1

After upgrading to sdk31, getting weird problems with google sign in. i had this code that was working fine earlier

return Google.logInAsync({
          androidClientId,
          iosClientId,
          androidStandaloneAppClientId,
          iosStandaloneAppClientId,
          scopes: ['profile', 'email']
        });

basically, behavior was set to default (which effectively web on expo client and system on standalone). but it doesn’t work on sdk 31. with this i’m getting (ios simulator)

Your app is missing support for following url schemes…

refers to iosClientId url.

if I put this for behavior property:

__DEV__ ? 'web' : 'system',

it works on iOS simulator but gives following error on android standalone

Status{statusCode=unknown status code: 12500, resolution=null}

However, if I put web it works on both places. Any idea? I prefer to use system for standalone.

thanks in advance

1 Like
#2

Hey @rajuru,

This sounds like it’s a bug rather than an implementation issue on your end. Would you mind creating an issue ticket here with all the relevant information and code you can provide?

Cheers,

Adam

#3

Sure, I’ll create an issue over github. Thanks

#4

I’m having the same issue. Apparently you have to add the reversed client Id to the Xcode project. However, expo is dealing with the Xcode side for us. So I believe, this needs to be done by them.

A detailed explanation of what needs to be done is below:
https://developers.google.com/identity/sign-in/ios/start-integrating

1 Like
closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.