@@ -122,9 +122,9 @@ export interface SyncOptions {
122
122
123
123
/**
124
124
* Specifies the minimum number of seconds that the app needs to have been in the background before restarting the app. This property
125
- * only applies to updates which are installed using `InstallMode.ON_NEXT_RESUME`, and can be useful for getting your update in front
126
- * of end users sooner, without being too obtrusive. Defaults to `0`, which has the effect of applying the update immediately after a
127
- * resume, regardless how long it was in the background.
125
+ * only applies to updates which are installed using `InstallMode.ON_NEXT_RESUME` or `InstallMode.ON_NEXT_SUSPEND` , and can be useful
126
+ * for getting your update in front of end users sooner, without being too obtrusive. Defaults to `0`, which has the effect of applying
127
+ * the update immediately after a resume or unless the app suspension is long enough to not matter , regardless how long it was in the background.
128
128
*/
129
129
minimumBackgroundDuration ?: number ;
130
130
@@ -317,8 +317,10 @@ declare namespace CodePush {
317
317
ON_NEXT_RESTART ,
318
318
319
319
/**
320
- * Indicates that you want to install the update, but don't want to restart the
321
- * app until the next time the end user resumes it from the background.
320
+ * Indicates that you want to install the update, but don't want to restart the app until the next time
321
+ * the end user resumes it from the background. This way, you don't disrupt their current session,
322
+ * but you can get the update in front of them sooner then having to wait for the next natural restart.
323
+ * This value is appropriate for silent installs that can be applied on resume in a non-invasive way.
322
324
*/
323
325
ON_NEXT_RESUME ,
324
326
0 commit comments