title: expo-google-sign-in is not supported in the Expo Client because a custom URL scheme is required at build time
body: <p>Recently I'm trying to build a react-native App. In the current stage of development, I'm adding the google authentication and I'm struggling a lot to do it.</p>
  <p>I follow these steps:
  0 - I configure my credentials on Google Cloud Platform</p>
  <p>1 - I follow the instructions on how to install and set up GoogleSignIn on expo documentation:
  <a href="https://docs.expo.io/versions/latest/sdk/google-sign-in/" rel="nofollow noreferrer">https://docs.expo.io/versions/latest/sdk/google-sign-in/</a>
  Then I get the following result:</p>
  <pre><code>```
  import React, { createContext, ReactNode, useContext, useState } from 'react';
  import * as GoogleSignIn from 'expo-google-sign-in';
  
  import { Alert, Platform} from 'react-native';
  
  interface AuthProviderProps{
      children: ReactNode;
  }
  interface IAuthContextData{
      user: User;
      signInWithGoogle(): Promise&lt;void&gt;;
  }
  interface User{
      id: string;
      name: string;
      email: string;
      photo?: string;
  }
  interface googleUser{
      user: GoogleSignIn.GoogleUser | null;
  }
  export const AuthContext = createContext({} as IAuthContextData)
  
  function AuthProvider({ children }:AuthProviderProps ){
      const [user, setUser] = useState&lt;User&gt;({} as User);
      //  const user: User = {
      //     id: '12123',
      //     name: 'Lucas Vital',
      //     email: 'lucasvittal@gmail.com',
      // }
   
      
      async function initAsync(){
          
          const androidClientId = '1031429828207-cguo5pnf25k5ugcbkemol6bvfcpdqf17.apps.googleusercontent.com';
          const IosClientId = '1031429828207-pvmc17np19068l1pfrof5tqvkpo2o1pi.apps.googleusercontent.com';
          
          console.log(Platform.OS === 'android'? androidClientId: IosClientId)
          await GoogleSignIn.initAsync({
              clientId: Platform.OS === 'android'? androidClientId: IosClientId,
              
              
          });
          syncWithStateAsync();
      }
      async function syncWithStateAsync(){
          const user = await GoogleSignIn.signInSilentlyAsync();
          const userLogged: User = {
              id: String( user?.uid),
              email: String(user?.email),
              name: String(user?.displayName),
              photo: user?.photoURL
          }
          setUser(userLogged);
      }
      async function signInWithGoogle(){
          try{
              await initAsync();// !!!
              await GoogleSignIn.askForPlayServicesAsync();
              const { type, user} = await GoogleSignIn.signInAsync();
              if( type === 'success'){
                  syncWithStateAsync();
              }
          }catch(error){
              throw(error);
          }
      }
  
      async function signOutWithGoogle() {
          await GoogleSignIn.signOutAsync();
          setUser({} as User);
          
      }
      
      return(
      &lt;AuthContext.Provider value = {{
          user,
          signInWithGoogle
          }}&gt;
          { children }
      &lt;/AuthContext.Provider&gt;
      );
  }
  function useAuth(){
      const context = useContext(AuthContext)
      return context;
  }
  export {AuthProvider, useAuth}
      ```
  </code></pre>
  <p>I run at the first time, and I got the following log console:</p>
  <p><strong>expo-google-sign-in is not supported in the Expo Client because a custom URL scheme is required at build time. Please refer to the docs for usage outside of Expo <a href="http://www.npmjs.com/package/expo-google-sign-in" rel="nofollow noreferrer">www.npmjs.com/package/expo-google-sign-in</a></strong></p>
  <p>ok, (3) So  I suppose that there was some missing configuration, and I went to GoogleSign gitHub and I perform some configurations:</p>
  <p><a href="https://github.com/react-native-google-signin/google-signin/blob/master/docs/android-guide.md" rel="nofollow noreferrer">https://github.com/react-native-google-signin/google-signin/blob/master/docs/android-guide.md</a></p>
  <p>I followed all the necessary steps and got the same log, Could someone help me?
  I don't what else I can do to solve this problem.</p>
  <p>If someone want see the complete app to understand better or perform some test, the complete application is all on this github link:</p>
  <p><a href="https://github.com/lucasvittal2/goFinances-app-rn" rel="nofollow noreferrer">The repository of my App</a></p>