StatusBarOverlaysWebView ignoring from preference in latest version of android too
It is said in the documentation that,
I had to use StatusBar.overlaysWebView(true); onDeviceReady to make the overlay true in Android.
Cordova-plugin-statusbar: 2.4.3
Can you take a moment to test the development version of the plugin? I believe this would be resolved by https://github.com/apache/cordova-plugin-statusbar/pull/171 which hasn't been released yet.
You can install the development version directly from git by using:
cordova plugin add https://github.com/apache/cordova-plugin-statusbar
I agree with @to-svarghese that the preference (StatusBarOverlaysWebView) not work.
Only the current temp solution is to use:
StatusBar.overlaysWebView(true);
At onDeviceReady event
@breautek are there any changes that can be made in light of this development? That PR works only if the camera cutout is hidden on the Samsung devices mentioned in that article. Otherwise the statusbar is still shifted down further than desired.