Skip to content

requestWhenInUseAuthorization issue #70

Description

@woyeyaowyy

When stopped at the interface asking for WhenInUseAuthorization long enough,
the app will not work until relaunch.
I think the problem is caused by this func in LocationService.swift:

func requestLocation() {
    locationManager.requestWhenInUseAuthorization()
    locationManager.requestLocation()
  }

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions