LocationService

protocol LocationService

Location Service call ensure location to get user location emits LocationServiceNotifications.didUpdate when location is updated

  • Undocumented

    Declaration

    Swift

    var location: CLLocation? { get }
  • Ensure location If location permission has not been requested, request permission and fetch location once If location permission has been authorized, fetch location once If location permission has been denied, show change settings alert

    Declaration

    Swift

    func ensureLocation(from: UIViewController)

    Parameters

    from

    View controller used to display alerts