ios
Last updated
Was this helpful?
Last updated
Was this helpful?
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:
Within your existing didFinishLaunchingWithOptions
method, add the following to the top of the method:
2. Altering CocoaPods to use frameworks
Open the file ./ios/Podfile
and add this line inside your targets:
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:
next you must cd ios and pod install
and then cd ..
npm run ios