moko-geo icon indicating copy to clipboard operation
moko-geo copied to clipboard

Allow coarse location

Open janbina opened this issue 1 year ago • 2 comments

Hi guys, firstly, thanks for this library, it's very helpful for me!

However, one thing that was bothering me is that you always ask for Permission.LOCATION and there is no ability to work with coarse location.

This is especially bad since on newer android versions, user is always presented with an option to only allow coarse location. This could lead to a scenario when you call startTracking, user selects coarse location, thinking location features will start working, but they won't. And only next time you call startTracking, user is presented with another dialog to change location access from approximate to precise.

I've added an option to allowCoarseLocation with default value false, so it should be a non-breaking change. However, I really believe that true should be the default in the future, because of the aforementioned behavior.

janbina avatar Apr 23 '23 23:04 janbina

Hey @janbina, I like your change. Do you know when it will be merged?

Douvi avatar Jun 12 '23 20:06 Douvi

Hey @Alex009, Do you have any plan to push this change on the master in near future?

swapnil-musale avatar Jan 04 '24 17:01 swapnil-musale