The Wayback Machine - https://web.archive.org/web/20200914095658/https://github.com/fullstackreact/react-native-firestack/pull/289
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

Prevent crash on error#localizedFailureReason #289

Open
wants to merge 1 commit into
base: master
from

Conversation

@mikemonteith
Copy link

mikemonteith commented Feb 15, 2017

Fixes #256

@ghuh

This comment has been minimized.

Copy link

ghuh commented on ed04e4b Feb 14, 2017

This change is correct according to https://firebase.google.com/docs/auth/ios/errors. NSLocalizedDescriptionKey (i.e. localizedDescription) is set for all NSError. NSLocalizedFailureReasonErrorKey (i.e. localizedFailureReason) is only set for certain errors and none of the errors for getTokenWithCompletion set it.

I'm convinced we can close out fullstackreact#256 when this gets merged.

This comment has been minimized.

Copy link

ghuh replied Feb 14, 2017

Also worth noting that this change has already been made in v3

@alexkendall
Copy link

alexkendall commented Mar 12, 2017

Any idea when this might get merged in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.