ionic-team / cordova-plugin-wkwebview-engine

Mirror of Apache Cordova wkwebview engine plugin
Apache License 2.0
290 stars 69 forks source link

cordova-hot-code-push-plugin is not work #108

Open jeefyang opened 7 years ago

jeefyang commented 7 years ago

hi,I use cordova-hot-code-push-plugin and wk plugin ,they is not work, i use safari check it:XMLHttpRequest cannot load file:///var/containers/Bundle/Application/850FE18F-20C4-4769-8D04-C92870CEC259/cameraHG.app/www/SceneSetup.js. Cross origin requests are only supported for HTTP. .but when i rm cordova-hot-code-push-plugin , it work and url is "var/containers/Bundle/Application/850FE18F-20C4-4769-8D04-C92870CEC259/cameraHG.app/www/SceneSetup.js". by the way, i use threejs,a 3d javascript. how i can rm file://

andrewvmail commented 7 years ago

Having the same issue here

seme1 commented 6 years ago

I'm also suffering from the same issue. Any one managed to resolve this ?

chriswep commented 6 years ago

@seme1 i posted a workaround at the related chcp-issue: https://github.com/nordnet/cordova-hot-code-push/issues/264#issuecomment-330997979

seme1 commented 6 years ago

@chriswep Thanks. I'm now considering the Microsoft version of codepush since it seems to have better support and more frequent updates than the one I'm currently using. Hopefully, the support of Microsoft will make it more 'future-proof'.

seme1 commented 6 years ago

I just tested the Microsoft version of codePush and it's also suffering from the same issue as that of nordnet. So, I'm back to square 1.