xxfast
03/02/2022, 3:06 AMedenman
03/02/2022, 3:22 AMxxfast
03/02/2022, 3:42 AMcommonMain
, in a interface like
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 platformsedenman
03/02/2022, 3:53 AMxxfast
03/02/2022, 4:02 AM