CanMockLocation method returns true even for the calender in xaiomi phones
JailMonkey.canMockLocation() Every it returns true in xaiomi phone, so unable to use the app further.
Testing Device: Any Xaiomi phone
Just want that the package should ignore the inbuild calender of Xaiomi and check for other apps that mocks the location.
@GantMan It would be great help, if you can look into this issue
Hello @Nikhil-Rattan how did you find out that the calendar app was using mock location, is there any way of detecting apps that use this mock location feature?
I'm facing a similar issue where no actual mock location app is being used in vivo devices but the CanMockLocation method returns true.
Hi @JoymenR,
You can check it by following 3 steps: In your phone go to
Settings>Developer Options>Select mock location app
Any app showing inside this option will be considered as mock location app by jail broken. For example it is considering calender app as mock location app and I'm not able to run my app
For your refernce I'm attching 2 screenshots:
I'm having the same problem on LG K50S device, it have a pre-installed LG application com.lge.gnsspostest which is returning true in this validation because it has the ACCESS_MOCK_LOCATION permission. At the same time, the Fake GPS application com.blogspot.newapphorizons.fakegps returns false because it does not have this permission in the manifest.
Any update on this false positive issue of canMockLocation() ? Vivo phones have this issue despite even if the developer options is turned off.