Factotum-sdp/Factotum

View on GitHub
app/src/main/java/com/github/factotum_sdp/factotum/data/FusedLocationClient.kt

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Method getLocationUpdates has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    @SuppressLint("MissingPermission")
    override fun getLocationUpdates(interval: Long): Flow<Location> {
        return callbackFlow {
            if (!context.hasLocationPermission()) {
                throw LocationClient.LocationException("Missing location permission")

    There are no issues that match your filters.

    Category
    Status