App does not update even with appAutoUpdatePolicy set to ALWAYS

女生的网名这么多〃 提交于 2020-06-25 06:34:27

问题


Our Android native Companion App is automatically installed on the device upon enrollment. The matching profile entry is:

"packageName": "app.domain.companionapp",
"installType": "REQUIRED_FOR_SETUP",
"defaultPermissionPolicy": "GRANT",
"managedConfiguration": {
  "key1": "value1",
  "key2": "value2"
},

"delegatedScopes": [
  "ENABLE_SYSTEM_APP",
  "PACKAGE_ACCESS"
]

We have pushed an update on the Play Store more than a week ago. But the update does not install automatically on the devices, even if the profile allows auto updates ("appAutoUpdatePolicy": "ALWAYS")

I don't see any nonComplianceDetails issue regarding the Companion App for the device.

When we launch the Play Store app on the device, we actually see that updates are pending:

How come? How can we be sure that the app update will be automatically installed on the device?

Thanks a lot in advance for your help.


回答1:


Facing the same issue.

We are now using a workaround by pushing the policy again with the latest minimumVersionCode of the application with installType : "FORCE_INSTALLED"

This will ensure that the app is updated to the specified minimumVersionCode



来源:https://stackoverflow.com/questions/56885377/app-does-not-update-even-with-appautoupdatepolicy-set-to-always

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!