Skip to content

Add comment to samples using SimulatedLocationDataSource #707

@yo1995

Description

@yo1995

Because a SimulatedLocationDataSource is created from a file or local data, it doesn't require requesting permission for device location. When a developer copy code from such a sample, they may miss the step to call CLLocationManager().requestWhenInUseAuthorization().

Add a comment in those samples to explain that when swapping out simulated LDS for system LDS, one need to request permission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions