[BUG] adChoicesPlacement prop not working with preload ad
luongminh2410dev opened this issue · 1 comments
luongminh2410dev commented
Setting adChoicesPlacement not working on situation ads be preload even adChoicePlacement be placed on NativeAdView tag
AdChoicesPlacement alway show default position on both Android & IOS (top_left for IOS, top_right for Android)
AdChoicesPlacement of other ad (not preload) seem to be affect
- Preload ad
await AdManager.registerRepository({
name: 'top_detail_admob',
adUnitId: rn_admob_detail_top,
expirationPeriod: 2 * 60 * 60 * 1000,
numOfAds: 3,
mediationEnabled: true,
adChoicesPlacement: 'topRight'
})
- Show ad
<NativeAdView
ref={refNativeAdView}
repository='top_detail_admob'
onAdFailedToLoad={onFailed}
onNativeAdLoaded={onNativeAdLoaded}
refreshInterval={2 * 60 * 1000}
enableTestMode={__DEV__}
adChoicesPlacement='topRight'
style={styles.admob}>
......
</NativeAdView>
luongminh2410dev commented