

To automatically link the package, rebuild your project: Requiring no further manual installation steps. Users on React Native 0.60+ automatically have access to " autolinking", Once the above steps have been completed, the React Native Firebase library must be linked to your project and your application needs to be rebuilt. Community support to help fix use_frameworks support for New Architecture is welcome! 4. New Architecture: Fabric is not compatible with use_frameworks!. To use use_frameworks with Hermes, make sure you have set static linkage with use_frameworks! :linkage => :static. Hermes: a fix was put in place in react-native release 0.69.1 that allows Hermes to work with use_frameworks!.



You need to disable Flipper by commenting out the :flipper_configuration line in your Podfile. Notes: React-Native-Firebase uses use_frameworks, which has compatibility issues with Flipper, Hermes & Fabric.įlipper: use_frameworks is not compatible with Flipper. # right after `use_frameworks! :linkage => :static` $RNFirebaseAsStaticFramework = true This requires modification to twoįirst, add the google-services plugin as a dependency inside of your /android/adle file: To allow Firebase on Android to use the credentials, the google-services plugin must be enabled on the project. Configure Firebase with Android credentials Then, you can add those keys to the 'SHA certificate fingerprints' on your app in Firebase console.ĭownload the google-services.json file and place it inside of your project at the following location: /android/app/google-services.json. You have to copy both 'SHA1' and 'SHA-256' keys that belong to the 'debugAndroidTest' variant key option. To generate a certificate run cd android &. The debug signing certificate is optional to use Firebase with your app, but is required for Dynamic Links, Invites and Phone Authentication. Local projects package name which can be found inside of the manifest tag within the /android/app/src/main/AndroidManifest.xml The "Android package name" must match your On the Firebase console, add a new Android application and enter your projects details. To allow the Android app to securely connect to your Firebase project, a configuration file must be downloaded and added # Using npm npm install -save Using Yarn yarn add module must be installed before using any other Firebase service.
