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
Copy file name to clipboardexpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,8 @@ The `Upgrader` class can be customized by setting parameters in the constructor,
156
156
* languageCode: the language code that will override the system locale, which defaults to ```null```
157
157
* messages: optional localized messages used for display in `upgrader`
158
158
* minAppVersion: the minimum app version supported by this app. Earlier versions of this app will be forced to update to the current version. It should be a valid version string like this: ```2.0.13```. Overrides any minimum app version from UpgraderStore. Defaults to ```null```.
159
+
* disableOptionalUpdates: If set to `true`, this flag will disable optional app updates for the current version.
160
+
When disabled, only mandatory updates (those below minimum app version) will be prompted to the user. Defaults to `false`.
159
161
* storeController: a controller that provides the store details for each platform, defaults to `UpgraderStoreController()`.
160
162
* upgraderDevice: an abstraction of the device_info details which is used for the OS version, defaults to `UpgraderDevice()`.
161
163
* upgraderOS: information on which OS this code is running on, defaults to `UpgraderOS()`.
0 commit comments