sensors_plus 6.0.0 sensors_plus: ^6.0.0 copied to clipboard
Flutter plugin for accessing accelerometer, gyroscope, and magnetometer sensors.
6.0.0 #
Note: This release has breaking changes. Starting with this release on iOS it is required to add
NSMotionUsageDescription
entry in the Info.plist file. More info available in the README file.
- BREAKING FEAT(sensors_plus): Add support for platform timestamp in event (#2506). (8b3df176)
- BREAKING FEAT(sensors_plus): Add barometer support for all platforms (#3079). (5fa797d0)
- REFACTOR(all): Remove website files, configs, mentions (#3018). (ecc57146)
- FIX(all): changed homepage url in pubspec.yaml (#3099). (66613656)
5.0.1 #
5.0.0 #
Note: This release has breaking changes.
In this release plugin migrated migrated from dart:html to js_interop, meaning that it now supports WASM!
Plugin now requires the following:
-
Flutter >=3.19.0
-
Dart >=3.3.0
-
compileSDK 34 for Android part
-
Java 17 for Android part
-
Gradle 8.4 for Android part
-
BREAKING FEAT(sensors_plus): Migrate to dart:js_interop (#2697). (48edfa20)
-
BREAKING BUILD(sensors_plus): Target Java 17 on Android (#2729). (7a83e355)
-
BREAKING BUILD(sensors_plus): Update to target and compile SDK 34 (#2708). (f110dfd)
-
FIX(sensors_plus): Add try-catch for release builds (#2718). (c37acd67)
-
FEAT(sensors_plus): Update min iOS target to 12 (#2661). (ca5d660f)
4.0.1+1 #
4.0.1 #
Note: This release has breaking changes.
3.1.0 #
Info: This release is a replacement for release 4.0.0, which was retracted due to issue (#2251). As breaking change was reverted the major release was also reverted in favor of this one.
- FIX(sensors_plus): Change Kotlin version from 1.9.10 to 1.7.22 (#2253). (10fade07)
- FIX(sensors_plus): Close stream controllers onCancel on web (#2249). (476e17bc)
- FIX(sensors_plus): Revert bump compileSDK to 34 (#2233). (8574422a)
- FIX(sensors_plus): Error handling of native crashes (e.g. missing hardware) (#1987). (ee942290)
- FEAT(sensors_plus): Remove deprecated VALID_ARCHS iOS property (#2027). (8ba4197e)
3.0.3 #
3.0.2 #
3.0.1 #
- FIX(sensors_plus): Fix crash on Android if device has no requested sensor (#1405). (a078b4e8)
- FIX: Add jvm target compatibility to Kotlin plugins (#1798). (1b7dc432)
- DOCS(sensor_plus): Add info about possible error cases (#1830). (58d512de)
- DOCS(all): Update READMEs (#1828). (57d9c884)
- CHORE(sensors_plus): Win32 dependency upgrade (#1805). (3f68800)
3.0.0 #
Note: This release has breaking changes.
- CHORE(sensors_plus): Update Flutter dependencies, set Flutter >=3.3.0 and Dart to >=2.18.0 <4.0.0
- BREAKING FIX(all): Add support of namespace property to support Android Gradle Plugin (AGP) 8 (#1727). Projects with AGP < 4.2 are not supported anymore. It is highly recommended to update at least to AGP 7.0 or newer.
- BREAKING CHORE(sensors_plus): Bump min Android to 4.4 (API 19) and iOS to 11, update podspec file (#1774).
- REFACTOR(sensors_plus): Remove manual dependency_override in example app.
2.0.5 #
- FIX(all): Revert addition of namespace to avoid build fails on old AGPs (#1725).
2.0.4 #
- FIX(sensors_plus): Add compatibility with AGP 8 (Android Gradle Plugin) (#1705).
2.0.3 #
- DOCS(sensor_plus): improve description of accelerometer (#1425).
2.0.2 #
- DOCS: Updates for READMEs and website pages (#1389).
2.0.1 #
- FIX: Increase min Flutter version to fix dartPluginClass registration (#1275).
2.0.0 #
Note: This release has breaking changes.
- FIX: lint warnings - add missing dependency for tests (#1233).
- DOCS: Update website docs and README (#1247).
- BREAKING REFACTOR: two-package federated architecture (#1237).
1.4.1 #
- CHORE: Version tagging using melos.
1.4.0 #
- iOS: Corrects magnetometer implementation, returning calibrated values from
DeviceMotion
sensor rather than raw sensor samples
1.3.4+1 #
- Add issue_tracker link.
1.3.4 #
- Additonal fixes for crash issue: "Error: Sending a message before the FlutterEngine has been run."
1.3.3 #
- Fix: "crash on iOS: Sending a message before the FlutterEngine has been run"
1.3.2 #
- Fix: Android no longer crashes when app is closed if streams weren't listened to
- Update flutter_lints to 2.0.1
- Fix analyzer warnings
1.3.1 #
- Fix: unregister listeners on Android in
onDetachFromEngine
to not receive sensors events after app was killed
1.3.0 #
- Android: Migrate to Kotlin
- Android: Update dependencies, build config updates
1.2.2 #
- Fix example embedding issues
1.2.1 #
- Upgrade Android compile SDK version
- Several code improvements
1.2.0 #
- migrate integration_test to flutter sdk
1.1.0 #
- Adds magnetometer support
1.0.2 #
- Android: migrate to mavenCentral
1.0.1 #
- Improve documentation
1.0.0 #
- Migrated to null-safety
0.6.0 #
- Renamed Method Channel
0.5.0 #
- Transfer to plus-plugins monorepo
0.4.2+5 #
- Transfer package to Flutter Community under new name
sensors_plus
.
0.4.2+4 #
- Update package:e2e -> package:integration_test
0.4.2+3 #
- Update package:e2e reference to use the local version in the flutter/plugins repository.
0.4.2+2 #
- Post-v2 Android embedding cleanup.
0.4.2+1 #
- Update lower bound of dart dependency to 2.1.0.
0.4.2 #
- Remove Android dependencies fallback.
- Require Flutter SDK 1.12.13+hotfix.5 or greater.
- Fix CocoaPods podspec lint warnings.
0.4.1+10 #
- Declare API stability and compatibility with
1.0.0
(more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).
0.4.1+9 #
- Replace deprecated
getFlutterEngine
call on Android.
0.4.1+8 #
- Make the pedantic dev_dependency explicit.
0.4.1+7 #
- Fixed example userAccelerometerEvent in documentation
0.4.1+6 #
- Migrate from deprecated BinaryMessages to ServicesBinding.instance.defaultBinaryMessenger.
- Require Flutter SDK 1.12.13+hotfix.5 or greater (current stable).
0.4.1+5 #
- Fix example
setState()
called afterdispose()
by canceling the timer.
0.4.1+4 #
- Remove the deprecated
author:
field from pubspec.yaml - Migrate the plugin to the pubspec platforms manifest.
- Require Flutter SDK 1.10.0 or greater.
0.4.1+3 #
- Improve documentation and add unit test coverage.
0.4.1+2 #
- Remove AndroidX warnings.
0.4.1+1 #
- Include lifecycle dependency as a compileOnly one on Android to resolve potential version conflicts with other transitive libraries.
0.4.1 #
- Support the v2 Android embedder.
- Update to AndroidX.
- Migrate to using the new e2e test binding.
- Add a e2e test.
0.4.0+3 #
- Update and migrate iOS example project.
- Define clang module for iOS.
0.4.0+2 #
- Suppress deprecation warning for BinaryMessages. See: https://github.com/flutter/flutter/issues/33446
0.4.0+1 #
- Log a more detailed warning at build time about the previous AndroidX migration.
0.4.0 #
- 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.
0.3.5 #
- Added missing test package dependency.
0.3.4 #
- Make sensors Dart 2 compliant.
0.3.3 #
- Updated Gradle tooling to match Android Studio 3.1.2.
0.3.2 #
- Added user acceleration sensor events (i.e. accelerometer without gravity).
0.3.1 #
- Fixed Dart 2 type error with iOS sensor events.
0.3.0 #
- Breaking change. Set SDK constraints to match the Flutter beta release.
0.2.1 #
- Fixed warnings from the Dart 2.0 analyzer.
- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
0.2.0 #
- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
0.1.1 #
- Added FLT prefix to iOS types.
0.1.0 #
- Initial Open Source release.