androidreactjsreact-nativewebviewreact-native-webview

Check if developer options is enabled in React-native


I am developing a react-native web view app. For some reason, On Android. I don't want my users to allow inside the app if enable developer options are turned on. How can I achieve this?


Solution

  • When the user just enters inside the application, you can check if the Developer Options is enabled or not. You can use "Jail Monkey" Library to do that.

    After checking for Developer Options, you can display a pop up that you can't enter the application because developer options are enabled.