jail-monkey icon indicating copy to clipboard operation
jail-monkey copied to clipboard

Behaviour on Android emulator

Open rayj10 opened this issue 5 years ago • 3 comments

Hi, I just found ur lib, great use case scenario btw! Just a quick check since I think it's better to ask the maker than trying to find jailbroken/rooted phones lol I got this when running on Android emulator:

jailbreak: true
mock: false
both: false

Is this actual false alarm from the lib or is it expected to behave that way since emulator is considered a rooted device? Also, does canMockLocation() module refer to the potential of having mock location or does it mean apps like fakeGPS is CURRENTLY active on the phone?

Thanks in advance! 😄

rayj10 avatar Aug 15 '18 07:08 rayj10

UPDATE: on IOS sim its returning isJailBroken() === true and canMockLocation() === true

Please let me know if this is a bug thanks 😄

rayj10 avatar Aug 15 '18 08:08 rayj10

eeek. I'll have to review. I'm pretty full-up right now, but PRs welcome. I haven't had time lately to jailbreak a phone for testing. It's changed over the past year.

GantMan avatar Aug 20 '18 15:08 GantMan

@GantMan did you get time to check this, I've also come across this issue for Android simulator only

yogendrajs avatar Oct 04 '23 07:10 yogendrajs