A React Native library that wraps FirebaseUI Authentication, providing a drop-in UI for sign-in methods (email, Google, Facebook, anonymous) on iOS and Android. Version 2.0.0 updates Android dependencies and is compatible with React Native >=0.59.0. Ships TypeScript types. Key differentiators: uses native FirebaseUI SDKs for consistent look-and-feel, supports auth state event listeners, and allows automatic upgrade of anonymous users.
npm install react-native-firebaseui-authVerified import paths — ran on the pinned version, not inferred.
Shows default import, named event emitter, provider config, and sign-in call.
Ensure your project uses compatible Firebase and AndroidX versions. Update android/build.gradle as needed.
Replace calls to `Auth.delete()` with `Auth.deleteUser()`.
Use ES import syntax: `import Auth from 'react-native-firebaseui-auth'`.
Import with `import { AuthEventEmitter, AuthEvents } from 'react-native-firebaseui-auth'`.For RN >=0.60, simply install the package; no react-native link required.
Run `npm install react-native-firebaseui-auth` or `yarn add react-native-firebaseui-auth`.
Use `import Auth from 'react-native-firebaseui-auth'` instead of `import { Auth } from ...`.Use `import { AuthEventEmitter } from 'react-native-firebaseui-auth'`.Ensure import: `import { AuthEvents } from 'react-native-firebaseui-auth'`.