forked from FormidableLabs/react-native-app-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (Android) Correctly parse AuthorizationException type other to ja…
…vascript side (FormidableLabs#646) AuthorizationExceptions from non standard oauth errors for example when the server returns a custom response do not have a exception.getLocalizedMessage() but only put the server response in exeption.error. With this fix, the Error object on the javascript is equal for iOS and Android. Co-authored-by: Bob Smits <bob.smits@weareyou.com>
- Loading branch information
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters