app/src/main/java/com/github/factotum_sdp/factotum/data/FusedLocationClient.kt
Method getLocationUpdates
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
@SuppressLint("MissingPermission")
override fun getLocationUpdates(interval: Long): Flow<Location> {
return callbackFlow {
if (!context.hasLocationPermission()) {
throw LocationClient.LocationException("Missing location permission")