mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-11 11:29:13 +08:00
768 B
768 B
title, description
| title | description |
|---|---|
| iOS Setup | Manually integrate AdMob into your iOS application. |
iOS Manual Installation
The following steps are only required if you are using React Native <= 0.59 or need to manually integrate the library.
CocoaPods Installation
Add the RNFBAdMob Pod
Add the RNFBAdMob Pod to your projects /ios/Podfile:
target 'app' do
...
pod 'RNFBAdMob', :path => '../node_modules/@react-native-firebase/admob'
end
Update Pods & rebuild the project
You may need to update your local Pods in order for the RNFBAdMob 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