Firebase authentication timeout

I am developing an Android app with Firebase. The email and password login process works fine if the device has a good internet connection, but when I do the test in a bad signal location or with a slow connection, the process stays waiting for a long time. the question is, is there any way to set a timeout for firebase authentication ?, the delay is not good for the user. I solved it with an Asynctask issued when the login button was pressed, this Asynctask waits eight seconds and shows a message to the user with the message: the connection is slow, you can wait or quit and try it later, but I think this is the best way with a timeout ...

+3
android timeout firebase-authentication


source to share


No one has answered this question yet

Check out similar questions:

804
How do I dispatch a Redux action with a timeout?
687
Android error: Failed to install * .apk on device *: timeout
6
Firebase manages multiple auth providers
3
Ionic: authentication not persisting when merging with firebase v3
2
Is there a way to customize firebase timeout time?
2
Firebase secondary authentication with phone number
1
How to implement timeouts for authenticated firebase email logins?
0
Firebase auth with NPE email and password
-1
Firebase Authentication



All Articles
Loading...
X
Show
Funny
Dev
Pics