sunlight3d / react_native_v0.49

243 stars 318 forks source link

apiClient is null - call configure first #6

Open rangaswamy606 opened 6 years ago

rangaswamy606 commented 6 years ago

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

**

hsparihar-systango commented 5 years ago

I have the same issue. Could anyone help us?

faisal3413 commented 5 years ago

Call configure in componentDidMount

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

GoogleSignin.configure({});

schumannd commented 4 years ago

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

eramudeep commented 1 year ago

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

ttcode10 commented 1 year ago

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()

wadekar9 commented 1 year ago

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!

chauho1911 commented 1 year ago

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

samadakram commented 10 months ago

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

mbfarhanm1998 commented 6 months ago

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 :)