![]() 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. Manifest tag within the /android/app/src/main/AndroidManifest.xml file within your project for projects using android gradle plugin v7 and below Local projects package name which can be found inside of the namespace field in /android/app/adle, or in the 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. Install the React Native Firebase "app" module to the root of your React Native project with NPM or Yarn: Installing React Native Firebase to a RN CLI project requires a few steps installing the NPM module, adding the Firebase config files &įor projects using Expo, see this section below. Installation for React Native CLI projects React Native - Setting up the development environmentĪdditionally, current versions of firebase-ios-sdk have a minimum Xcode requirement of 14.1, which implies a minimum macOS version of 12.5 (macOS Monterey).If you do not meet these prerequisites, follow the links below: Prerequisitesīefore getting started, the documentation assumes you are able to create a project with React Native and that you have an active Firebase project. React Native Firebase fully supports React Native apps built using React Native CLI or using Expo. ![]() React Native Firebase is the officially recommended collection of packages that brings React Native support for all Firebase services on both Android and iOS apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |