Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when user is offline. #1908

Closed
Abhimanyu14 opened this issue Jan 30, 2021 · 3 comments
Closed

Error message when user is offline. #1908

Abhimanyu14 opened this issue Jan 30, 2021 · 3 comments

Comments

@Abhimanyu14
Copy link

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:

@samtstern
Copy link
Contributor

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

@samtstern samtstern added this to the 7.1.2 milestone Feb 1, 2021
@sam-gc
Copy link
Contributor

sam-gc commented Feb 1, 2021

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

@samtstern
Copy link
Contributor

This was fixed and released in version 7.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants