autoUpdateMode property

String? autoUpdateMode
getter/setter pair

Controls the auto-update mode for the app. Possible string values are:

  • "AUTO_UPDATE_MODE_UNSPECIFIED" : Unspecified. Defaults to AUTO_UPDATE_DEFAULT.
  • "AUTO_UPDATE_DEFAULT" : The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.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.
  • "AUTO_UPDATE_POSTPONED" : 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.
  • "AUTO_UPDATE_HIGH_PRIORITY" : The app is updated as soon as possible. No constraints are applied.The device is notified immediately about a new update after it becomes available.

Implementation

core.String? autoUpdateMode;