Yauhen Pelkin
05/21/2020, 7:01 PMexpect fun isLocationAvailable() : Boolean
in androidMain i want to make a implementation:
actual fun isLocationAvailable() =
(ContextCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION)
!= PackageManager.PERMISSION_GRANTED)
But i don’t understand what is the correct way of providing context into implementation. If you could point me to git repo with showcase - it would be grate!