This AppSync server is similar to Microsoft's CodePush server, but tailored for NativeScript apps, working seamlessly with the NativeScript AppSync plugin.
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 AppSync plugin).
With the [NativeScript AppSync CLI]() installed (npm i -g nativescript-app-sync-cli
), you can do:
$ nativescript-app-sync login
$ nativescript-app-sync login https://your-own-server-endpoint.com
appsync-server.nativescript.org
admin
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