"bundleID" wants to use "google.com" to sign in

Please provide the following:

  1. SDK Version: 43
  2. Platforms(Android/iOS/web/all): iOS

Hi everybody,
I searched around quite a bit, but couldn’t find anything that would help me.
My question is quite straightforward:
How can I change dev in this screenshot to a name of my choosing when the user signs in via Google Sign-In?

I realized that Expo is taking the last part of the bundleID to use as the name here. In my case I used com.company.project.dev. I can’t change the bundleID since this has been fixed.

It is showing up when using expo run:ios locally but also in the built and uploaded app installed via Testflight (in this case it shows google.com instead of expo.io)

I am using the package "expo-auth-session": "~3.4.1" like this:

  const [request, response, promptAsync] = Google.useIdTokenAuthRequest(
    {
      clientId: Constants.manifest?.extra?.GOOGLE_CLIENT_ID_WEB,
      expoClientId: Constants.manifest?.extra?.GOOGLE_CLIENT_ID_EXPO_GO,
      iosClientId: Constants.manifest?.extra?.GOOGLE_CLIENT_ID_IOS,
      androidClientId: Constants.manifest?.extra?.GOOGLE_CLIENT_ID_ANDROID,
      webClientId: Constants.manifest?.extra?.GOOGLE_CLIENT_ID_WEB,
      scopes: ['profile', 'email'],
      redirectUri: 'https://auth.expo.io/@company/project',
    },
    Constants.manifest?.extra?.STAGE === 'develop'
      ? {
          useProxy: true,
        }
      : {}
  );

I also noticed that when clicking on Google Sign-In the log shows:

[AXRuntime] Unknown client: dev

So is there another way of changing that name?
Looking forward to your help!

Regards,
Okamikun

Seems I resolved it.
The trick is to set the app name in app.config.js under ios.infoPlist.CFBundleName like so:

ios: {
    bundleIdentifier: 'com.company.project.dev',
    infoPlist: {
      CFBundleName: 'AppName',
    },
  },

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