@@ -323,53 +323,53 @@ declare namespace CodePush {
323
323
*/
324
324
enum SyncStatus {
325
325
/**
326
- * The CodePush server is being queried for an update .
326
+ * The app is up-to-date with the CodePush server .
327
327
*/
328
- CHECKING_FOR_UPDATE ,
329
-
328
+ UP_TO_DATE ,
329
+
330
330
/**
331
- * An update is available, and a confirmation dialog was shown
332
- * to the end user. (This is only applicable when the updateDialog is used)
331
+ * An available update has been installed and will be run either immediately after the
332
+ * syncStatusChangedCallback function returns or the next time the app resumes/restarts,
333
+ * depending on the InstallMode specified in SyncOptions
333
334
*/
334
- AWAITING_USER_ACTION ,
335
-
335
+ UPDATE_INSTALLED ,
336
+
336
337
/**
337
- * An available update is being downloaded from the CodePush server.
338
+ * The app had an optional update which the end user chose to ignore.
339
+ * (This is only applicable when the updateDialog is used)
338
340
*/
339
- DOWNLOADING_PACKAGE ,
340
-
341
+ UPDATE_IGNORED ,
342
+
341
343
/**
342
- * An available update was downloaded and is about to be installed .
344
+ * The sync operation encountered an unknown error .
343
345
*/
344
- INSTALLING_UPDATE ,
345
-
346
+ UNKNOWN_ERROR ,
347
+
346
348
/**
347
- * The app is up-to-date with the CodePush server .
349
+ * There is an ongoing sync operation running which prevents the current call from being executed .
348
350
*/
349
- UP_TO_DATE ,
350
-
351
+ SYNC_IN_PROGRESS ,
352
+
351
353
/**
352
- * The app had an optional update which the end user chose to ignore.
353
- * (This is only applicable when the updateDialog is used)
354
+ * The CodePush server is being queried for an update.
354
355
*/
355
- UPDATE_IGNORED ,
356
+ CHECKING_FOR_UPDATE ,
356
357
357
358
/**
358
- * An available update has been installed and will be run either immediately after the
359
- * syncStatusChangedCallback function returns or the next time the app resumes/restarts,
360
- * depending on the InstallMode specified in SyncOptions
359
+ * An update is available, and a confirmation dialog was shown
360
+ * to the end user. (This is only applicable when the updateDialog is used)
361
361
*/
362
- UPDATE_INSTALLED ,
362
+ AWAITING_USER_ACTION ,
363
363
364
364
/**
365
- * There is an ongoing sync operation running which prevents the current call from being executed .
365
+ * An available update is being downloaded from the CodePush server .
366
366
*/
367
- SYNC_IN_PROGRESS ,
367
+ DOWNLOADING_PACKAGE ,
368
368
369
369
/**
370
- * The sync operation encountered an unknown error .
370
+ * An available update was downloaded and is about to be installed .
371
371
*/
372
- UNKNOWN_ERROR
372
+ INSTALLING_UPDATE
373
373
}
374
374
375
375
/**
0 commit comments