-
Notifications
You must be signed in to change notification settings - Fork 141
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
Android False Positives #12
Comments
I'm happy to update the code. I'm currently unaware of what the prescribed detection methods are for those versions, but if you would be so kind as to link me to any docs/stackoverflows for each version, I'll implement the code. Additionally this is a difficult thing to test (# of devices and all) so help appreciated there as well. I'd like this library to remain active. Let's get those updates in place! |
Thanks for the quick response. I'm also completely unaware of the current methods, but FWIW, https://github.com/beast/react-native-isDeviceRooted worked for the devices I mentioned above. Still struggling with iOS compilation so I can't comment on that, but Android seems to be working as expected. This seems to be the relevant file: https://github.com/beast/react-native-isDeviceRooted/blob/master/android/app/src/main/java/my/fin/RNIsDeviceRootedModule.java |
Happy to test again on these devices if you need some help with that. |
Thanks @gustavjf - I will review |
Awesome, thank you! |
If there's anything else I can do to help other than test on physical devices, let me know. I'd look into preparing a PR but my Java chops are non-existent. |
@gustavjf - can you test this branch please? |
Just tested this after adding a missing import for As is, it won't compile because of that missing import though. Thank you for digging into this! |
Sorry for the wait, it's been a busy week. |
I've just installed and linked the library and called
JailMonkey.isJailBroken()
incomponentDidMount()
of my top-level component. I got three false positives on separate physical devices:Does this library not yet support 6.X and above?
The text was updated successfully, but these errors were encountered: