v5.0.0
Breaking Changes
React Native 0.60+
Upgrade to React Native 0.60+ is required (the last version to support pre-RN 0.60 will be 4.4.0
)
Error messaging
Error messages have been updated to use consistent naming across iOS and Android #378
The errors are now as follows:
service_configuration_fetch_error
- could not fetch the service configurationauthentication_failed
- user authentication failedtoken_refresh_failed
- could not exchange the refresh token for a new JWTregistration_failed
- could not register
Issues and Bugfixes
- support Android X #328
- support autolinking on iOS #338
- upgrade AppAuth to 1.0.0 #338
- stop onActivityResult from proceeding when intent is null #352 - thanks @AlgirdasVZ 🙏
- Add podspec to published files #374 - thanks @sibelius for raising it, and @jeffreyffs for the PR!
- Fix typo #366 - thanks @JacobJaffe
- iOS 13 compatibility #386 - thank you @Mitch528
- consistent error messages across platforms #378
- TypeScript type fix #412 - thank you @henninghall 🎉
- fix iOS timeout #415 - thank you @georgeloring 🙌
- add dynamic client registration #418 - thank you @jasonpaulos 👏
- android prevent crashing with empty promise #427 - thank you @Shervanator 👍
- support basic auth header for revoke #407 - thank you @ehapmgs 💯
- update example app #432
- update Android configuration #384 - thank you @friederbluemle and @dulmandakh 🤗
- update dependencies #433
- fix basic auth header in revoke #438
- remove deprecated variable
additionalParameters
in auth response #439 - display unsuitable browser warning on Android #443