fullstackreact / react-native-firestack

A firestack v3 react-native implementation
MIT License
715 stars 132 forks source link

Crash when the user is offline (wifi off) #321

Open alialamine opened 7 years ago

alialamine commented 7 years ago

The module crashes when the user is offline with the following stack trace:

Fatal Exception: java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code. at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:32) at io.fullstack.firestack.FirestackAuthModule.userExceptionCallback(FirestackAuth.java:601) at io.fullstack.firestack.FirestackAuthModule$19.onFailure(FirestackAuth.java:398) at com.google.android.gms.tasks.zzd$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:234) at android.app.ActivityThread.main(ActivityThread.java:5526) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)