Skip to content

requestWhenInUseAuthorization issue #70

@woyeyaowyy

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()
  }

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