I am currently developing an android application that is supposed to run in kiosk mode. Everything else works well however, we have a lock screen issue, the application will e completely unmanned and therefore, the lockscreen prevents us from running upon restart.
I tried:
policy_name = enterprise_name + '/policies/policy1'
policy_json =
{
"applications": [
{
"packageName": "com.micro.buscamera",
"installType": "KIOSK",
"defaultPermissionPolicy": "GRANT"
}
],
"debuggingFeaturesAllowed": true,
"maximumTimeToLock": "0"
}
androidmanagement.enterprises().policies().patch(
name=policy_name,
body=json.loads(policy_json)
).execute()
However, the maximumTimeToLock did not seem to work. Any and all suggestions will be highly appreciated