tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
102 stars 93 forks source link

Update pubspec.yaml to agp update problems #129

Open SalihCanBinboga opened 2 weeks ago

SalihCanBinboga commented 2 weeks ago

AGP >= 8 need to specify a namespace (https://github.com/hemanthrajv/flutter_compass/issues/104) We need to update the compileSdk version due to this error "resource android:attr/lStar not found" since Android 12 so update to support 14 and lower (https://github.com/hemanthrajv/flutter_compass/issues/112)

ref: https://github.com/hemanthrajv/flutter_compass/pull/113

PikPakPik commented 2 weeks ago

Your are not the owner of the package. Just wait the merge of the package flutter_compass or put this in your pubspec.yaml

dependency_overrides:
  flutter_compass:
    git: https://github.com/PikPakPik/flutter_compass.git
SalihCanBinboga commented 2 weeks ago

Hey 👋 @PikPakPik We have been waiting for over a month. As a community, we need to find a solution. This situation directly affects the flutter_map_location_marker package. If you want, you can fork it, and we can solve it that way temporarily.

md-lotfi commented 1 week ago

Any solution to flutter_compass? the dependency_overrides doesn't solve the issue since building apk causes also resource android:attr/lStar not found.

dariocavada commented 4 days ago

Any solution to flutter_compass? the dependency_overrides doesn't solve the issue since building apk causes also resource android:attr/lStar not found.

Add this to your yaml file until the maintainer merge the PR

flutter_map_location_marker:
    git:
      https://github.com/dariocavada/flutter_map_location_marker