Documentation Updates

This commit is contained in:
ehesp
2019-09-21 18:09:31 +01:00
parent 032c1b9847
commit 4226e0b569
23 changed files with 518 additions and 76 deletions

View File

@@ -10,18 +10,30 @@ description: Manually integrate Realtime Database into your iOS application.
> The following steps are only required if your environment does not have access to React Native
> auto-linking.
#### Add Realtime Database Pod
## CocoaPods Installation
**`ios/Podfile`**:
### Add the RNFBAnalytics Pod
```ruby{4}
// ..
Add the `RNFBDatabase` Pod to your projects `/ios/Podfile`:
```ruby{3}
target 'app' do
// ..
...
pod 'RNFBDatabase', :path => '../node_modules/@react-native-firebase/database/ios'
end
```
## Manual iOS Integration via Frameworks
### Update Pods & rebuild the project
_TODO_
You may need to update your local Pods in order for the `RNFBDatabase` 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
react-native run-ios
```