I have a Cordova app wrapping a web-app in a web view.
Android has no issues that I can see, but iOS appears to discard the CSS safe area settings for padding, at random, but reproducibly when putting the app into the background and foreground (via XCode simulator).
I have all of the viewport settings and CSS padding-top/bottom inset settings advised in these issues installed. The padding is correctly displayed until the app is cycled between background/foreground.
I have a Cordova app wrapping a web-app in a web view.
Android has no issues that I can see, but iOS appears to discard the CSS safe area settings for padding, at random, but reproducibly when putting the app into the background and foreground (via XCode simulator).
Similar issues are described here:
https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/604 https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/49
I have all of the viewport settings and CSS padding-top/bottom inset settings advised in these issues installed. The padding is correctly displayed until the app is cycled between background/foreground.
Does anyone have any suggestions for a solution?