即使appAutoUpdatePolicy设置为ALWAYS,应用程序也不会更新 [英] App does not update even with appAutoUpdatePolicy set to ALWAYS
问题描述
我们的Android本机Companion App会在注册后自动安装在设备上.匹配的配置文件条目为:
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"
]
一个多星期前,我们已在Play商店中推送了更新.但是,即使配置文件允许自动更新("appAutoUpdatePolicy": "ALWAYS"
)
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"
)
我没有看到有关该设备的伴侣应用程序的任何nonComplianceDetails
问题.
I don't see any nonComplianceDetails
issue regarding the Companion App for the device.
当我们在设备上启动Play商店应用时,我们实际上看到了更新待处理:
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?
非常感谢您的帮助.
推荐答案
遇到同样的问题.
我们现在正在使用一种变通方法,即使用installType : "FORCE_INSTALLED"
We are now using a workaround by pushing the policy again with the latest minimumVersionCode
of the application with installType : "FORCE_INSTALLED"
这将确保将应用程序更新到指定的minimumVersionCode
This will ensure that the app is updated to the specified minimumVersionCode
这篇关于即使appAutoUpdatePolicy设置为ALWAYS,应用程序也不会更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!