GitToTheHub commented on PR #1991:
URL: https://github.com/apache/cordova-android/pull/1991#issuecomment-5237974730

   > As previously mentioned, this should really be controlled by <meta 
name="viewport" content="viewport-fit=contain"> or <meta name="viewport" 
content="viewport-fit=cover"> in the HTML content rather than through 
config.xml, to match behaviour on iOS.
   
   I understand. But since we support for iOS the config.xml preference 
`StatusBarBackgroundColor` and the html meta `theme-color`, we could support 
`StatusBarOverlaysWebView` as a workaround for Android since 
`viewport-fit=cover` and `viewport-fit=cover` is not supported currently by 
Android. For iOS the plugin documentation of cordova-plugin-statusbat already 
states that [`viewport-fit=cover` is 
needed](https://github.com/apache/cordova-plugin-statusbar#ios-quirks) to let 
the status bar overlay the web view, so there is no code change needed for 
cordova-ios.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to