EMI-INDO / emi-indo-cordova-plugin-admob

Cordova Plugin Admob Android | IOS
ISC License
13 stars 2 forks source link

Banner ad covers bottom of the page #19

Open rashnk opened 9 months ago

rashnk commented 9 months ago

Expected behavior: The banner ad on bottom should not cover the page content, ad should display below the page content

Steps to reproduce:

   let AdUnitId = "ca-app-pub-3940256099942544/6300978111"; // test banner ad
    let npa = "1"; // String | 0 | 1
    let position = "bottom-center";
    //let size = "default"; // Inline_adaptive | Anchored_adaptive | default = Adaptive_FULL_WIDTH
    let size = "BANNER";
    let adaptiveWidth = 320;
    let responseInfo = debug; // boolean

Screenshots image

Environment information

carlobs commented 9 months ago

Same here. problem with jquery mobile and cordova

rashnk commented 9 months ago

May be the problem with RelativeLayout, I managed to solve this issue by adjusting the page height as below, the page height will be set to 93vh once the ad is loaded image