@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.
17 lines (16 loc) • 634 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config_plugins_1 = require("@expo/config-plugins");
const ios_1 = require("./ios");
/**
* A config plugin for configuring `@react-native-firebase/auth`
*/
const withRnFirebaseAuth = (config, props) => {
return (0, config_plugins_1.withPlugins)(config, [
// iOS
[ios_1.withIosCaptchaUrlTypes, props],
[ios_1.withIosCaptchaOpenUrlFix, props],
]);
};
const pak = require('@react-native-firebase/auth/package.json');
exports.default = (0, config_plugins_1.createRunOncePlugin)(withRnFirebaseAuth, pak.name, pak.version);