-
Notifications
You must be signed in to change notification settings - Fork 487
[android] StatusBarOverlaysWebView defaults to true not work {broken} #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@breautek sorry for the ping, but could you please take a look into this if you have any idea? |
You may be hitting the bug as reported at #151 where android doesn't actually read the Workaround described at #151 (comment) |
Thanks for reply, Does this issue is the same old issue for ios before we add view-fit=cover to support ios ? |
Why the pending PR still in request because who made the PR still not respond, I think anyone who is familiar with these codes can make a new PR and then done by approved, because this is high priority bug that need to be solved. |
Not sure what old issue you are referring to, but the issue I linked is an android issue only. iOS has always read the preference. I believe the source of the problem is the feature was implemented for iOS only originally.
Because Cordova is 100% volunteer based and many of us is very busy.
I agree, and honestly the changes required to fix #151 issue is rather trivial, PRs welcome, even if there is already a pending one. But to confirm that this is even the problem that you are facing, I would use the JS API to set statusbar overlay to enable the statusbar. If that makes the statusbar work as expected, then we can confidently say that you were hitting the same issue as #151. |
You are true. Regards |
Hello @breautek |
Yes, this was just a confirmation that you weren't experiencing a different problem than #151 |
Can you show me example how it works for you? |
Hello @diamond95 You can add for e.g.: document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { StatusBar.overlaysWebView(true); //......... other codes........ |
@mosababubakr well, it does not work for me when I compile mobile application on android 9 |
did you try to put the following code and not work ? function onDeviceReady() { StatusBar.overlaysWebView(true); //......... other codes........ ... if not work, then maybe @breautek could find the answer for this (android 9) |
@mosababubakr I did already open bug, #155 |
did you used the master version of the plugin ? |
@mosababubakr Yup. Can you push to github some example with working status bar ? I would like to check that.. Thanks anyway |
function onDeviceReady() { StatusBar.overlaysWebView(true); }
|
Currently So far the best way to avoid #158 is to apply #171 PR to your own fork so that you can use the |
when the PR will be merged and done if it ready ? |
#171 is a breaking change, even though it's fixing a bug because it's changing the default behaviour of the android platform, so the PR will only be merged once preparations for the next major starts. I can't really give a timeline when that will happen, but there are a few other PRs also waiting for a major version bump. I still have one thing outstanding task for #171 but I'm planning on making that commit tonight. |
03.2020 nothing happen... Ping?! |
What's the update on this? Is anyone still working on something? |
Bug Report
Problem
What is expected to happen?
The statusbar should overlay the webview.
the preference StatusBarOverlaysWebView (boolean, defaults to true).
What does actually happen?
The status bar became in solid blank, and not overlay the webview.
Information
Maybe someone know how this issue can be solved !
Environment, Platform, Device
Version information
Checklist
The text was updated successfully, but these errors were encountered: