title: Android EMM Minimum Version Not Updating Application
body: <p>Using the EMM API I've set the minimum version to 10 and the current version of the application installed on the device is 9. I've also set the update policy to be high priority. I was expecting the application to be automatically updated. However, instead of being updated a warning is shown on the screen saying if the application is not updated the device will be erased. The application is running in Kiosk mode.</p>
  <p>The application is a 'private' application in the play store.</p>
  <p>The policy looks like:</p>
  <pre><code>{&quot;name&quot;: &quot;enterprises/LC03fyux1e/policies/staging-ben&quot;,
    &quot;version&quot;: &quot;7&quot;,
    &quot;applications&quot;: [
      {
        &quot;packageName&quot;: &quot;io.teller.droid.staging&quot;,
        &quot;installType&quot;: &quot;KIOSK&quot;,
        &quot;defaultPermissionPolicy&quot;: &quot;GRANT&quot;,
        &quot;managedConfiguration&quot;: {
        ...
        },
        &quot;minimumVersionCode&quot;: 10,
        &quot;autoUpdateMode&quot;: &quot;AUTO_UPDATE_HIGH_PRIORITY&quot;
      }
    ],
    &quot;screenCaptureDisabled&quot;: true,
    &quot;cameraDisabled&quot;: true,
    &quot;systemUpdate&quot;: {
      &quot;type&quot;: &quot;WINDOWED&quot;,
      &quot;startMinutes&quot;: 120,
      &quot;endMinutes&quot;: 240
    },
    &quot;addUserDisabled&quot;: true,
    &quot;adjustVolumeDisabled&quot;: true,
    &quot;factoryResetDisabled&quot;: true,
    &quot;mountPhysicalMediaDisabled&quot;: true,
    &quot;modifyAccountsDisabled&quot;: true,
    &quot;safeBootDisabled&quot;: true,
    &quot;uninstallAppsDisabled&quot;: true,
    &quot;statusBarDisabled&quot;: true,
    &quot;keyguardDisabled&quot;: true,
    &quot;statusReportingSettings&quot;: {
      &quot;applicationReportsEnabled&quot;: true,
      &quot;deviceSettingsEnabled&quot;: true,
      &quot;softwareInfoEnabled&quot;: true,
      &quot;memoryInfoEnabled&quot;: true,
      &quot;networkInfoEnabled&quot;: true,
      &quot;displayInfoEnabled&quot;: true,
      &quot;powerManagementEventsEnabled&quot;: true,
      &quot;hardwareStatusEnabled&quot;: true,
      &quot;systemPropertiesEnabled&quot;: true,
      &quot;commonCriteriaModeEnabled&quot;: true
    },
    &quot;bluetoothContactSharingDisabled&quot;: true,
    &quot;bluetoothConfigDisabled&quot;: true,
    &quot;credentialsConfigDisabled&quot;: true,
    &quot;tetheringConfigDisabled&quot;: true,
    &quot;vpnConfigDisabled&quot;: true,
    &quot;createWindowsDisabled&quot;: true,
    &quot;networkResetDisabled&quot;: true,
    &quot;outgoingBeamDisabled&quot;: true,
    &quot;outgoingCallsDisabled&quot;: true,
    &quot;removeUserDisabled&quot;: true,
    &quot;shareLocationDisabled&quot;: true,
    &quot;smsDisabled&quot;: true,
    &quot;unmuteMicrophoneDisabled&quot;: true,
    &quot;usbFileTransferDisabled&quot;: true,
    &quot;ensureVerifyAppsEnabled&quot;: true,
    &quot;stayOnPluggedModes&quot;: [
      &quot;AC&quot;,
      &quot;USB&quot;
    ],
    &quot;setUserIconDisabled&quot;: true,
    &quot;setWallpaperDisabled&quot;: true,
    &quot;locationMode&quot;: &quot;LOCATION_DISABLED&quot;,
    &quot;networkEscapeHatchEnabled&quot;: true,
    &quot;bluetoothDisabled&quot;: true,
    &quot;funDisabled&quot;: true,
    &quot;appAutoUpdatePolicy&quot;: &quot;ALWAYS&quot;,
    &quot;skipFirstUseHintsEnabled&quot;: true,
    &quot;advancedSecurityOverrides&quot;: {
      &quot;untrustedAppsPolicy&quot;: &quot;DISALLOW_INSTALL&quot;,
      &quot;googlePlayProtectVerifyApps&quot;: &quot;VERIFY_APPS_ENFORCED&quot;,
      &quot;developerSettings&quot;: &quot;DEVELOPER_SETTINGS_ALLOWED&quot;,
      &quot;commonCriteriaMode&quot;: &quot;COMMON_CRITERIA_MODE_DISABLED&quot;
    },
    &quot;autoDateAndTimeZone&quot;: &quot;AUTO_DATE_AND_TIME_ZONE_ENFORCED&quot;
  }
  </code></pre>
  <p>Important note: The policy shown here appears to work. The policy where it was not working included 'installAppsDisabled: true'. It seems like if you disable installing apps with the policy then this also prevents automatically updating applications.</p>