moko-geo
moko-geo copied to clipboard
Geolocation access for mobile (android & ios) Kotlin Multiplatform development
This line suspends forever on android emulator (Nexus 4 API 23): ``` val coords = locationTracker.getLocationsFlow().first() ``` On real device it works correctly.
Can't use it when accuracy is stuck at 45 degreees, it works perfectly fine on Google Maps so device is not the issue here. It varies A LOT also, so...
Main goal of this PR is to make the library work with moko-permissions 0.18.0 and close https://github.com/icerockdev/moko-geo/issues/44. I've also updated most of dependencies in the project, and fix all issues...
I am using 0.6.0 library integrated for my multiplatform project and found out it doesnot work with ComponentActivity. MainActivity which extends ComponentActivity(from official android) cannot be cast to androidx.fragment.app.FragmentActivity fun...