You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`);
}
});
Hey @alonstar, did you ever figure out why the iOS version isn't updating? I'm having the same issue, Android works fine but iOS says it's been updated and running the latest but the changes aren't applied.
v12 │ 18 minutes ago │ 1.9.5 │ Yes │ NA │ Active: 0% (0 of 0) - Total: 0 (1 pending)
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
The text was updated successfully, but these errors were encountered: