I'm creating kiosk app where I'm facing error whe...
# compose-android
d
I'm creating kiosk app where I'm facing error when I'm trying to use device owner
Copy code
if (devicePolicyManager.isDeviceOwnerApp(activity.packageName))
I'm getting false even though it is right.
not kotlin but kotlin colored 3
if someone can share demo app it will be +
u
d
tried this but not working
u
You have to give the device owner permission
Remove all the accounts from the device and use the adb command