sunlight3d/react_native_v0.49

apiClient is null - call configure first

rangaswamy606 opened this issue ยท 9 comments

Hi I am integrating the react-google-signin in our project but i am getting I/ReactNativeJS: Login fail with error: Error: apiClient is null - call configure first issue in logcat, i am unable to fix the issue Could you please help me on it ?.

Error: ### **

I/ReactNativeJS: Login fail with error: Error: apiClient is null

**

I have the same issue. Could anyone help us?

Call configure in componentDidMount

import { GoogleSignin, statusCodes } from 'react-native-google-signin';

GoogleSignin.configure({});

@faisal3413 already doing that. Did anyone find a different cause?

I'm getting "A non-recoverable sign in failure occurred" :(

I had this issue when sign out. So if you have GoogleSignin.configure({...}) before GoogleSignin.signIn(), make sure you call GoogleSignin.configure({...}) again before GoogleSignin.signOut()

I had this issue when sign out. So if you have GoogleSignin.configure({...}) before GoogleSignin.signIn(), make sure you call GoogleSignin.configure({...}) again before GoogleSignin.signOut()

Worked for me!

I had this issue when sign out. So if you have GoogleSignin.configure({...}) before GoogleSignin.signIn(), make sure you call GoogleSignin.configure({...}) again before GoogleSignin.signOut()

I finally found the fix, thank you so muchhhhh

I had this issue when sign out. So if you have GoogleSignin.configure({...}) before GoogleSignin.signIn(), make sure you call GoogleSignin.configure({...}) again before GoogleSignin.signOut()

Worked for me! Thank you soo much

I had this issue when sign out. So if you have GoogleSignin.configure({...}) before GoogleSignin.signIn(), make sure you call GoogleSignin.configure({...}) again before GoogleSignin.signOut()

Worked for me as well :)