react-native-msal2 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,8 +19,8 @@ android {
19
19
  namespace 'com.reactnativemsal'
20
20
  compileSdkVersion 33
21
21
  defaultConfig {
22
- minSdkVersion safeExtGet('Msal_minSdkVersion', 21)
23
- targetSdkVersion safeExtGet('Msal_targetSdkVersion', 33)
22
+ minSdkVersion safeExtGet('minSdkVersion', 21)
23
+ targetSdkVersion safeExtGet('targetSdkVersion', 33)
24
24
  versionCode 1
25
25
  versionName "1.0"
26
26
  }
File without changes
package/ios/RNMSAL.m CHANGED
@@ -58,6 +58,9 @@ RCT_REMAP_METHOD(createPublicClientApplication,
58
58
  applicationConfig.redirectUri = redirectUri;
59
59
  }
60
60
 
61
+ //
62
+ NSBundle *mainBundle = [NSBundle mainBundle];
63
+ applicationConfig.cacheConfig.keychainSharingGroup = mainBundle.bundleIdentifier;
61
64
  application = [[MSALPublicClientApplication alloc] initWithConfiguration:applicationConfig error:&msalError];
62
65
 
63
66
  if (msalError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-msal2",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "license": "MIT",
5
5
  "description": "MSAL React Native wrapper for iOS and Android",
6
6
  "homepage": "https://github.com/bittu/react-native-msal2#readme",