Updated docs for rollback retry mechanism (#1468)

This commit is contained in:
Alexander Goncharov 2018-12-07 11:16:23 +03:00 коммит произвёл GitHub
Родитель 693b769ba6
Коммит 099ab06bdc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -148,7 +148,7 @@ The `codePush` decorator accepts an "options" object that allows you to customiz
* __title__ *(String)* - The text used as the header of an update notification that is displayed to the end user. Defaults to `"Update available"`.
* __rollbackRetryOptions__ *(RollbackRetryOptions)* - An "options" object used to determine whether a rollback retry mechanism should be enabled, and if so, what settings to use. Defaults to `null`, which has the effect of disabling the retry mechanism completely. Setting this to any truthy value will enable the retry mechanism with the default settings, and passing an object to this parameter allows enabling the retry mechanism as well as overriding one or more of the default values. The rollback retry mechanism allows the application to attempt to reinstall an update that was previously rolled back (with the restrictions specified in the options).
* __rollbackRetryOptions__ *(RollbackRetryOptions)* - The rollback retry mechanism allows the application to attempt to reinstall an update that was previously rolled back (with the restrictions specified in the options). It is an "options" object used to determine whether a rollback retry should occur, and if so, what settings to use for the rollback retry. This defaults to null, which has the effect of disabling the retry mechanism. Setting this to any truthy value will enable the retry mechanism with the default settings, and passing an object to this parameter allows enabling the rollback retry as well as overriding one or more of the default values.
The following list represents the available options and their defaults:

10
typings/react-native-code-push.d.ts поставляемый
Просмотреть файл

@ -137,11 +137,11 @@ export interface SyncOptions {
updateDialog?: UpdateDialog;
/**
* An "options" object used to determine whether a rollback retry mechanism should be enabled, and if so, what settings to use.
* Defaults to `null`, which has the effect of disabling the retry mechanism completely. Setting this to any truthy value will enable
* the retry mechanism with the default settings, and passing an object to this parameter allows enabling the retry mechanism as well
* as overriding one or more of the default values. The rollback retry mechanism allows the application to attempt to reinstall
* an update that was previously rolled back (with the restrictions specified in the options).
* The rollback retry mechanism allows the application to attempt to reinstall an update that was previously rolled back (with the restrictions
* specified in the options). It is an "options" object used to determine whether a rollback retry should occur, and if so, what settings to use
* for the rollback retry. This defaults to null, which has the effect of disabling the retry mechanism. Setting this to any truthy value will enable
* the retry mechanism with the default settings, and passing an object to this parameter allows enabling the rollback retry as well as overriding
* one or more of the default values.
*/
rollbackRetryOptions?: RollbackRetryOptions;
}