How to use the react-native-app-auth.prefetchConfiguration function in react-native-app-auth

To help you get started, we’ve selected a few react-native-app-auth examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zzorba / ArkhamCards / lib / auth.ts View on Github external
export function prefetch(): Promise {
  if (Platform.OS === 'android') {
    return prefetchConfiguration({
      warmAndPrefetchChrome: true,
      ...config,
    });
  }
  return Promise.resolve();
}

react-native-app-auth

React Native bridge for AppAuth for supporting any OAuth 2 provider

MIT
Latest version published 2 months ago

Package Health Score

93 / 100
Full package analysis