cordova-app-updater
cordova-app-updater copied to clipboard
can't read index.html
content and path is correct, but can't show the content of index.html. perhaps iOS don't permit to do like this. open file://**index.html under app-directory is possible。 error:Received an unexpected URL from the web process: 'file:///Users/mac/Library/Developer/CoreSimulator/Devices/A1BE91E9-93D8-446E-8631-164EAC873377/data/Containers/Data/Application/3789B421-894D-4278-8960-5D1E64DD6B47/Documents/cache/www/index.html' Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction" from the web process.
Hi.
Are you have the latest cordova-ios? Also, please provide your config.xml
My version of the Cordova is 6.1,is the lastest. This morning, I have tried to change OC codes by modifying "startPage", But page is refreshing again and again, I feel the reason is that updating file is the same as the showing file. Oh, I'm going to give up, help me! ----config.xml----
Please provide correct config.xml :-)
There is config.xml for testing. instruction: cordova create test cd test cordova platform add ios cordova plugin add https://github.com/mnill/cordova-app-updater
copy\paste my config
cordova run ios --device config.xml.zip
Thank you. I try agin.
Thanks. I have seen the reason . It is because I intalled WKWebview plugin.
I've got the same error messages when I use cordova-plugin-wkwebview-engine plugin. May I ask, do you have a plan to go with cordova-plugin-wkwebview-engine?
@jiangluu why you use it?
I thinks it's probably because it as better perfs than the native webview. For example people on ionic2 forum say it has better render perfs.
For now I no have enough time to take a look to it. May be later.