Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to detect if 'Developer Options' are enabled in Android #746

Open
Yandamuri opened this issue Dec 13, 2023 · 2 comments
Open

API to detect if 'Developer Options' are enabled in Android #746

Yandamuri opened this issue Dec 13, 2023 · 2 comments

Comments

@Yandamuri
Copy link

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.

@liamjones
Copy link

This already exists in community modules: https://github.com/GantMan/jail-monkey

@Yandamuri
Copy link
Author

@liamjones This library doesn't seem like actively maintained. Many unresolved issues were there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants