Skip to content

Commit c2b9301

Browse files
New server URL
1 parent 4082d8e commit c2b9301

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ nativescript-app-sync app ls
120120
tns plugin add nativescript-app-sync
121121
```
122122

123-
> ⚠️ 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`).
123+
> ⚠️ 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`).
124124
125125
## Checking for updates
126126
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.

demo-ng/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@angular/platform-browser-dynamic": "~7.2.0",
4444
"@angular/router": "~7.2.0",
4545
"nativescript-angular": "~7.2.0",
46-
"nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.0.tgz",
46+
"nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.1.tgz",
4747
"nativescript-theme-core": "~1.0.4",
4848
"reflect-metadata": "~0.1.12",
4949
"rxjs": "~6.3.0",

demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ci.tslint": "npm i && tslint --config '../tslint.json' 'demoapp/**/*.ts' --exclude '**/node_modules/**' --exclude '**/typings/**'"
3232
},
3333
"dependencies": {
34-
"nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.0.tgz",
34+
"nativescript-app-sync": "file:../publish/package/nativescript-app-sync-1.0.1.tgz",
3535
"nativescript-theme-core": "~1.0.4",
3636
"nativescript-unit-test-runner": "^0.3.4",
3737
"tns-core-modules": "~5.4.2"

src/app-sync.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class AppSync {
102102
AppSync.syncInProgress = true;
103103

104104
// by default, use our Cloud server
105-
options.serverUrl = options.serverUrl || "https://nativescript-codepush-server.herokuapp.com/";
105+
options.serverUrl = options.serverUrl || "https://appsync-server.nativescript.org/";
106106

107107
AppSync.cleanPackagesIfNeeded();
108108

@@ -207,7 +207,7 @@ export class AppSync {
207207
static checkForUpdate(deploymentKey: string, serverUrl?: string): Promise<IRemotePackage | undefined> {
208208
return new Promise((resolve, reject) => {
209209
// by default, use our Cloud server
210-
serverUrl = serverUrl || "https://nativescript-codepush-server.herokuapp.com/";
210+
serverUrl = serverUrl || "https://appsync-server.nativescript.org/";
211211

212212
const config: Configuration = {
213213
serverUrl,

src/code-push-lib.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ interface SyncOptions extends InstallOptions {
331331
deploymentKey: string;
332332

333333
/**
334-
* Overrides the default server URL (https://nativescript-codepush-server.herokuapp.com/).
334+
* Overrides the default server URL (https://appsync-server.nativescript.org/).
335335
*/
336336
serverUrl?: string;
337337
}

src/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-app-sync",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Use AppSync to hot deploy updates to your app.",
55
"main": "app-sync",
66
"typings": "index.d.ts",
@@ -68,7 +68,7 @@
6868
"homepage": "https://github.com/eddyverbruggen/nativescript-app-sync",
6969
"readmeFilename": "README.md",
7070
"dependencies": {
71-
"nativescript-app-sync-cli": "~1.0.0",
71+
"nativescript-app-sync-cli": "~1.0.1",
7272
"nativescript-appversion": "~1.4.2",
7373
"nativescript-hook": "~0.2.5",
7474
"nativescript-zip": "git+https://github.com/EddyVerbruggen/nativescript-zip.git#330fa2d"

0 commit comments

Comments
 (0)