Pigsnuck commented on issue #108: Content dimensions incorrect at startup on iPhone X URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/108#issuecomment-571491887 I will share my solution for all those other frustrated developers. I was fiddling around with this issue for quite some time also. I experienced the issues with WkWebkit here too, but the following steps resolved all issues for me. The main thing to note is that upgrading my project DID NOT WORK. I had to completely rebuild it. I'm not sure which file change made the difference, but - Ran` cordova plugin ls` and saved the results. - Removed all cordova platforms (`cordova platform rm ios`, etc). - Deleted the /plugins folder. - Updated cordova to the latest version (just to be sure - it was already the latest for me). - Reinstalled all platforms. - Reinstalled all plugins (especially cordova-plugin-webkit and the localserver plugins to use http://localhost:8080). - Applied the viewport meta-tag. After these steps, everything ran full-screen correctly without any bugs. Like any good developer, I immediately checked everything into source control. Then I copied my Images.xcassets file containing my logos and screenshots over to the /platforms/ios directory. After that, I started experiencing all the problems above again. I had to rebuild this file manually.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
