Skip to content

Commit

Permalink
fix: Missing overrides on location listener
Browse files Browse the repository at this point in the history
  • Loading branch information
julianosbentowellhub committed Aug 15, 2024
1 parent 9854332 commit cbaae8a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ class MockLocationRequest(
}
}

// The methods below should be override to work properly on Android R and below, to understand better, read the official documentation https://developer.android.com/reference/android/location/LocationListener

override fun onStatusChanged(provider: String?, status: Int, extras: Bundle?) {}

override fun onProviderEnabled(provider: String) {}

override fun onProviderDisabled(provider: String) {}
}

@SuppressLint("MissingPermission")
Expand Down

0 comments on commit cbaae8a

Please sign in to comment.