Skip to content
This repository was archived by the owner on Nov 7, 2018. It is now read-only.
This repository was archived by the owner on Nov 7, 2018. It is now read-only.

Cordova WKWebVIew plugin does not work on simulator #177

@stripathix

Description

@stripathix

Created a new project using Cordova commands:

cordova create testapp
Then added following lines in config.xml to install cordova-plugin-wkwebview-engine:

<allow-navigation href="http://localhost:8080/*" />
<feature name="CDVWKWebViewEngine">
    <param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
<engine name="ios" spec="^4.4.0" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
<plugin name="cordova-plugin-wkwebview-engine" spec="git+https://github.com/driftyco/cordova-plugin-wkwebview-engine.git" />

Then Executed:

cordova platform add ios
cordova build ios

Now if I run this application on simulator then I get this screen:
ktntm

*Note: This works on real devices but on the simulator it always fails. No Idea what's going on.

Ref: https://github.com/ionic-team/cordova-plugin-wkwebview-engine

cordova: 7.0.1 cordova-ios: 4.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions