首页 > 解决方案 > Android Management API /devices 是否有延迟

问题描述

我们目前在使用 google api 时遇到问题:

https://androidmanagement.googleapis.com/v1/enterprises/ <our_enterprise>/devices/<device_name>

此 API 返回有关指定设备的信息,包括有关其应用程序的信息。我们注意到 api 返回给我们的是我们的一部手机之间的区别。我们的手机有一个更新的应用程序(21.05),但 api 总是返回以前的版本(21.01)。这对于手机的支持是有问题的,因为我们无法获得手机上安装的应用程序的可靠和即时信息。你知道这个 api 是否有延迟时间来返回正确的数据,或者它是否是一个错误?

真挚地。阿德里安。

标签: android-management-api

解决方案


As tested, there is latency time to return the data when getting application reports. I am unable to determine the exact delay time.

Currently, there is no concrete way to easily get the application reports at the exact time. However, if there is an update in the policy, then query an application report, the updated application report can be acquired. I suggest that you update a policy that will not directly affect your device and then query the report.

Please refer to this link for additional information.


推荐阅读