var admobid = {}
if (/(android)/i.test(navigator.userAgent)) { // for android & amazon-fireos
admobid = {
banner: 'XXX',
}
} else if (/(ipod|iphone|ipad)/i.test(navigator.userAgent)) { // for ios
admobid = {
banner: 'XXX',
}
}
admob.banner.config({
id: admobid.banner,
isTesting: true,
autoShow: true,
bannerAtTop: true,
offsetTopBar: true,
overlap: false,
})
admob.banner.prepare()
After initialisation the banner is showing but the Statusbar which I defined with
<preference name="StatusBarBackgroundColor" value="#46BFBD" />
is black. If I set bannerAtTop to false it is working. How can I fix this?
My Code:
After initialisation the banner is showing but the Statusbar which I defined with
<preference name="StatusBarBackgroundColor" value="#46BFBD" />
is black. If I set bannerAtTop to false it is working. How can I fix this?