1

I am creating a device policy manager app, its working fine in old device till android 10, but on higher versions while scanning qrcode its giving the error , can't setup device, contact your it admin for help.

  • I am getting the same also on a new phone. tested number of times on my other phones – Donald Jansen Nov 02 '22 at 15:15
  • Try to follow logic from this repo: https://github.com/googlesamples/android-testdpc. If I'm not mistaken from Android 10 you need to apply ADMIN_POLICY_COMPLIANCE and GET_PROVISIONING_MODE intent actions in Manifest – Jamshid Dec 06 '22 at 13:16

0 Answers0