react-native-msal
Version:
React Native wrapper for iOS and Android
14 lines (10 loc) • 501 B
text/typescript
import { ConfigPlugin, withPlugins } from '@expo/config-plugins';
import { withAndroidReactNativeMSAL } from './withAndroidReactNativeMSAL';
import { withIosReactNativeMSAL } from './withIosReactNativeMSAL';
const withReactNativeMSAL: ConfigPlugin<{ androidPackageSignatureHash: string }> = (
config,
{ androidPackageSignatureHash }
) => {
return withPlugins(config, [[withAndroidReactNativeMSAL, androidPackageSignatureHash], withIosReactNativeMSAL]);
};
export default withReactNativeMSAL;