react-native-google-firebaes-admob
v0.0.2
Published
- [x] ios - [ ] android
Downloads
8
Readme
react-native-google-firebase-admob
TODO
- [x] ios
- [ ] android
安装
npm install react-native-google-firebase-admob
rnpm link react-native-google-firebase-admob
集成到iOS
pod 'Firebase/Core'
pod 'Firebase/AdMob'
集成到android
添加配置
Usage
import {GADBannerView} from 'react-native-google-firebase-admob/BannerView';
<GADBannerView
bannerSize='smartBannerPortrait'
adUnitID='05e9c0888efd4f28'
/>
REFERENCE
https://github.com/sbugert/react-native-admob