flutter_compass 0.3.2 flutter_compass: ^0.3.2 copied to clipboard
A Flutter compass. The heading varies from 0-360, 0 being north.
0.3.2 #
- 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.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.
0.3.1 #
- iOS: Remove permission request when Plugin is instantiated. Library users are responsible to request location permission by themselves.
- Request permission in the example directly.
0.3.0 #
- Replace kotlin code with simple java to reduce integration complexity
0.2.0 #
- 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.0 #
- Added example
- Added public api docs
0.0.3 #
- bug fixes
0.0.2 #
- Android emulator fix
0.0.1 #
- flutter compass plugin