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
NONE: NativeCodePush.codePushRestartModeNone,// Don't artificially restart the app. Allow the update to be "picked up" on the next app restart
211
-
IMMEDIATE: NativeCodePush.codePushRestartModeImmediate,// Restart the app immediately
212
-
ON_NEXT_RESUME: NativeCodePush.codePushRestartModeOnNextResume// Restart the app the next time it is resumed from the background
243
+
InstallMode: {
244
+
IMMEDIATE: NativeCodePush.codePushInstallModeImmediate,// Restart the app immediately
245
+
ON_NEXT_RESTART: NativeCodePush.codePushInstallModeOnNextRestart,// Don't artificially restart the app. Allow the update to be "picked up" on the next app restart
246
+
ON_NEXT_RESUME: NativeCodePush.codePushInstallModeOnNextResume// Restart the app the next time it is resumed from the background
213
247
},
214
-
SyncStatus: {
248
+
SyncResult: {
215
249
UP_TO_DATE: 0,// The running app is up-to-date
216
250
UPDATE_IGNORED: 1,// The app had an optional update and the end-user chose to ignore it
217
-
UPDATE_APPLIED: 2// The app had an optional/mandatory update that was successfully downloaded and is about to be applied
251
+
UPDATE_INSTALLED: 2// The app had an optional/mandatory update that was successfully downloaded and is about to be installed.
252
+
},
253
+
SyncStatus: {
254
+
CHECKING_FOR_UPDATE: 1,
255
+
AWAITING_USER_ACTION: 2,
256
+
DOWNLOADING_PACKAGE: 3,
257
+
INSTALLING_UPDATE: 4,
258
+
IDLE: 5
259
+
},
260
+
DEFAULT_UPDATE_DIALOG: {
261
+
appendReleaseDescription: false,
262
+
descriptionPrefix: " Description: ",
263
+
mandatoryContinueButtonLabel: "Continue",
264
+
mandatoryUpdateMessage: "An update is available that must be installed.",
265
+
optionalIgnoreButtonLabel: "Ignore",
266
+
optionalInstallButtonLabel: "Install",
267
+
optionalUpdateMessage: "An update is available. Would you like to install it?",
0 commit comments