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 2024Releases
latest 23-
0.8.117 Nov 2024Release notes
Open source →- Bump the compileSdkVersion to 34 to support Android 14
- Support the AGP >= 8
-
0.8.011 Sep 2023Release notes
Open source →- Add guard on web (Web always returns an empty stream)
- Heading accounts for orientation on iOS
- Unregister listeners when detaching engine on Android
-
0.7.009 Sep 2021Release notes
Open source →- 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
-
0.6.129 May 2021 -
0.6.008 Mar 2021 -
0.5.101 Dec 2020Release notes
Open source →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.
-
0.5.014 Oct 2020Release notes
Open source →Breaking Change: The
eventsstream now gives youCompassEventthat consists ofheading,headingForCameraandaccuracy.Android: Remove roll from heading calculations
-
0.4.317 Aug 2020 -
0.4.220 Apr 2020 -
0.4.2+120 Apr 2020 -
0.4.114 Mar 2020 -
0.4.014 Mar 2020Release notes
Open source →Breaking change: Uses magnetic heading by default for iOS.
Older versions used True heading and which caused deviations.
-
0.3.714 Mar 2020Release notes
Open source →- Sensor check added on android.
nullis returned as direction when no sensor available.
- Sensor check added on android.
-
0.3.631 Jan 2020 -
0.3.531 Jan 2020 -
0.3.421 Oct 2019 -
0.3.311 Oct 2019 -
0.3.223 Apr 2019Release notes
Open source →- 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 usingawait FlutterCompass.events.firstwill 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.
- 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
-
0.2.014 Mar 2019Release notes
Open source →- 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
-
0.1.014 Dec 2018 -
0.0.312 Dec 2018 -
0.0.231 Jul 2018 -
0.0.130 Jul 2018