You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/25 17:02:41 UTC

[GitHub] [cordova-plugin-statusbar] breautek commented on issue #155: Plugin not working on Android 9

breautek commented on issue #155: Plugin not working on Android 9
URL: https://github.com/apache/cordova-plugin-statusbar/issues/155#issuecomment-535117229
 
 
   Setting `backgroundColorByHexString` and `overlaysWebView(true)` are two conflicting states and I'm pretty sure they'll override each other.
   
   If you want the status bar overlayed, then I would just use `overlaysWebView(true)`.
   
   Also, using `overlaysWebView` will set/unset UI flags so `AndroidFullScreen.setSystemUiVisibility(AndroidFullScreen.SYSTEM_UI_FLAG_FULLSCREEN | AndroidFullScreen.SYSTEM_UI_FLAG_LOW_PROFILE);` may be conflicting, but I'm not sure.
   
   Note that right now, you must use the JS api `StatusBar.overlaysWebView(true);` as you are using right now. The overlay preference is broken, pending PR https://github.com/apache/cordova-plugin-statusbar/pull/142 for a fix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org