fullstackreact/react-native-firestack

Crash when the user is offline (wifi off)

alialamine opened this issue · 0 comments

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)