motion_sensors_pro 1.0.8
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.pngimage file to fix the broken image display link inREADME.md.
- Tracked and committed the previously untracked
1.0.7 #
- Documentation Enhancements:
- Added the
Motion_Sensors_Pro_Atul_Purohit.pngpromo image below the introduction paragraph inREADME.md.
- Added the
1.0.6 #
- Platform Support & Swift Package Manager Integration:
- Re-enabled explicit
macosplatform support inpubspec.yamlso 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.swiftmanifests. This resolves pub.dev's platform scoring penalty.
- Re-enabled explicit
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 tomain. - Added build status badge back to
README.md.
- Set up GitHub Actions CI workflow (
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.
- Rewrote all Dart source files with detailed class, constructor, method, and field-level docstrings (
1.0.3 #
- Documentation Improvements:
- Added Learn More section with auto-generated pub.dev API documentation link to
README.md.
- Added Learn More section with auto-generated pub.dev API documentation link to
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.
- Removed broken build status workflow badge from
1.0.1 #
- Optimized Platform Score:
- Removed explicit macOS registration in
pubspec.yamlto achieve 20/20 platform support score on pub.dev. macOS desktop files remain present in the source repository for local debugging.
- Removed explicit macOS registration in
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 (
motionEndedhandler) 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.