Heyzap / heyzap-cordova

Heyzap SDK for Apache Cordova
https://www.heyzap.com/
10 stars 18 forks source link

Banner overlaps the content #10

Open vintage opened 8 years ago

vintage commented 8 years ago

I want to place a banner ad at the bottom of the page, but it overlaps the content of the screen. Is there any option to make it "separate" from the main content of the app? Something like the overlap flag in the https://github.com/sunnycupertino/cordova-plugin-admob-simple ?

I can probably add some margin-bottom to my content, but I don't know exactly what banner height is showing currently. Any solutions?

f18nfz commented 7 years ago

I noticed this too, this is against AdMob's policy and probably other ad networks too...any update on when this feature will be added?

ekilah commented 7 years ago

https://github.com/Heyzap/heyzap-cordova/blob/3f9c11fbb986b52738932e01d4ccb638ead1b223/src/ios/CDVHZBannerAd.m#L143 is the method you can use to retrieve the banner ad's dimensions after one is displayed. Will that achieve the effect you are looking for?