This repository was archived by the owner on May 20, 2022. It is now read-only.
v4.0.0
4.0.0 (2021-10-28)
Please see the CHANGELOG for instructions on migrating from v3. Thanks for using react-native-msal!
Bug Fixes
- default broker_redirect_uri_registered to false (2c87f0b)
- android: add permissions in library so user doesn't have to (872f223)
- android: check for nulls (8cb65db)
- android: fix using wrong matcher (ca7bc12)
- android: make sure the provided authority makes it in the authority list (50c7d3c)
- example: fix android example (0820270)
- expo: add AppDelegate changes to ios config plugin (df66e7e)
- expo: improve AppDelegate plugin (31b2bab)
- expo: improve expo plugin (eb2de18)
- expo: use package name in msauth url scheme directly (b08f78f)
- export PublicClientAppliation class again, remove createPublicClientApplication function (dc5c4ae)
- tests import (f29f4da)
- expo: improve AppDelegate plugin (6e72a1a)
- ios: check for nils (8fd2538)
- publish: npmignore files (cd1737b)
Code Refactoring
Features
-
create PCA with async function instead of class constructor (087a7e7)
-
android: remove need for msal_config.json file (c4f1f21), closes #72
-
expo: add expo config plugin (77ef5df)
-
chore(deps)!: upgrade MSAL Android to 2.1.+ (d267ea9)
-
feat(android)!: configure android options in code (ca145aa)
-
fix!: some methods on PCA can return
undefined(a80b7f2)
Performance Improvements
- remove unncessary files, reducing package size (9d2a78d)
BREAKING CHANGES
- remove nested config plugin params
- expo: expo config plugin parameters have changed
- createPublicClientApplication function no longer exported
- PublicClientApplication class no longer exported
- requires users to add maven url dependency to their app
- msal_config.json is ignored; all options are passed through PCA constructor
acquireToken/SilentandgetAccountmay returnPromise<undefined>