Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Mock locations not received #64

Closed
surdu opened this issue Jun 28, 2017 · 2 comments
Closed

Mock locations not received #64

surdu opened this issue Jun 28, 2017 · 2 comments
Milestone

Comments

@surdu
Copy link
Contributor

surdu commented Jun 28, 2017

I have Lockito setup to send mock locations on my OnePlus 3T. I see that Google Maps shows the fake locations, so I know that Lockito works correctly, but in my application, the location change handler never triggers.

PS: I took care so that the mock accuracy in bellow desider accuracy.

@surdu
Copy link
Contributor Author

surdu commented Jul 24, 2017

I have a small update: even with mock locations enabled, I still get the real location ... This is very peculiar...

@radeva radeva added the S: low label Aug 11, 2017
@angeltsvetkov angeltsvetkov added this to the vFuture milestone Sep 1, 2017
@DimitarTachev
Copy link
Contributor

Hi @surdu

The problem was that the plugin was based on the native Android location manager, not the Google Play Services one.

We had a lot of issues because of this approach and we fully replaced it with the Google Play Services one (used by Google Maps). The watchLocation method could use mock locations now (however the getCurrentLocation method is still working only with real locations).

I hope this is applicable to you.

You could check the v4.0.0 release notes here.

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

No branches or pull requests

4 participants