mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-21 19:11:34 +08:00
* Update firestore android and ios docs * Update manual integration alert * add multidex complete setup docs * Update docs/firestore/android.md * Update docs/firestore/android.md * Update docs/firestore/ios.md * Update docs/firestore/ios.md * Update docs/firestore/ios.md * Update docs/firestore/android.md Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
37 lines
861 B
Markdown
37 lines
861 B
Markdown
---
|
|
title: Cloud Firestore iOS Integration
|
|
description: 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 (<= 0.59) or you need to manually integrate the library.
|
|
|
|
## CocoaPods Installation
|
|
|
|
### Add the RNFBFirestore Pod
|
|
|
|
Add the `RNFBFirestore` Pod to your projects `/ios/Podfile`:
|
|
|
|
```ruby{3}
|
|
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:
|
|
|
|
```bash
|
|
$ cd /ios/
|
|
$ pod install --repo-update
|
|
```
|
|
|
|
Once the Pods have installed locally, rebuild your iOS project:
|
|
|
|
```bash
|
|
npx react-native run-ios
|
|
```
|