Skip to content

LocationError

Error codes returned when the native location API fails to fetch a location.

Code Error
0 Location unknown
1 Location permission denied
2 Network error
3 Attempt to initiate location-services in background with WhenInUse authorization
408 Location timeout
499 Location request cancelled

Members

BackgroundWhenInUse

Attempt to initiate location-services in background with WhenInUse authorization.

Cancelled

Location request was cancelled.

LocationUnknown

Location could not be determined at this time.

NetworkError

Network error occurred while attempting to fetch location.

PermissionDenied

Location permission denied by the user.

Timeout

Location request timed out.