mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-13 22:44:11 +08:00
751 B
751 B
title, description
| title | description |
|---|---|
| iOS Setup | Manually integrate Instance ID 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 RNFBIid Pod
Add the RNFBIid Pod to your projects /ios/Podfile:
target 'app' do
...
pod 'RNFBIid', :path => '../node_modules/@react-native-firebase/iid'
end
Update Pods & rebuild the project
You may need to update your local Pods in order for the RNFBIid 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