Search code examples
androidandroid-notifications

How to prevent user from turning off app notifications


I'm trying to find out how to achieve the following:

enter image description here

The people in the chat hinted that it may be a system-app setting, but that was as far as I could get. Even being a system-app setting I cannot find it anywhere, so what do I need to do in order for my app to be able to do the same thing?

Before anyone comes with comments stating how user-unfriendly this is and not to do it, this is not for a generic app but for a business centered work environment where it is important to ensure the notifications are not turned off, especially when the devices can be passed onto other colleagues between shifts and one of them could've turned something off and the others are not aware of.


Solution

  • As it seems this is only possible with system apps or at least with apps that have special access - which is not available to apps normally installed from the PlayStore or similar.