user6650650 user6650650 - 1 year ago 91
Android Question

Firebase authentication: listen for failures

I've been trying to listen fail events for user authentication. For testing purpose I closed my internet connection and try to sign up. Neither

invokes. So how do you guys listen for failed events?

Answer Source

Firebase doesn't response listener when no internet, for check internet connection you can do it programmatically

    // Authentication with Firebase
    //Display message/aleart "No internet connection" to user

To check isNetworkAvailable(), please see HERE

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download