Firebaseui-android: Error message when user is offline.

Created on 30 Jan 2021  路  2Comments  路  Source: firebase/FirebaseUI-Android

Step 1: Are you in the right place?

Yes

Step 2: Describe your environment

  • Android device: Redmi Note 5
  • Android OS version: 8.1.0
  • Google Play Services version: 20.50.16 (On test device)
  • Firebase/Play Services SDK version:
  • FirebaseUI version: 7.1.1

Step 3: Describe the problem:

Authentication error when the user is offline is not user-friendly.
The technical details can be abstracted for the end user.

Steps to reproduce:

  1. Try authenticating when the device is offline,

Observed Results:

Error message:
"An internal error has occurred. [Unable to resolve host "www.googleapis.com": No address associated with hostname ]"

Offline_error_message 1

Expected Results:

A much more user-friendly message to denote that the user is offline.

Relevant Code:

auth bug

All 2 comments

@Abhimanyu14 thanks for reporting! Agree, we should make this much friendlier.

@samtstern I created a bug to track this internally as well (b/179035604)

Was this page helpful?
0 / 5 - 0 ratings