weorbis_motion_detector 1.1.0 copy "weorbis_motion_detector: ^1.1.0" to clipboard
weorbis_motion_detector: ^1.1.0 copied to clipboard

Motion detector plugin for Android and iOS. Provides event-based information about motion detected by the phone.

1.1.0 #

  • CRITICAL FIX: Corrected bug on Android that used a non-existent MotionDetector API. The plugin now correctly uses ActivityRecognitionClient.
  • CRITICAL FIX: Resolved a ClassCastException crash on Android when starting the foreground service.
  • FEAT: Added a requestPermission() helper method to simplify permission requests.
  • FEAT: Added a getCurrentActivity() method to get a single, on-demand motion update.
  • FEAT: Added a configurable update interval for Android via the androidUpdateIntervalMillis parameter.
  • FEAT: The Android foreground service notification is now fully configurable (title, text, icon).
  • CHORE: Reorganized file structure by moving data models into a lib/models directory.
  • CHORE: Updated iOS .podspec with accurate metadata.
  • DEPS: Added permission_handler as a direct dependency.
  • DOCS: Major documentation update to reflect all new features and fixes.

1.0.0 #

  • Initial Release
  • Forked from activity_recognition_flutter.
  • Complete rebranding to weorbis_motion_detector.
  • Modernized Android integration.
  • Modernized iOS integration.
  • Updated dependencies.
  • Cleaned up and fully rebranded the example application.
0
likes
150
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Motion detector plugin for Android and iOS. Provides event-based information about motion detected by the phone.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, permission_handler

More

Packages that depend on weorbis_motion_detector

Packages that implement weorbis_motion_detector