Get started with Firebridge on React.
FirebridgeProvider
. This allows us to track the auth state and provide it to the rest of the app.
Since Firebase for the web uses a modular SDK, you’ll need to provide the auth instance to the provider. Generally, this will be done in a separate file, but we’ve included it here for completeness. On native, the auth instance is not needed since one is provided by react-native-firebase
. Simply wrapping the app in the provider is enough.