Questions tagged [android-management-api]

The Android Management API provides a way to manage enterprise devices and apps, whether you specialize in developing enterprise mobility management (EMM) software or are developing an in-house solution for your organization.

The Android Management API is compatible with any device running Android 5.1 or above that has Google Play installed. Designed with the needs of businesses in mind, it doesn't matter if an organization's devices come from a single manufacturer or from multiple sources. You can use the Android Management API to develop a single solution to manage them all.

Links:

Release Notes

333 questions
2
votes
1 answer

Android Management API permissionGrants in policy applications not reflecting on device

I have an application within this policy which contains permissionGrants. I have applied this policy to multiple fully managed devices; however, when going to applications to look at the permissions on the physical device, these GRANT permissions…
2
votes
1 answer

Android Management API - Seamless update of a kiosk app

I've read the Management API documentation and I think there's no reference to this topic, I didn't find any information about it here on SO either. We're analyzing EMM solution providers for provisioning devices with a set of applications, trying…
pjpires
  • 154
  • 1
  • 2
  • 7
2
votes
3 answers

How to get runtime time permissions using android management API?

I am using the Android Management API to get runtime permission android.permission.SYSTEM_ALERT_WINDOW. The app is going to be installed on fully managed devices. The policy has the below permissions defined:- defaultPermissionPolicy: "GRANT" I…
2
votes
2 answers

Why isn'y my KIOSK app is updating automatically?

I have a KIOSK app that runs on fully managed devices. I have pushed several updates on PlayStore and I can see the updated version on PlayStore App but they are not updating automatically. I also set the auto-update policy to Always but still no…
Zubair Rehman
  • 2,335
  • 2
  • 20
  • 25
2
votes
1 answer

Android Management not working but it enrolls the devices

I'm trying to develop an internal EMM console, at first it seemed like everything worked fine but after further inspection we noticed that the enrolled device(via QR code) was not downloading the apps specified on the policy and when you call the…
SoftHolyic
  • 21
  • 3
2
votes
1 answer

How to get Device id for using Android Management API?

I'm trying to build an app for MDM using Android Management API. But I can't find an API to create a device id. How to get Device id for using Android Management API?
Hyeyeon
  • 411
  • 1
  • 4
  • 12
2
votes
1 answer

Android Management API - boot device when power is conncted

So, as the title describes, I'm looking for a way to boot an Android device when the power charger is connected. We are making dedicated devices, in kiosk mode, and are using the Android Management API to setup everything on the device. This covers…
2
votes
1 answer

How to know if user disables or deletes work profile in settings?

I am trying to see if device status gets updated when the work profile is disabled or deleted on client side through Settings. After making changes on the client, both disable and deleted, the status returned by enterprises.devices.get API is…
2
votes
1 answer

Android Management API Enrollment "Invalid Token": How to debug?

I'm trying to enroll a new device using the quickstart colab guide. I have successfully create an enterprise, a policy and an enrollment token. I can also successfully query those using the Android Management API. However, enrollment is not…
user1195883
  • 654
  • 4
  • 19
2
votes
3 answers

Using Google EMM how to block the user from formatting the device

We want to block the user from formatting the device. So we have created a custom policy with following options. "factoryResetDisabled": true, "safeBootDisabled": true, This does not work when Policy is enrolled, as when we went to boot-loader…
2
votes
1 answer

Domain and domain user from the enterprise in Android management api EMM

I am creating a new EMM console for many organizations. By using android management API I created an enterprise, where I could receive only the enterprise id I could not get organization name and sign in user email from the enterprise value. Can…
Loganathan R P
  • 73
  • 1
  • 1
  • 7
2
votes
1 answer

Does Android management API support custom DPC apps?

https://developer.android.com/work/dpc/build-dpc Caution: Android Enterprise is no longer accepting new registrations for custom device policy controllers (DPCs). Learn more. Hi @Fred, I found this above information from the mentioned path. I…
2
votes
1 answer

How to know (server-side) when a device get enrolled?

Is there a way to know in real-time when a device get actually enrolled on an Android Management EMM solution? In the official documenation it's suggeted an example of license checking that should work by setting a policy to the a new device within…
Alessandro Prete
  • 420
  • 4
  • 10
2
votes
1 answer

Kiosk app updates when device not online at consistent times

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…
S.Thomson
  • 240
  • 1
  • 9
2
votes
1 answer

KeyedAppStates aren't reported to the AMAPI

I have implemented the feedback channel with the KeyedAppStates in my application. I'm calling KeyedAppStatesReporter.setStatesImmediate(hashSetOf(state)) where state is a keyedAppState created with the builder, but nothing is reported on the AMAPI…