Open iremyk opened 10 months ago
I guess this is not relevant to react-native upgrade @iremyk . After I investigate to implementation of isJailBroken
function. It is returning if the target is simulator.
` #if TARGET_OS_SIMULATOR return NO;
To able to get true simply return YES like below;
` #if TARGET_OS_SIMULATOR return YES;
I'm running the debug release APK on my android device, which is rooted, but I still get no message indicating that the device is rooted.
We are currently facing an issue with the jailbreak detection feature in the
jail-monkey
library after upgrading our React Native application to a newer version. Prior to the upgrade, theisJailBroken()
method was functioning correctly and returning true as expected when running the app on both Android emulator and iOS simulator.However, post the React Native upgrade, the
isJailBroken()
method now consistently returns false when the app is run on the emulator.Additional Information:
We have thoroughly checked for changes in the React Native upgrade documentation and the
jail-monkey
release notes but haven't found any relevant information. Any guidance or insights into resolving this issue would be greatly appreciated.