yayaa / LocationManager

Simplify getting user's location for Android
806 stars 187 forks source link

Use mock locations #113

Closed virgil85 closed 2 years ago

virgil85 commented 3 years ago

Can I somehow enable to use mock locations as well? I have an external bluetooth GPS receiver which will send with a higher frequency and better accuracy than the internal GPS. I guess ALLOW_MOCK_LOCATIONS in the manifest is one part of the story but how to tell the Location Manager in your library to accept these mocked / test locations?

yayaa commented 3 years ago

I am not aware of any need to communicate to allow mock locations - if there is a separate permission, you can add that - but other than that, I don't think there is anything else you need to do.