rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
288 stars 329 forks source link

Failed to build on Flutter 2 #213

Closed NeilCaffrey1 closed 3 years ago

NeilCaffrey1 commented 3 years ago

I recently updated to flutter 2, with sound null safety, I was trying to run my app with --no-sound-null-safety, as not all packages support null safety. I tried debug and release and this is the output I received. `~/flutter/.pub-cache/hosted/pub.dartlang.org/background_locator-1.4.0+1/android/src/main/kotlin/rekab/app/background_locator/provider/AndroidLocationProviderClient.kt: (13, 1): Class 'AndroidLocationProviderClient' is not abstract and does not implement abstract member public abstract fun onStatusChanged(p0: String!, p1: Int, p2: Bundle!): Unit defined in android.location.LocationListener

FAILURE: Build failed with an exception.