Skip to content

[Feature]: allow using static location without live location #296

Description

@lissine0

Currently, if you add .location to available inputs, when you're about to share a location you get options for both static location and live location.

Ideally, apps using the library should have the option to use static location without displaying the live location button.

For example, the .location available input could be split into .staticLocation and .liveLocation, and these lines could become conditioned on the availability of .liveLocation:

pickerActionButton(localization.shareLiveLocationText, filled: false) {
showLiveDurationDialog = true
}

Feel free to ignore / close this issue if you wish, as users can fork the library and comment those lines if they don't want to use live location.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions