-
Notifications
You must be signed in to change notification settings - Fork 139
Page can't change in emulators #45
Comments
And I am on windows |
According to nordnet/cordova-hot-code-push-local-dev-addon#5, |
And my chcp.json is still xxx.ngrok.com |
As I understand, you have done everything, as described in tutorial.
|
Modify the chcp.json and it will change to ngrok.com at last |
@nikDemyankov ngrok.com is blocked. So I change ngrok.com to my local IP in afterPrepareHook.js. But the chcp.json is still ngrok.com. |
If ngrok is blocked - you can use some other local server, that will serve your In that case you can still use local development add-on to automatically trigger page reload. Just make sure, that
And after each change you do - execute |
I am sorry. I read your comment over and over again, but I still don't know clearly what the local server can help? I created cordova-hcp.json and I execute cordova-hcp build after each change in www. And the content_url is my local IP address in chcp.json now. Can u tell me how the local server do to www files. Thanks. |
Have you checked all, what is described in #45 (comment) ? You can get update logs from Android Studio. Just launch Android Studio, click |
@nikDemyankov About this I didn't use android studio before, but finally I got this error. It's a parse error. 03-03 21:05:27.643 2912-3022/io.cordova.hellocordova D/CHCP﹕ New Release is available Cordova App Loader sssssssssssssss ; line: 1, column: 2] |
This means, that So you need to make sure, that emulator can reach But as you have read in nordnet/cordova-hot-code-push-local-dev-addon#5 - other developer also tried to use ip as a server address, but eventually switched to some simple server, written on python. So, maybe, if ngrok is blocked for you and emulator can't reach server by ip - this is what you should try to do. |
👋 Hi! Thank you for your interest in this repo. 😢 We are not using nordnet/cordova-hot-code-push-cli anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork. 🔒 This will now be closed & locked. ℹ️ Please see #79 for more information. |
I built a cordova project.
cd demo, cordova-hcp server.
then cordova run.
Modify the index.html but the app do not change.
Am I missing anything?
The text was updated successfully, but these errors were encountered: