Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

Use sensors_plus instead of flutter_compass #81

Open
TheOneWithTheBraid opened this issue Aug 20, 2021 · 6 comments
Open

Use sensors_plus instead of flutter_compass #81

TheOneWithTheBraid opened this issue Aug 20, 2021 · 6 comments

Comments

@TheOneWithTheBraid
Copy link
Contributor

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.

@Xennis
Copy link
Owner

Xennis commented Aug 20, 2021

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.

@comatory
Copy link

I'm getting deprecated warnings because of flutter_compass.

@comatory
Copy link

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

@xni06
Copy link

xni06 commented Sep 11, 2021

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 - #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

@manlyman29
Copy link

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

@xni06
Copy link

xni06 commented Sep 15, 2021

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants