Skip to content

Show user-friendly error messages for Phone Auth #791

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

Closed
samtstern opened this issue Jul 5, 2017 · 1 comment
Closed

Show user-friendly error messages for Phone Auth #791

samtstern opened this issue Jul 5, 2017 · 1 comment

Comments

@samtstern
Copy link
Contributor

In Phone Auth we are sending e.getLocalizedMessage() directly to an alert dialog:

The problem with this is that error messages from the server frankly suck. So we need to do the following:

  • Pick a set of known error codes and make human-friendly messages for them.
  • Show 'unknown error' for the rest and only log the raw message to the console.
@samtstern
Copy link
Contributor Author

The fix for this issue has been released in v2.1.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

1 participant