UNPKG

@react-native-firebase/auth

Version:

React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.

19 lines (15 loc) 639 B
import { ConfigPlugin, withPlugins, createRunOncePlugin } from '@expo/config-plugins'; import { withIosCaptchaUrlTypes, withIosCaptchaOpenUrlFix } from './ios'; import { PluginConfigType } from './pluginConfig'; /** * A config plugin for configuring `@react-native-firebase/auth` */ const withRnFirebaseAuth: ConfigPlugin<PluginConfigType> = (config, props) => { return withPlugins(config, [ // iOS [withIosCaptchaUrlTypes, props], [withIosCaptchaOpenUrlFix, props], ]); }; const pak = require('@react-native-firebase/auth/package.json'); export default createRunOncePlugin(withRnFirebaseAuth, pak.name, pak.version);