Open
Description
Android is working, but iOS after re-starting is still old version.
I also checked the package's version and history on server, it seems ok.
How do I find out what is wrong?
==================================================================================
CONSOLE LOG file: src/app/app.component.ts:31:24: AppSync syncStatus: UPDATE_INSTALLED
CONSOLE LOG file: src/app/app.component.ts:35:26: AppSync: update installed (v4) - it will be activated upon next cold boot
Then I restarted app...
CONSOLE LOG file: src/app/app.component.ts:31:24: AppSync syncStatus: UP_TO_DATE
CONSOLE LOG file: src/app/app.component.ts:33:26: AppSync: no pending updates; you're running the latest version, which is undefined
AppSync.sync({
serverUrl:'https://ota.aaa.com',
enabledWhenUsingHmr: true,
deploymentKey: isIOS ? "dZiaUCZThcugCyhWuOzHrSBKOYHaRcTdAZyltXdC" : "dZiaUCZThcugCyhWuOzHrSBKOYHaRcTdAZyltXdC",
installMode: InstallMode.ON_NEXT_RESTART,
mandatoryInstallMode: InstallMode.ON_NEXT_RESTART
}, (syncStatus: SyncStatus, updateLabel?: string): void => {
console.log("AppSync syncStatus: " + syncStatus);
if (syncStatus === SyncStatus.UP_TO_DATE) {
console.log(`AppSync: no pending updates; you're running the latest version, which is ${updateLabel}`);
} else if (syncStatus === SyncStatus.UPDATE_INSTALLED) {
console.log(`AppSync: update installed (${updateLabel}) - it will be activated upon next cold boot`);
}
});
"dependencies": {
"@angular/animations": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/core": "~8.2.0",
"@angular/forms": "~8.2.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "~8.2.0",
"@angular/platform-browser-dynamic": "~8.2.0",
"@angular/router": "~8.2.0",
"@nativescript/theme": "^2.3.3",
"jssha": "^1.6.2",
"nativescript-angular": "^8.21.0",
"nativescript-app-sync": "^2.0.0",
"nativescript-barcodescanner": "^3.4.2",
"nativescript-carousel": "^6.1.1",
"nativescript-couchbase-plugin": "^0.9.6",
"nativescript-exit": "^1.0.1",
"nativescript-localize": "4.2.0",
"nativescript-numeric-keyboard": "^4.3.1",
"nativescript-theme-core": "^2.0.24",
"nativescript-ui-gauge": "^6.0.0",
"reflect-metadata": "~0.1.8",
"rxjs": "^6.4.0",
"rxjs-compat": "^6.3.2",
"tns-core-modules": "~6.5.0",
"typescript-collections": "^1.3.3",
"zone.js": "^0.9.1"
}
┌───────┬────────────────┬─────────────┬───────────┬─────────────┬──────────────────────┐
│ Label │ Release Time │ App Version │ Mandatory │ Description │ Install Metrics │
├───────┼────────────────┼─────────────┼───────────┼─────────────┼──────────────────────┤
│ v4 │ 34 minutes ago │ 2.0.4 │ No │ │ Active: 25% (1 of 4) │
│ │ │ │ │ │ Total: 1 │
├───────┼────────────────┼─────────────┼───────────┼─────────────┼──────────────────────┤
│ v3 │ an hour ago │ 2.0.4 │ No │ │ Active: 25% (1 of 4) │
│ │ │ │ │ │ Total: 1 (1 pending) │
├───────┼────────────────┼─────────────┼───────────┼─────────────┼──────────────────────┤
│ v2 │ 7 hours ago │ 2.0.4 │ No │ │ Active: 50% (2 of 4) │
│ │ │ │ │ │ Total: 2 │
├───────┼────────────────┼─────────────┼───────────┼─────────────┼──────────────────────┤
│ v1 │ 7 hours ago │ 2.0.4 │ No │ │ No installs recorded │
└───────┴────────────────┴─────────────┴───────────┴─────────────┴──────────────────────┘
Metadata
Metadata
Assignees
Labels
No labels