android-management-api

Kiosk app updates when device not online at consistent times

最后都变了- 提交于 2020-07-10 06:02:35
问题 Background I currently maintain a Kiosk app on devices managed by the Android Management API. These devices run Android 7. I had been managing the app updates on these devices via the application minimumVersionCode , and moving the devices onto a new policy every time with a higher minimumVersionCode , forcing the affected devices to update the app. However some of the devices would factory reset if they had been off for a reasonable period of time (a week or two) even after extending the

Kiosk app updates when device not online at consistent times

时光毁灭记忆、已成空白 提交于 2020-07-10 06:01:30
问题 Background I currently maintain a Kiosk app on devices managed by the Android Management API. These devices run Android 7. I had been managing the app updates on these devices via the application minimumVersionCode , and moving the devices onto a new policy every time with a higher minimumVersionCode , forcing the affected devices to update the app. However some of the devices would factory reset if they had been off for a reasonable period of time (a week or two) even after extending the

Management API error: persistentPreferredActivities 4

心已入冬 提交于 2020-06-28 06:32:09
问题 I am building an Android KIOSK app, and I try to enable kiosk mode with Android Management API by providing a device policy. My policy json is: { "keyguardDisabled": true, "applications": [ { "packageName": "my.own.app", "installType": "KIOSK", "defaultPermissionPolicy": "GRANT" } ] } What's interesting, the policy is from official API's example, so I suppose that works. Whatever, always get this error: Error info persistentPreferredActivities 4 And just a google search does not give me any

Android Device Policy sync does not work until done manually

穿精又带淫゛_ 提交于 2020-06-27 08:49:09
问题 We have some android devices attached to Android Management API as fully managed work devices. Now when we push out some changes to the device policy such as Factory Reset Disabled , Adjust Volume Button Disabled or any other such controls, the devices don't sync it immediately. In fact we have to manually open up Android Device Policy and click on Sync for it actually get the changes. This is really troublesome because at times the policy doesn't sync for hours together and the devices don't

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

App does not update even with appAutoUpdatePolicy set to ALWAYS

喜欢而已 提交于 2020-06-25 06:33:13
问题 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

Android Management API: List of Enterprises/Policies?

≡放荡痞女 提交于 2020-03-25 14:29:41
问题 This is driving me nuts. I've successfully followed the Android Management API Quickstart to create a project/enterprise/policy and install it on a device. I stupidly didn't write down the enterprise or policy IDs. I tried to create a new set, but the non-enterprise email now gives an error that it's already part of another EMM. Is there a place in the console where I can see a list of the enterprises and/or policies that I've created? Where are these stored? Edit: I found the enterprises.get

Android Kiosk mode not working when using Android Management API Policy

蹲街弑〆低调 提交于 2020-02-28 05:40:30
问题 So I'm trying to get a single use, dedicated app + device to work in kiosk mode + auto launch. The app itself is built in Nativescript (with Angular), so not native Java, however this is still handled via an admin receiver etc as normal. When we use adb to set the device owner, kiosk mode works as expected. adb shell dpm set-device-owner com.domain.app/.DeviceAdminReceiver When we use an Android Management policy to enrol the device and auto install, the kiosk mode is never initiated

Android Kiosk mode not working when using Android Management API Policy

瘦欲@ 提交于 2020-02-28 05:40:23
问题 So I'm trying to get a single use, dedicated app + device to work in kiosk mode + auto launch. The app itself is built in Nativescript (with Angular), so not native Java, however this is still handled via an admin receiver etc as normal. When we use adb to set the device owner, kiosk mode works as expected. adb shell dpm set-device-owner com.domain.app/.DeviceAdminReceiver When we use an Android Management policy to enrol the device and auto install, the kiosk mode is never initiated

How to enable kiosk mode for a web app in the Android Management API

倖福魔咒の 提交于 2020-02-02 11:07:18
问题 One of our customers wants to enable the single kiosk mode with a web app. When we apply this configuration, it doesn't work: the web app is not displayed, and the device is not usable (even if the Chrome app is installed). When the kiosk mode is disabled, the web app is perfectly usable. So I guess there is an issue on the AMAPI side. Here is the application data of the profile: "applications": [ { "packageName": "com.google.enterprise.webapp.<generated-id>", "installType": "KIOSK",