You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/05/01 19:37:50 UTC
[GitHub] [cordova-plugin-wkwebview-engine] BraydenGirard edited a comment on issue #143: Blank screen after using plugin-wkwebview-engine
BraydenGirard edited a comment on issue #143:
URL: https://github.com/apache/cordova-plugin-wkwebview-engine/issues/143#issuecomment-622532203
> 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 solution worked for me. The only issue I am having now is that my app viewport does not fill the entire phone screen (black bars on top and bottom). Anyone else experience this?
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org