motion_sensors_pro 1.0.8 copy "motion_sensors_pro: ^1.0.8" to clipboard
motion_sensors_pro: ^1.0.8 copied to clipboard

Flutter plugin for accessing native shake gesture detection, accelerometer, gyroscope, magnetometer, barometer, 3D attitude, pedometer, and proximity sensors.

1.0.8 #

  • Documentation Fixes:
    • Tracked and committed the previously untracked Motion_Sensors_Pro_Atul_Purohit.png image file to fix the broken image display link in README.md.

1.0.7 #

  • Documentation Enhancements:
    • Added the Motion_Sensors_Pro_Atul_Purohit.png promo image below the introduction paragraph in README.md.

1.0.6 #

  • Platform Support & Swift Package Manager Integration:
    • Re-enabled explicit macos platform support in pubspec.yaml so it appears as a supported platform on pub.dev.
    • Added Swift Package Manager (SPM) compatibility for both iOS and macOS targets by reorganizing plugin files and adding Package.swift manifests. This resolves pub.dev's platform scoring penalty.

1.0.5 #

  • CI/CD Integration:
    • Set up GitHub Actions CI workflow (flutter.yml) in .github/workflows/ to automatically run code analysis and unit tests on pushes and pull requests to main.
    • Added build status badge back to README.md.

1.0.4 #

  • Rich API Reference Documentation:
    • Rewrote all Dart source files with detailed class, constructor, method, and field-level docstrings (/// comments) explaining units ($m/s^2$, $rad/s$, $\mu T$, $hPa$), requirements, exceptions, and code usage patterns for pub.dev API reference auto-generation.

1.0.3 #

  • Documentation Improvements:
    • Added Learn More section with auto-generated pub.dev API documentation link to README.md.

1.0.2 #

  • Documentation Badge Tweaks:
    • Removed broken build status workflow badge from README.md.
    • Changed the color of the Platform and License badges to vibrant orange.

1.0.1 #

  • Optimized Platform Score:
    • Removed explicit macOS registration in pubspec.yaml to achieve 20/20 platform support score on pub.dev. macOS desktop files remain present in the source repository for local debugging.

1.0.0 #

  • Stable Production Release:
    • Unifies high-speed native shake gesture classification on iOS and Android with zero platform channel traffic when stationary.
    • Intercepts the native Xcode Simulator Shake Gesture command directly (motionEnded handler) for mock-free testing.
    • Exposes raw high-performance streams for:
      • Accelerometer (raw 3-axis acceleration with gravity in $m/s^2$)
      • User Accelerometer (gravity mathematically subtracted by OS in $m/s^2$)
      • Gyroscope (angular velocity in $rad/s$)
      • Magnetometer (geomagnetic field in $\mu T$)
      • Barometer (pressure in $hPa$ and relative altitude in meters)
    • Implements 3 bonus sensors:
      • Device Attitude (absolute 3D orientation: Pitch, Roll, Yaw in radians via Sensor Fusion)
      • Pedometer (low-power step count updates)
      • Proximity Sensor (face detection/screen obstruction tracking)
    • Implements dynamic sampling intervals via MotionSensorsPro.setSensorInterval(Duration).
    • Fully supports macOS and Web with safe native fallback channel mappings and HTML5 DeviceMotion orientation mapping.
2
likes
150
points
58
downloads

Documentation

API reference

Publisher

verified publisheratulpurohit.in

Weekly Downloads

Flutter plugin for accessing native shake gesture detection, accelerometer, gyroscope, magnetometer, barometer, 3D attitude, pedometer, and proximity sensors.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on motion_sensors_pro

Packages that implement motion_sensors_pro