Google.logInAsync does nothing

Please provide the following:

  1. SDK Version: 38.08
  2. Platforms(Android/iOS/web/all): iOS and Android
  • I am using the expo client on iOS for testing.

  • I added OAuth 2.0 Client IDs from Google APIs.

The Google.logInAsync function does nothing.

Here’s a snippet of my code :
Note : In the actual implementation I replaced iOSCLIENTID and androidCLIENTID with the actual IDs

async function signInWithGoogleAsync() {
    try {
      const result = await Google.logInAsync({
        androidClientId: androidCLIENTID,
        behavior: "web",
        iosClientId: iOSCLIENTID,
        scopes: ["profile", "email"],
      if (result.type === "success") {
        return result.accessToken;
      } else {
        return { cancelled: true };
    } catch (e) {
      return { error: true };

Any help is much appreciated.
Thank you very much,


Sorry it was a silly mistake on my end. I forgot to pass the client IDs as type string.

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