Files
react-native-firebase/docs/firestore/ios.md
2019-10-03 14:09:09 +01:00

785 B

title, description
title description
iOS Setup Manually integrate Cloud Firestore into your iOS application.

iOS Manual Linking

The following steps are only required if your environment does not have access to React Native auto-linking.

CocoaPods Installation

Add the RNFBFirestore Pod

Add the RNFBFirestore Pod to your projects /ios/Podfile:

target 'app' do
  ...
  pod 'RNFBFirestore', :path => '../node_modules/@react-native-firebase/firestore'
end

Update Pods & rebuild the project

You may need to update your local Pods in order for the RNFBFirestore Pod to be installed in your project:

$ cd /ios/
$ pod install --repo-update

Once the Pods have installed locally, rebuild your iOS project:

npx react-native run-ios