mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-04 09:28:03 +08:00
829 B
829 B
title, description, next, previous
| title | description | next | previous |
|---|---|---|---|
| iOS Setup | Manually integrate Cloud Functions into your iOS application. | /functions/usage/installation/android | /functions/usage |
iOS Manual Linking
The following steps are only required if your environment does not have access to React Native auto-linking.
1. Add the RNFBFunctions Pod
Add the RNFBFunctions Pod to your projects /ios/Podfile:
target 'app' do
# ...
pod 'RNFBFunctions', :path => '../node_modules/@react-native-firebase/functions'
end
2. Update Pods & rebuild the project
You may need to update your local Pods in order for the RNFBFunctions 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