diff --git a/example-app/package-lock.json b/example-app/package-lock.json index 93a4bb7..93c7c3e 100644 --- a/example-app/package-lock.json +++ b/example-app/package-lock.json @@ -23,7 +23,7 @@ }, "..": { "name": "@capacitor/geolocation", - "version": "8.0.0", + "version": "8.2.4", "license": "MIT", "dependencies": { "@capacitor/synapse": "^1.0.4" diff --git a/ios/Sources/GeolocationPlugin/GeolocationPlugin.swift b/ios/Sources/GeolocationPlugin/GeolocationPlugin.swift index 0716144..a312af5 100644 --- a/ios/Sources/GeolocationPlugin/GeolocationPlugin.swift +++ b/ios/Sources/GeolocationPlugin/GeolocationPlugin.swift @@ -180,7 +180,7 @@ private extension GeolocationPlugin { } func requestLocationAuthorisation(type requestType: IONGLOCAuthorisationRequestType) { - DispatchQueue.global(qos: .background).async { + DispatchQueue.global(qos: .userInitiated).async { guard self.checkIfLocationServicesAreEnabled() else { return } self.locationService?.requestAuthorisation(withType: requestType) }