mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-30 13:12:36 +08:00
@@ -18,7 +18,7 @@ of the method is the "Ad Unit ID". For testing, we can use a Test ID, however fo
|
|||||||
Google AdMob dashboard under "Ad units" should be used:
|
Google AdMob dashboard under "Ad units" should be used:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { InterstitialAd, TestIds } from '@react-native-firebase/admob';
|
import { InterstitialAd, TestIds, AdEventType } from '@react-native-firebase/admob';
|
||||||
|
|
||||||
const adUnitId = __DEV__ ? TestIds.INTERSTITIAL : 'ca-app-pub-xxxxxxxxxxxxx/yyyyyyyyyyyyyy';
|
const adUnitId = __DEV__ ? TestIds.INTERSTITIAL : 'ca-app-pub-xxxxxxxxxxxxx/yyyyyyyyyyyyyy';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user