Skip to content
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

canMockLocation return fase on iOS simaulator iPhone12 #110

Open
Sideral-Inc opened this issue Oct 8, 2021 · 1 comment
Open

canMockLocation return fase on iOS simaulator iPhone12 #110

Sideral-Inc opened this issue Oct 8, 2021 · 1 comment

Comments

@Sideral-Inc
Copy link

Hi,

Not sure if i need to do something specific but when using the latest version (2.6.0) of this plugin, canMockLocation returns false when testing with the iOS simulator.

I even select "Apple" from the Location features of the Simulator.

@levibuzolic
Copy link
Collaborator

Looks like the current implementation just falls through to isJailbroken, which is always false on the simulator.

We could update canMockLocation to always return true on a simulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants