flutter_map_location icon indicating copy to clipboard operation
flutter_map_location copied to clipboard

Use sensors_plus instead of flutter_compass

Open TheOneWithTheBraid opened this issue 3 years ago • 6 comments

The sensors_plus package is of much better code quality, has more maintainers and - in opposite to flutter_compas - compatible with Flutter's 2nd version of Android embedding.

I would recommend to use sensors_plus instead of flutter_compass.

TheOneWithTheBraid avatar Aug 20 '21 04:08 TheOneWithTheBraid

https://pub.dev/packages/sensors_plus/

It's maintained by fluttercommunity.dev nice. Looks pretty good. If someone is interested in creating a PR I would accept it.

Xennis avatar Aug 20 '21 19:08 Xennis

I'm getting deprecated warnings because of flutter_compass.

comatory avatar Sep 10 '21 10:09 comatory

Wouldn't this be fixed by upgrading to flutter_compass ^0.7.0? Seems like they already dealt with the deprecated Android API problem: https://github.com/hemanthrajv/flutter_compass/issues/62

comatory avatar Sep 10 '21 13:09 comatory

Wouldn't this be fixed by upgrading to flutter_compass ^0.7.0? Seems like they already dealt with the deprecated Android API problem: hemanthrajv/flutter_compass#62

I've created a PR for this - https://github.com/Xennis/flutter_map_location/pull/84

In the meantime, you could use the following:

  flutter_map_location:
    git:
      url: https://github.com/xni06/flutter_map_location.git
      ref: feature/update-fluter-compass

xni06 avatar Sep 11 '21 11:09 xni06

@xni06 If you could possibly raise the flutter_map dependency version to 0.14.0 as well.

manlyman29 avatar Sep 15 '21 10:09 manlyman29

@xni06 If you could possibly raise the flutter_map dependency version to 0.14.0 as well.

That's not my repo but you can use my fork if you like:

  flutter_map:
    git:
      url: https://github.com/xni06/flutter_map.git
      ref: feature/add-marker-data-property

xni06 avatar Sep 15 '21 11:09 xni06