appodeal / react-native-appodeal

Official React Native package that adds Appodeal SDK support to your react-native application.
https://appodeal.com
59 stars 37 forks source link

BannerView takes fixed 320 width (Facebook Ads) #57

Closed dylancom closed 3 years ago

dylancom commented 3 years ago

I am using Appodeal.setSmartBanners(true) but noticed this has only effect on fixed top/bottom banners. My facebook banners always appear in 320x50.

After reading the iOS SDK docs I see it's because there is no way yet (in this package) to toggle usesSmartSizing.

//for banner view allows banner view to resize automatically to fit device screen
bannerView.usesSmartSizing = YES;