srinidhirao commented on issue #143: URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/143#issuecomment-619815529
I had an Angular app integrated with Cordova and had trouble getting the app to load using Cordova's WebView Plugin. Since none of the solutions worked for me, I ended up using Ionic's WKWebView plugin (https://github.com/ionic-team/cordova-plugin-ionic-webview). Even though, this plugin was built primarily for ionic, as the doc suggests, it can potentially be used for any Cordova app. These are the steps I followed: 1. Integrate the plugin: `cordova plugin add cordova-plugin-ionic-webview` 2. Add an entry to config.xml: `<preference name="WKWebViewOnly" value="true" />` 3. Prepare the project `cordova prepare ios` I even uploaded the app to TestFlight and Apple did not complain of UIWebView, which sort of validates the fix. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
