Open AmroShohoud opened 4 years ago
On latest version of react-native (0.61.4), try to implement admob banner:
\<AdMobBanner bannerSize="fullBanner" adUnitID="ca-app-pub-xxx" testDeviceID="EMULATOR" didFailToReceiveAdWithError={this.bannerError} />
Result is error: The testDeviceID prop of AdMobBanner is deprecated. Test device IDs are now set globally. Use AdMob.setTestDeviceIDAsync instead.
testDeviceID
I have this same issue was solution found ?
setTestDeviceID = "EMULATOR" This is OK.
setTestDeviceID = "EMULATOR"
On latest version of react-native (0.61.4), try to implement admob banner:
\<AdMobBanner bannerSize="fullBanner" adUnitID="ca-app-pub-xxx" testDeviceID="EMULATOR" didFailToReceiveAdWithError={this.bannerError} />
Result is error: The
testDeviceID
prop of AdMobBanner is deprecated. Test device IDs are now set globally. Use AdMob.setTestDeviceIDAsync instead.