sensors 2.0.3 copy "sensors: ^2.0.3" to clipboard
sensors: ^2.0.3 copied to clipboard

discontinued
PlatformAndroidiOS

Flutter plugin for accessing the Android and iOS accelerometer and gyroscope sensors.

2.0.3 #

  • Update README to point to Plus Plugins version.

2.0.2 #

  • Fix -Wstrict-prototypes analyzer warning in iOS plugin.

2.0.1 #

  • Migrate maven repository from jcenter to mavenCentral.

2.0.0 #

  • Migrate to null safety.

0.4.2+8 #

  • Fix outdated links across a number of markdown files (#3276)

0.4.2+7 #

  • Update Flutter SDK constraint.

0.4.2+6 #

  • Update android compileSdkVersion to 29.

0.4.2+5 #

  • Keep handling deprecated Android v1 classes for backward compatibility.

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 #

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 after dispose() 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 #

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.
381
likes
150
points
78.7k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

Flutter plugin for accessing the Android and iOS accelerometer and gyroscope sensors.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on sensors