ios
integrate firebase ios

create app in firebase project
next step set the name your app firebase
step 2 download the file

Move the file to folder ios project

how to configure firebase to ios
Configure Firebase with iOS credentials
To allow Firebase on iOS to use the credentials, the Firebase iOS SDK must be configured during the bootstrap phase of your application.
To do this, open your /ios/{projectName}/AppDelegate.m
file, and add the following:
At the top of the file, import the Firebase SDK:
#import <Firebase.h>
Within your existing didFinishLaunchingWithOptions
method, add the following to the top of the method:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Add me --- \/
[FIRApp configure];
// Add me --- /\
// ...
}


2. Altering CocoaPods to use frameworks
Open the file ./ios/Podfile
and add this line inside your targets:
use_frameworks!

To use Static Frameworks on iOS, you also need to manually enable this for the project with the following global to the top of your /ios/Podfile
file:
$RNFirebaseAsStaticFramework = true

next you must cd ios and pod install

and then cd ..
npm run ios
Last updated
Was this helpful?