dpogue commented on PR #1991: URL: https://github.com/apache/cordova-android/pull/1991#issuecomment-5220804122
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. Currently, the Android WebView doesn't expose the viewport-fit value to us, so what we'd need to do is set up a MutationObserver in JavaScript to observe the value and toggle things in platform code using an internal API. -- 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]
