autoUpdateMode property

String? autoUpdateMode
getter/setter pair

The auto-update mode for the product.

When autoUpdateMode is used, it always takes precedence over the user's choice. So when a user makes changes to the device settings manually, these changes are ignored. Possible string values are:

  • "autoUpdateModeUnspecified" : Unspecified. Defaults to AUTO_UPDATE_DEFAULT.
  • "autoUpdateDefault" : The app is automatically updated with low priority to minimize the impact on the user. The app is updated when the following constraints are met: * The device is not actively used * The device is connected to an unmetered network * The device is charging The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.
  • "autoUpdatePostponed" : The app is not automatically updated for a maximum of 90 days after the app becomes out of date. 90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again. The user can still manually update the app from the Play Store at any time.
  • "autoUpdateHighPriority" : The app is updated as soon as possible. No constraints are applied. The device is notified immediately about a new app update after it is published by the developer.

Implementation

core.String? autoUpdateMode;