@@ -9,7 +9,7 @@ const withIosUrlScheme = (config) => {
99 }
1010 const QUERY_SCHEMES = [ 'msauthv2' , 'msauthv3' ] ;
1111 const URL_SCHEME = { CFBundleURLSchemes : [ `msauth.${ config . ios . bundleIdentifier } ` ] } ;
12- return config_plugins_1 . withInfoPlist ( config , ( mod ) => {
12+ return ( 0 , config_plugins_1 . withInfoPlist ) ( config , ( mod ) => {
1313 var _a ;
1414 mod . modResults . CFBundleURLTypes = [ URL_SCHEME , ...( mod . modResults . CFBundleURLTypes || [ ] ) ] ;
1515 mod . modResults . LSApplicationQueriesSchemes = [
@@ -20,14 +20,14 @@ const withIosUrlScheme = (config) => {
2020} ;
2121const withIosKeychainGroup = ( config ) => {
2222 const KEYCHAIN_GROUP = '$(AppIdentifierPrefix)com.microsoft.adalcache' ;
23- return config_plugins_1 . withEntitlementsPlist ( config , ( mod ) => {
23+ return ( 0 , config_plugins_1 . withEntitlementsPlist ) ( config , ( mod ) => {
2424 const existingAccessGroups = ( mod . modResults [ 'keychain-access-groups' ] || [ ] ) ;
2525 mod . modResults [ 'keychain-access-groups' ] = [ ...new Set ( existingAccessGroups . concat ( KEYCHAIN_GROUP ) ) ] ;
2626 return mod ;
2727 } ) ;
2828} ;
2929const withAppDelegateConfig = ( config ) => {
30- return config_plugins_1 . withAppDelegate ( config , ( mod ) => {
30+ return ( 0 , config_plugins_1 . withAppDelegate ) ( config , ( mod ) => {
3131 if ( mod . modResults . language === 'objc' ) {
3232 mod . modResults . contents = setAppDelegate ( mod . modResults . contents ) ;
3333 }
@@ -55,6 +55,6 @@ function setAppDelegate(appDelegate) {
5555 return appDelegate ;
5656}
5757const withIosReactNativeMSAL = ( config ) => {
58- return config_plugins_1 . withPlugins ( config , [ withIosUrlScheme , withIosKeychainGroup , withAppDelegateConfig ] ) ;
58+ return ( 0 , config_plugins_1 . withPlugins ) ( config , [ withIosUrlScheme , withIosKeychainGroup , withAppDelegateConfig ] ) ;
5959} ;
6060exports . withIosReactNativeMSAL = withIosReactNativeMSAL ;
0 commit comments