PackageTrack
Sign in Get early access

flutter_compass

A Flutter compass. The heading varies from 0-360, 0 being north.

0.8.1 76K downloads/mo #1244 most downloaded on pub.dev hemanthrajv/flutter_compass

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 5 weeks to 2.0 years

Nearly every release is documented

notes for 23 of 23 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

23 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

23 releases · Jul 2018 to Nov 2024
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 0.8.1 17 Nov 2024
    Release notes
    • Bump the compileSdkVersion to 34 to support Android 14
    • Support the AGP >= 8
    Open source →
  2. 0.8.0 11 Sep 2023
    Release notes
    • Add guard on web (Web always returns an empty stream)
    • Heading accounts for orientation on iOS
    • Unregister listeners when detaching engine on Android
    Open source →
  3. 0.7.0 09 Sep 2021
    Release notes
    • Updates Android Embedding
    • Resolves deprecations warnings
    • New Android Implementation supporting Sensor.TYPE_ROTATION_VECTOR and Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR.
    • Fixes multiple listeners on stream
    • Fixes for null safety
    Open source →
  4. 0.6.1 29 May 2021
    Release notes
    • Flutter Compass no more depends on RxDart
    Open source →
  5. 0.6.0 08 Mar 2021
    Release notes
    • Migrate to null safety
    Open source →
  6. 0.5.1 01 Dec 2020
    Release notes

    Android:

    • Remove roll from heading calculations
    • Uses matrix reorientation to do a better job calculating heading "out the back of the phone" iOS:
    • Use the device motion orientation matrix to compute heading out the back of the device. This is much like what is done on Android, and yields a more stable and precise heading. Dart:
    • Add documentation to flutter_compass.dart.
    Open source →
  7. 0.5.0 14 Oct 2020
    Release notes

    Breaking Change: The events stream now gives you CompassEvent that consists of heading, headingForCamera and accuracy.

    Android: Remove roll from heading calculations

    Open source →
  8. 0.4.3 17 Aug 2020
    Release notes

    Use geomagnetic rotation sensor as fallback on Android

    Open source →
  9. 0.4.2 20 Apr 2020
    Release notes

    Updated rxDart to 0.24.0

    Open source →
  10. 0.4.2+1 20 Apr 2020
    Release notes

    Minor fix

    Open source →
  11. 0.4.1 14 Mar 2020
    Release notes

    Updated README.md

    Open source →
  12. 0.4.0 14 Mar 2020
    Release notes

    Breaking change: Uses magnetic heading by default for iOS.

    Older versions used True heading and which caused deviations.

    Open source →
  13. 0.3.7 14 Mar 2020
    Release notes
    • Sensor check added on android. null is returned as direction when no sensor available.
    Open source →
  14. 0.3.6 31 Jan 2020
    Release notes
    • Upgrade rxdart version to 0.23.1
    Open source →
  15. 0.3.5 31 Jan 2020
    Release notes
    • Improve README.md
    Open source →
  16. 0.3.4 21 Oct 2019
    Release notes
    • Add dispose method
    Open source →
  17. 0.3.3 11 Oct 2019
    Release notes
    • Update permission_handler to 3.2.2
    • Update rxdart to 0.22.3
    Open source →
  18. 0.3.2 23 Apr 2019
    Release notes
    • Android: The plugin will now remember the last read azimuth. This will be done across Isolates using a static variable. Additionally, the value is cached within the isolate with the introduction of a RxDart BehaviorSubject. Reading the current azimuth using await FlutterCompass.events.first will therefore not hang anymore when th user has not moved the handset at all.
    • Sample updated to cover the functional updates in Android.
    • Added missing locatio permissions to the Android example which prevented the permission dialog from being shown.
    Open source →
  19. 0.2.0 14 Mar 2019
    Release notes
    • Upgrade Android build components (Kotlin version) Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
    • Upgrade iOS component to Swift 4.2
    Open source →
  20. 0.1.0 14 Dec 2018
    Release notes
    • Added example
    • Added public api docs
    Open source →
  21. 0.0.3 12 Dec 2018
    Release notes
    • bug fixes
    Open source →
  22. 0.0.2 31 Jul 2018
    Release notes
    • Android emulator fix
    Open source →
  23. 0.0.1 30 Jul 2018
    Release notes
    • flutter compass plugin
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive