Skip to content

Missing API to detect mock locations (isMock / isFromMockProvider) in location object #332

@uttamleeford

Description

@uttamleeford

I’m using the location for Android + iOS application where preventing or detecting mocked locations is a requirement.

On Android, the platform provides native ways to detect mocked locations, such as:
• Location.isFromMockProvider
• Other related signals tied to mock providers

However, the current location abstraction does not expose any equivalent flag or metadata that allows consumers to determine whether a location is mocked or not.

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