Skip to content

Inconsistency between Android and iOS when asking for precise location #218

@michalgwo

Description

@michalgwo

On Android, when the user denies access to precise location but grants access to coarse location, they are asked again if they want to grant precise location. If denied, Error(cause=PermissionDenied(forever=true)) is returned.

On iOS, when the user denies access to precise location, the library returns an inaccurate location.

The behaviour of these 2 platforms should be the same.

I propose to create an option emitCoarseLocation when the user denies access to precise location, and emitCoarseLocation is true, it should emit location, if emitCoarseLocation is false, it should ask again for precise location, if denied, an error should be returned PreciseLocationDenied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions