compass icon indicating copy to clipboard operation
compass copied to clipboard

No location manager for Android ? Need to activate manually

Open Feinate opened this issue 6 months ago • 3 comments

There is an issue reproduced on two phones: one Xiaomi and one Pixel 7 Pro. On both devices, after granting location permission, there is no dialog prompting to enable the Location Service directly from the library. Instead, the user must manually activate the Location Service in the device settings. I have tested this multiple times on different devices, and the behavior is consistent. Could you please clarify why this happens?

Thank you!

Feinate avatar Jun 11 '25 06:06 Feinate

Currently this library doesn't handle that case on mobile devices.

It is a planned feature. I haven't quite decided yet how to handle it. It will most likely end up being a subclass of:

public sealed interface Error : GeolocatorResult

which would be up to the developer to handle the prompting the user to enable location services. I am open to suggestions and PR's however.

jordond avatar Jun 11 '25 15:06 jordond

Maybe why not when i have some time, thank's !

Feinate avatar Jun 24 '25 22:06 Feinate

Is there some new on it ?

Feinate avatar Oct 07 '25 06:10 Feinate