Hi guys, are there any multiplatform location libr...
# multiplatform
x
Hi guys, are there any multiplatform location libraries available ?
e
"location" is pretty vague
x
sorry about the vagueness. I’m looking for a library that lets me get user current gps location that can be used from
commonMain
, in a interface like
Copy code
expect LocationProvider {
  expect suspend fun currentLocation(): Location?
  expect suspend fun locationUpdates(): Flow<Location>
}
which internally defer these to android’s
FusedLocationProvider
and equivalent on other platforms
e
https://github.com/icerockdev/moko-geo looks like what you want?
👍 3
x
yus - this is what i was looking for. 🙌 thanks