question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StatusBar.overlaysWebView is overwritten from admob plus

See original GitHub issue

Describe the bug I have in my cordova app the plugin cordova-plugin-statusbar version 2.4.3 I set in the preferences at config xml for ios the StatusBar.overlaysWebView to False To Reproduce Steps to reproduce the behavior:

  1. Create a cordova app for ios that has a long index html
  2. install cordova-plugin-statusbar version 2.4.3
  3. In config xml for platform ios add the following

preference name=“StatusBarOverlaysWebView” value=“false” preference name=“StatusBarBackgroundColor” value=“#D66C6E” preference name=“StatusBarStyle” value=“lightcontent”

  1. install admob-plus-cordova version 1.4.0
  2. Have a bottom banner
  3. run the app
  4. The status bar is transparent
  5. in Safari console run StatusBar.overlaysWebView(false);
  6. You will see the app getting covered
  7. uninstall admob-plus-cordova and run the app again
  8. issue is not there

Expected behavior StatusBar.overlaysWebView value should not be overwritten

Screenshots Added screenshot

Environment iOS Screenshot 2021-04-08 at 4 48 22 PM

(paste the output of the command here)

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ratsoncommented, Apr 12, 2021

@bardgr Thank you for setting up the repo, it really helps me to identify the issue. Please try admob-plus-cordova@1.5.1 and report back if the issue is resolved.

0reactions
bardgrcommented, Apr 13, 2021

Hello @ratson ,

Thank you very much the issue is resolved 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

admob-plus - Bountysource
I have an Ionic 4 app, Android platform, admob-plus-cordova 1.2.1 and ... developed my 4th app and noticed that the plugin has been...
Read more >
Ionic can't make statusbar overlay - Stack Overflow
On iOS 7, make the statusbar overlay or not overlay the WebView. StatusBar.overlaysWebView(true);. Description
Read more >
Frequently Asked Questions - AdMob Plus
Frequently Asked Questions. Why my ads is not showing?​. Beside programming error, a common report is no fill error, which many users think...
Read more >
admob-plus - bytemeta
iOS ONLY black screen when using both banner and interstitial ads. bardgr. bardgr CLOSED · Updated 1 year ago · StatusBar.overlaysWebView is overwritten...
Read more >
date传给sql ionic server - CSDN
adMob ", []).factory("$cordovaAdMob", ["$q", "$window", function(e, ... [function() { return { overlaysWebView: function(e) { return StatusBar.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found