Install The Package
All of the Firebridge packages are available on npm. You can install them with your package manager of choice.Wrap Your Application
You’ll need to wrap your project in aFirebridgeProvider
. 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.