ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
499 stars 214 forks source link

Incorrect webview height after resume or rotate on iOS #358

Open neilrackett opened 5 years ago

neilrackett commented 5 years ago

On iOS devices the webview is intermittently the wrong height when an app is resumed (e.g. when you switch to another app then back again) or when the screen is rotated, extending behind the banner ad at the bottom of the screen. This occurs regardless of whether we're using default UIWebView or the Apache/Ionic WKWebView implementation.

The issue sometimes resolves itself when the ad changes, and you can work around the issue by calling admob.banner.show() in a document "resume" or window "orientationchange" event handler.

Hanho-Kim commented 3 years ago

Same problem. Please help.