Do you want to block some websites on the user device by allowing them to install the application?
If so, it will only work if they are rooted. If they are, you can add the URL entry to the hosts file and redirect it to another IP address (for example, 127.0.0.1). But since they should be implemented, they are likely to receive a popup asking them to allow root access. This may cause some suspicion from the user.
On a device that is not deployed, it is not possible to prevent a standard browser from accessing a specific website by installing the application.
source share