Levi Buzolic
fa17b2a268
Upgrade rootbeer package to latest (0.0.8)
2020-11-10 12:30:15 +11:00
Zankich
437a5dab36
Fixed support for android mock location detection on versions Marshmellow and above
2020-04-21 19:23:20 -07:00
Geraint White
cefe9b5890
Check root without busybox for all devices
...
Since some manufacturers leave the busybox binary present in the rom, it's better to use [isRootedWithoutBusyBoxCheck()](https://github.com/scottyab/rootbeer#false-positives ) for all devices rather than specifying certain brands to avoid false positives.
2019-09-04 10:37:24 +01:00
Danthony Pabon
3d5c7eebcb
Improvement in general
...
*The existing code was improved to return promises every time it is called
*Added the function to know if the device has activated the development function
*Other improvement in general
//New use way
async componentDidMount() {
// Check if device has development settings enabled
let Dev = await JailMonkey.isDevelopmentSettingsMode()
console.log(Dev) // true or false
}
2019-07-25 10:13:12 -04:00
Amedeo Zucchetti
2bc46489b0
Update build.gradle
...
With react-native 0.59.9 the Android build is broken. This will fix it.
2019-06-19 17:29:45 +02:00
Giovanni
f9b3f4d24d
the methods should stay static
2019-04-03 14:51:53 +02:00
Giovanni
04e660e650
Merge branch 'master' into feature/isDebugged
...
# Conflicts:
# android/src/main/java/com/gantix/JailMonkey/JailMonkeyModule.java
2019-03-15 08:34:10 +01:00
Giovanni
7655eef50b
added the hookDetection
2019-03-14 16:56:31 +01:00
Giovanni
217fa72013
added missing libraries
2019-03-14 15:50:59 +01:00
Giovanni
f5f46a912e
added the android part
2019-03-14 15:48:45 +01:00
Jakob Krigovsky
5537b9b0e6
Compare brand in a case-insensitive manner
2019-03-01 13:06:03 +01:00
Florian Hirsch
2457aa5736
Fix NPE when ALLOW_MOCK_LOCATION is missing
2019-02-26 21:24:33 +01:00
Moby
3f96a338b3
Update build.gradle
2019-01-07 13:09:26 +08:00
Kelok Chan
d80afd7c7c
Check root for Xiaomi without checking BusyBox
...
Xiaomi devices are falsely evaluated as rooted because of the presence of BusyBox.
2018-12-03 13:59:51 +08:00
George Hall
3c0221cf57
updated build.gradle with compile dependency
2018-05-29 15:15:43 +10:00
George Hall
2cc0aa00ec
Added RootBeer to android for better jailbreak detection
2018-05-29 15:13:12 +10:00
Gustavo E. Jimenez Folta
114362b8cb
Rename root check methods' number suffixes
2017-09-07 15:24:53 +02:00
Gustavo E. Jimenez Folta
6865e5a60a
Remove root check methods testing for presence of 'test-keys' build tag
...
Build tag containing 'test-keys' does not always mean a device is rooted.
See:
https://github.com/GantMan/jail-monkey/issues/18
2017-09-07 15:16:40 +02:00
David Carley
0ef3e48536
Removed "@Override" from createJSModules, per deprecation in RN 0.47
2017-08-21 12:16:12 -07:00
Gant Laborde
1043f36e9d
add missing import Java
2017-06-21 08:32:59 -05:00
Gant Laborde
ca38b2c605
add new methods for detection
2017-06-20 13:45:20 -05:00
ermankuruoglu
9738a1b1f8
Android always says that this is a rooted phone
...
Some android devices always return 'rooted phone' because of canExecuteCommand method. process waitFor functionality added to function.
2017-05-29 17:10:00 +03:00
fei
015af7a468
Fix issue where positive was given only if all jailbreak conditions were met.
2016-12-19 11:00:30 -08:00
fei
70093fcd19
Check rootyness in a way that prevents false positives.
2016-12-06 10:45:35 -08:00
fei
0f385e9f6b
Detect if application is running on external storage.
2016-08-19 15:24:11 -07:00
Gant
e551732dd7
added android, updated readme
2016-07-20 18:29:34 -05:00