diff --git a/README.md b/README.md index 56a0c7a..c30f305 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ nativescript-app-sync app ls tns plugin add nativescript-app-sync ``` -> ⚠️ If you're restricting access to the internet from within your app, make sure you whitelist our AppSync server (`https://nativescript-codepush-server.herokuapp.com`) and File server (`https://s3.eu-west-1.amazonaws.com`). +> ⚠️ If you're restricting access to the internet from within your app, make sure you whitelist our AppSync server (`https://appsync-server.nativescript.org`) and File server (`https://s3.eu-west-1.amazonaws.com`). ## Checking for updates With the AppSync plugin installed and configured, the only thing left is to add the necessary code to your app to control when it checks for updates. diff --git a/demo-ng/package.json b/demo-ng/package.json index 33d39b5..eb6987d 100644 --- a/demo-ng/package.json +++ b/demo-ng/package.json @@ -43,7 +43,7 @@ "@angular/platform-browser-dynamic": "~7.2.0", "@angular/router": "~7.2.0", "nativescript-angular": "~7.2.0", - "nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.0.tgz", + "nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.1.tgz", "nativescript-theme-core": "~1.0.4", "reflect-metadata": "~0.1.12", "rxjs": "~6.3.0", diff --git a/demo/package.json b/demo/package.json index aa8b114..047d22a 100644 --- a/demo/package.json +++ b/demo/package.json @@ -31,7 +31,7 @@ "ci.tslint": "npm i && tslint --config '../tslint.json' 'demoapp/**/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'" }, "dependencies": { - "nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.0.tgz", + "nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.1.tgz", "nativescript-theme-core": "~1.0.4", "nativescript-unit-test-runner": "^0.3.4", "tns-core-modules": "~5.4.2" diff --git a/src/app-sync.ts b/src/app-sync.ts index df757bc..829b4ff 100644 --- a/src/app-sync.ts +++ b/src/app-sync.ts @@ -102,7 +102,7 @@ export class AppSync { AppSync.syncInProgress = true; // by default, use our Cloud server - options.serverUrl = options.serverUrl || "https://nativescript-codepush-server.herokuapp.com/"; + options.serverUrl = options.serverUrl || "https://appsync-server.nativescript.org/"; AppSync.cleanPackagesIfNeeded(); @@ -207,7 +207,7 @@ export class AppSync { static checkForUpdate(deploymentKey: string, serverUrl?: string): Promise { return new Promise((resolve, reject) => { // by default, use our Cloud server - serverUrl = serverUrl || "https://nativescript-codepush-server.herokuapp.com/"; + serverUrl = serverUrl || "https://appsync-server.nativescript.org/"; const config: Configuration = { serverUrl, diff --git a/src/code-push-lib.d.ts b/src/code-push-lib.d.ts index ce8dba7..03b977f 100755 --- a/src/code-push-lib.d.ts +++ b/src/code-push-lib.d.ts @@ -331,7 +331,7 @@ interface SyncOptions extends InstallOptions { deploymentKey: string; /** - * Overrides the default server URL (https://nativescript-codepush-server.herokuapp.com/). + * Overrides the default server URL (https://appsync-server.nativescript.org/). */ serverUrl?: string; } diff --git a/src/package.json b/src/package.json index 6eaf08e..4571126 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-app-sync", - "version": "1.0.0", + "version": "1.0.1", "description": "Use AppSync to hot deploy updates to your app.", "main": "app-sync", "typings": "index.d.ts", @@ -68,7 +68,7 @@ "homepage": "https://github.com/eddyverbruggen/nativescript-app-sync", "readmeFilename": "README.md", "dependencies": { - "nativescript-app-sync-cli": "~1.0.0", + "nativescript-app-sync-cli": "~1.0.1", "nativescript-appversion": "~1.4.2", "nativescript-hook": "~0.2.5", "nativescript-zip": "git+https://github.com/EddyVerbruggen/nativescript-zip.git#330fa2d"