react-native-admob icon indicating copy to clipboard operation
react-native-admob copied to clipboard

AdUnitID for both Android and iOS?

Open rafWork opened this issue 8 years ago • 0 comments

Hello,

It is just a quick question;

Does this code below truly work both real Android and iOS devices, can we link apps with both stores via admob's website? Do we need Platform.OS code? If so how should we use it?

<AdMobBanner adSize="fullBanner" adUnitID="ca-app-pub-xxxxxxxxxxxxxxx/xxxxxxxxxxx" testDevices={[AdMobBanner.simulatorId]} onAdFailedToLoad={error => console.error(error)} adViewDidReceiveAd={null} adViewDidDismissScreen={null} adViewWillLeaveApplication={null} />

rafWork avatar Dec 22 '17 15:12 rafWork