CodePush Server source
This CodePush server is like a polyfill for Microsoft's CodePush server, but with support for NativeScript apps.
Huge thanks to this project which this project is based upon. We didn't fork it because significant (non-unforkeable) changes had to be made (replacing hardcoded Chinese text by English comes to mind).
You can either roll your own clone of this server or use the shared service we provide (which is configured by default by the NativeScript CodePush plugin).
- local storage bundle file in local machine
- qiniu storage bundle file in qiniu
- s3 storage bundle file in aws
- oss storage bundle file in aliyun
- tencentcloud storage bundle file in tencentcloud
With the NativeScript CodePush CLI installed (npm i -g nativescript-code-push
), you can do:
$ nativescript-code-push login https://nativescript-codepush-server.herokuapp.com # or your own server endpoint
nativescript-codepush-server.herokuapp.com
- account:
admin
- password:
123456
Go ahead and roll your own, but if you want to change the production code, push to master
and Heroku will deploy a new version automatically.
To check the production logs (requires the right credentials 😉):
heroku logs --app nativescript-codepush-server --tail