We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee236f3 commit 965a4a4Copy full SHA for 965a4a4
compass-geolocation-mobile/src/iosMain/kotlin/dev/jordond/compass/geolocation/mobile/MobileLocator.ios.kt
@@ -67,6 +67,7 @@ internal class IosLocator(
67
}
68
69
override suspend fun track(request: LocationRequest): Flow<Location> {
70
+ requirePermission()
71
if (locationDelegate.isTracking) return locationUpdates
72
73
suspendCoroutine { continuation ->
@@ -92,4 +93,4 @@ internal class IosLocator(
92
93
state.throwOnError()
94
95
-}
96
+}
0 commit comments