f-miyu / Plugin.FirebaseAuth

MIT License
61 stars 26 forks source link

App freezes when there is a user authenticated and the network is down #9

Open guillermo-gerard opened 5 years ago

guillermo-gerard commented 5 years ago

Steps to reproduce: -Start with the emulator or physical device connected -Authenticate a user (I'm using a custom token) -At this point I'm setting listeners to firestore (maybe related?) -Turn on airplane mode -An exception arises -> SocketException sometimes, or else this one: Java.Lang.NoClassDefFoundError: 'Failed resolution of: Lcom/google/devtools/build/android/desugar/runtime/ThrowableExtension;' And the app freezes

This doesn't happen if you reproduce the steps starting in airplane mode I'm using Firestore and Storage as well

Any ideas? Somebody else experiencing the same issue?