ludei / atomic-plugins-ads

Atomic Plugins for Ads
http://atomic-plugins.com/
Mozilla Public License 2.0
18 stars 22 forks source link

banner.height is reporting back incorrect height #9

Open mentuat opened 7 years ago

mentuat commented 7 years ago

tested on various Android devices - banner.height is always larger than the actual height of the banner.

Sometimes it appears to be twice as much, on other devices a little less

mentuat commented 7 years ago

if anyone else is having the same issue and needs a workaround when using admob I took the following ad heights based on device/window height:

32px ≤400dp 50px > 400dp and ≤ 720dp 90px > 720dp

https://firebase.google.com/docs/admob/android/banner