Is it possible to implement in Blokada the ability to set it as a device administrator app so that it cannot be uninstalled?
The possibility of such a setting would not be on the side of our app, but on the side of Android. And it would be necessary to root the phone first.
I recommend checking out the XDA forum: https://xdaforums.com/t/is-there-a-way-to-make-an-app-into-a-system-app.4612591/
No root required here. There are apps acting as device admin and they work well on unrooted phones.
E.g. fmd-foss / FMD Android · GitLab
@tomash This is different from a system app.
Maybe I didn’t explain myself well, there is no need for root, it’s a simple option made available by many apps, especially those designed for security and privacy.
It is useless to give the possibility of entering a PIN to protect the app like in Blokada if you do not then give the possibility to make it uninstallable.
I’ll post a photo here for example, this is the Admin Apps section in Android settings:
Guys, thanks for your clarification. I will pass on this suggestion to the team and see what can be done.
I wouldn’t advise to Root your phone. By Rooting your phone is like an “open door” and a “open season” for hackers. So it’s not advisable to do it. As a result, by Rooting into your phone is hacking into your phone and again, it may be accessible for hackers.
Hello again, I would like to ask you what situation caused you to need the ability to give our app administrator rights? In other words, why would you want to prevent uninstalling our app on your own phone?
because when the device is used by more than one person, to bypass the block I set within the app through the filters, he simply uninstalls it and that’s it.
In many other apps like yours, or those that in general deal with privacy and security, there is almost always the possibility of enabling it as device admin, while in yours there is not.
Ok, one more question. If this person has physical access to the device, couldn’t they go into the Android app settings and disable admin permissions and then uninstall the app?
no if android settings are locked