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/02/09 15:02:40 UTC

[GitHub] breautek commented on issue #113: Documentation of Preferences implies support for iOS only

breautek commented on issue #113: Documentation of Preferences implies support for iOS only
URL: https://github.com/apache/cordova-plugin-statusbar/issues/113#issuecomment-462051460
 
 
   I don't use all the StatusBar properties, but in my apps I do use `StatusBarOverlaysWebview` and I support android versions from 4.1 to latest.
   
   I have several different physical devices to test with:
   - CAT B15 Phone (Android 4.1) - Overlay has no effect
   - Samsung Galaxy s4 (Android 4.4) - Overlay has no effect
   - Samsung Galaxy s5 (Android 6.0) - Overlay works
   - Samsung Galaxy S5 Neo (Android 7) - Overlay works
   - Samsung Galaxy Note 9 (Android 8.1) - Overlay works
   - Google Pixel (Android 9) - Overlay works
   
   All of my apps are built with cordova cli 8.1.2, cordova-android 7, and statusbar 2.4.2.
   
   I believe overlay webview works on Android 5.0 and later because translucent status bars is possible as of Android 5.0 and greater.
   
   > * `StatusBarOverlaysWebView` seems to have no effect
   
   I also would like to point out that there is a bug that was previously reported at #122 where the plugin doesn't respect the config.xml preference and instead just defaults to overlay true. The ticket reported it for iOS but it appears to happen on Android as well. Using the javascript API `StatusBar.overlaysWebView(true);` definitely does work on the android devices I listed.
   
   The documentation, at least for the overlay preference I think is definitely misleading.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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