API to detect if 'Developer Options' are enabled in Android
Yandamuri opened this issue · 2 comments
Now a days many end users(Non Developers) are enabling Developer Options
in their Android
mobiles. Mostly people are enabling Developer Options
to set the mock location app. Though setting Mock location
option was provided for developer for testing purpose, Many end users are using it extensively in a wrong way like sales or marketing people are mocking their location without going to that particular location. Preventing such a things in app is a big challenge for developer.
My proposal here is If react-native
can provide an API to detect if Developer Options
are enabled, it would be useful for developer to prevent things like using mock location apps.
This already exists in community modules: https://github.com/GantMan/jail-monkey
@liamjones This library doesn't seem like actively maintained. Many unresolved issues were there.