mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-21 19:11:34 +08:00
``` [!] No podspec found for `RNFBConfig` in `../node_modules/@react-native-firebase/remote-config` ```
36 lines
772 B
Markdown
36 lines
772 B
Markdown
---
|
|
title: iOS Setup
|
|
description: Manually integrate Remote Config 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.
|
|
|
|
### Add the RNFBRemoteConfig Pod
|
|
|
|
Add the `RNFBRemoteConfig` Pod to your projects `/ios/Podfile`:
|
|
|
|
```ruby{3}
|
|
target 'app' do
|
|
...
|
|
pod 'RNFBRemoteConfig', :path => '../node_modules/@react-native-firebase/remote-config'
|
|
end
|
|
```
|
|
|
|
### Update Pods & rebuild the project
|
|
|
|
You may need to update your local Pods in order for the `RNFBRemoteConfig` 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
|
|
```
|