Skip to content

Commit

Permalink
override onStatusChanged to be compatible with Android <29
Browse files Browse the repository at this point in the history
  • Loading branch information
pamafe1976 committed May 15, 2024
1 parent 6d0404f commit 07734d8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import androidx.core.content.ContextCompat;
import io.flutter.embedding.engine.plugins.FlutterPlugin;
import io.flutter.plugin.common.PluginRegistry;
Expand Down Expand Up @@ -41,6 +42,9 @@ public void onLocationChanged(Location location) {
currentLocation = location;
}

@Override
public void onStatusChanged(String provider, int status, Bundle extras) {}

@Override
public void onProviderEnabled(String provider) {}

Expand Down

0 comments on commit 07734d8

Please sign in to comment.