admob.BannerAd.config() for Android? #335
lee-borlace
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
@leeroy79 The API was added to address the iOS status bar issue, which Android does not have. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
Building an app in Ionic with the Cordova plugin. I notice from looking at the code that admob.BannerAd.config() (https://admob-plus.github.io/docs/cordova/ads/banner#global-settings) only applies to iOS not Android.
Is there a reason for this? I'd really like to set the background colour of my banner ad to match the app's background. I'm assuming the background colour is the solid colour (black by default) between the edges of the ad and the sides of the screen.
I tried setting the offset, thinking it might hover over my main content, but the black bars followed it.
I'd like to do a PR to enable config() for Android (or even better have someone else implement it!) but just thought I'd check whether there's a reason for it not being there currently?
Cheers
Lee
Beta Was this translation helpful? Give feedback.
All reactions