weorbis_motion_detector 1.1.0
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 usesActivityRecognitionClient
. - 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.