I recently came across an app on the play store called Lock Me Out which allows you to lock yourself out of your phone for a given amount of time. I’m surprised something like that is allowed on the play store. Any ideas how it is done? It must ask for a lot of permissions when launching it right?
Somehow applications can request to be a device Administrator.
In that case it has a lot more permissions to lock out a user for example.
The android device manager for example uses this feature so you can lock your phone remotely if its has been list.#
If you would like to do this in unity you would need to write a native plugin to get this working.
Allowing an application to have administrator permissions seems like something the app stores wouldn’t allow. I figured I would have to write a plugin to do it. Might be an interesting future project. Thanks.