You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
I cannot get this plugin to push code and refresh the page even by copying and pasting the directions on the homepage and wiki.
Steps to reproduce
on their own the steps are:
npm i -g cordova@8.0.0 cordova-hot-code-push-cli@1.1.1
cordova create TestProject com.example.testproject.ryanmtaylor TestProject
cd ./TestProject
cordova platform add ios
cordova plugin add cordova-hot-code-push-plugin
cordova-hcp server
then cordova run from a new tab
Here is the console output:
ryan@device007 ~/Work/SANDBOX 👻 cordova create TestProject com.example.testproject.ryanmtaylor TestProject
Creating a new cordova project.
ryan@device007 ~/Work/SANDBOX 👻 cd ./TestProject
ryan@device007 ~/Work/SANDBOX/TestProject 👻 cordova platform add ios
Using cordova-fetch for cordova-ios@~4.5.4
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.example.testproject.ryanmtaylor
Name: TestProject
iOS project created with cordova-ios@4.5.4
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Installing "cordova-plugin-whitelist" for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving ios@~4.5.4 into config.xml file ...
ryan@device007 ~/Work/SANDBOX/TestProject 👻 cordova plugin add cordova-hot-code-push-plugin
Installing "cordova-hot-code-push-plugin" for ios
Installing dependency packages:
{
"xml2js": "^0.4"
}
Checking cordova-hcp CLI client...
Adding cordova-hot-code-push-plugin to package.json
Saved plugin info for "cordova-hot-code-push-plugin" to config.xml
ryan@device007 ~/Work/SANDBOX/TestProject 👻 cordova-hcp server
Running server
Checking: /Users/ryan/Work/SANDBOX/TestProject/www
local_url http://localhost:31284
Build 2018.03.26-17.41.45 created in /Users/ryan/Work/SANDBOX/TestProject/www
cordova-hcp local server available at: http://localhost:31284
cordova-hcp public server available at: https://3293e8d9.ngrok.io
File changed: /Users/ryan/Work/SANDBOX/TestProject/www/index.html
Build 2018.03.26-17.42.51 created in /Users/ryan/Work/SANDBOX/TestProject/www
Should trigger reload for build: 2018.03.26-17.42.51
(etc.)
File changed: /Users/ryan/Work/SANDBOX/TestProject/www/index.html
Build 2018.03.26-17.43.01 created in /Users/ryan/Work/SANDBOX/TestProject/www
Should trigger reload for build: 2018.03.26-17.43.01
File changed: /Users/ryan/Work/SANDBOX/TestProject/www/index.html
Build 2018.03.26-17.44.01 created in /Users/ryan/Work/SANDBOX/TestProject/www
Should trigger reload for build: 2018.03.26-17.44.01
I run cordova run to run ios version in a simulator and it builds successfully. I also changed the config.xml file to point to the the correct ngrok.
😢 We are not using nordnet/cordova-hot-code-push 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.
Problem
I cannot get this plugin to push code and refresh the page even by copying and pasting the directions on the homepage and wiki.
Steps to reproduce
on their own the steps are:
then
cordova run
from a new tabHere is the console output:
I run
cordova run
to run ios version in a simulator and it builds successfully. I also changed theconfig.xml
file to point to the the correct ngrok.System info
The text was updated successfully, but these errors were encountered: