Rananjaya Bandara
Rananjaya Bandara

Reputation: 43

How to restriction React native app uninstall

I m developing a parental control app using react-native. basically this app does some basic parental control function. Is any way to restrict app uninstall in android. because this has some requirement to restrict app uninstall without parent permissions.

Upvotes: 1

Views: 1117

Answers (2)

Abhishek Gautam
Abhishek Gautam

Reputation: 1767

For Android:

You cannot make any app your device admin or stop it from getting uninstalled, But the app should have the feature or permission to be a device admin in order to achieve what you need.

As you can see in the list of apps in settings>security>device administrator.

Just check on the forums, how to get the admin permission/privileges for your reactive native apps.

Upvotes: 3

Pavan Skipo
Pavan Skipo

Reputation: 1867

I think that you cannot prevent an app from being uninstalled.

Alternative idea/suggestion: Check if you could send a mail/notification to the parent when the app is uninstalled. Since a parental control app will always be running you could implement a mechanism where it sends the parent a notification whenever the app is turned off/removed.

Upvotes: 4

Related Questions