Repository navigation
Releases: nafiskabbo/flutter_device_compass
Releases · nafiskabbo/flutter_device_compass
Release list
v2.2.0
Summary
- MIT-only license (removed GPLv3 Android sources)
- Clean-room
BearingCalculator/ sealedScreenOrientation(same UI + camera remaps as before) - Default update profile restored to fine (
0.1°) for legacyFlutterCompass.eventscompatibility - Opt-in presets:
balanced(0.5°),batterySaver(1.0°)
pub.dev
Publishing flutter_device_compass 2.2.0.
v2.1.2
Summary
- iOS:
UIWindowScene.interfaceOrientation(replaces deprecated statusBarOrientation) - Additive
CompassUpdateOptions/eventsFor(options?)(default balanced 0.5°) - Legacy
FlutterCompass.eventsunchanged (null EventChannel args) - Example: Fine / Balanced / Battery profiles
License
Still temporary MIT + GPLv3 until 2.2.0 (clean-room MIT rewrite).
v2.1.1
Summary
- Android: Fix unnecessary magnetometer registration (battery); unregister before re-listen; throttle emissions ~33ms.
- Android: Real
headingForCameraModevia newHeadingUtils(remapCoordinateSystem(..., AXIS_X, AXIS_Z, ...)). Philipp BobekMathUtilsis unchanged. - Publishing: Restore
.pubignore(smaller, cleaner pub archive). - Docs: Document temporary dual licensing and roadmap.
License notice
This release is MIT + GPLv3 (some Android model/util files retain GPLv3 headers from Philipp Bobek’s Compass).
Future releases will make the package MIT-only via a clean-room rewrite planned for 2.2.0. iOS orientation/throttle fixes are planned for 2.1.2.
v2.1.0
NaN crash fix, hasSensors API, null-safety, tests, AGP/Kotlin upgrades.
Matches pub.dev 2.1.0.
v2.0.1
Docs/README badge refresh. No API changes from 2.0.0.
Matches pub.dev 2.0.1.
v2.0.0
Package rename, Kotlin DSL Android build, iOS SPM support.
Matches pub.dev 2.0.0.
v1.0.0
Initial flutter_device_compass publication on pub.dev (renamed from flutter_compass_v2).
Matches pub.dev 1.0.0.