Skip to content

Releases: nafiskabbo/flutter_device_compass

v2.2.0

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 14:37
d8c7ae6

Summary

  • MIT-only license (removed GPLv3 Android sources)
  • Clean-room BearingCalculator / sealed ScreenOrientation (same UI + camera remaps as before)
  • Default update profile restored to fine (0.1°) for legacy FlutterCompass.events compatibility
  • Opt-in presets: balanced (0.5°), batterySaver (1.0°)

pub.dev

Publishing flutter_device_compass 2.2.0.

v2.1.2

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 14:15
b4e693c

Summary

  • iOS: UIWindowScene.interfaceOrientation (replaces deprecated statusBarOrientation)
  • Additive CompassUpdateOptions / eventsFor(options?) (default balanced 0.5°)
  • Legacy FlutterCompass.events unchanged (null EventChannel args)
  • Example: Fine / Balanced / Battery profiles

License

Still temporary MIT + GPLv3 until 2.2.0 (clean-room MIT rewrite).

v2.1.1

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 13:47
cfcb2b6

Summary

  • Android: Fix unnecessary magnetometer registration (battery); unregister before re-listen; throttle emissions ~33ms.
  • Android: Real headingForCameraMode via new HeadingUtils (remapCoordinateSystem(..., AXIS_X, AXIS_Z, ...)). Philipp Bobek MathUtils is 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

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 13:38

NaN crash fix, hasSensors API, null-safety, tests, AGP/Kotlin upgrades.

Matches pub.dev 2.1.0.

v2.0.1

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 13:37

Docs/README badge refresh. No API changes from 2.0.0.

Matches pub.dev 2.0.1.

v2.0.0

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 13:37

Package rename, Kotlin DSL Android build, iOS SPM support.

Matches pub.dev 2.0.0.

v1.0.0

Choose a tag to compare

@nafiskabbo nafiskabbo released this 22 Aug 13:37

Initial flutter_device_compass publication on pub.dev (renamed from flutter_compass_v2).

Matches pub.dev 1.0.0.