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

WKWebView: Inability to update on actual iPhone, though Simulator works #85

@SpaceviewMob

Description

@SpaceviewMob

After deploying a new version, the simulator can update itself without restarting the app (without any issues), but for a physical iPhone, the following error occurs:

file:///var/mobile/Containers/Data/Application/248629FC-C77B-4A89-917F-B286E7F1C0B0/Library/Application%20Support/vu.space.mobile/cordova-hot-code-push-plugin/2016.01.12-10.17.28/www/index.html
[Error] Failed to load resource (index.html, line 0)

If I manually shut down the app and re-open it, it will have the updated code.

Tested on an iPhone 6 Plus, iOS 9.2 - same specs for Simulator.

One possible wrench thrown in the mix might be that we're using cordova-plugin-wkwebview-engine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions