awty_engine 0.0.2+1
awty_engine: ^0.0.2+1 copied to clipboard
Are We There Yet? Engine - A reliable, decoupled step tracking engine for Flutter applications. Provides pure step counting and goal notification services for fitness apps, walking games, health track [...]
Changelog #
All notable changes to the AWTY Engine project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
Added #
- Initial release preparation
- Comprehensive documentation
- MIT License
0.0.2+1 - 2025-01-15 #
Added #
- Android Health Connect integration
- Native Android foreground service for background step tracking
- Generic goal notification system with distinctive vibration patterns
- Goal state persistence across app restarts and device reboots
- Daily step count reset handling (midnight rollover)
- Baseline management to prevent negative step counts
- Comprehensive logging and status tracking
- Platform channel API for Flutter integration
Features #
AwtyEngine.startStepTracking()- Start tracking additional stepsAwtyEngine.stopStepTracking()- Stop step trackingAwtyEngine.getGoalStatus()- Check goal completion statusAwtyEngine.getStepTrackingState()- Get current tracking stateAwtyEngine.getAwtyLogTail()- Get service logs for debuggingAwtyEngine.requestDndOverridePermission()- Request notification policy access
Technical #
- Native Android implementation using Health Connect API
- Foreground service for reliable background operation
- SharedPreferences for state persistence
- Method channel communication between Flutter and native code
- Comprehensive error handling and logging
Known Limitations #
- iOS support not yet implemented (planned for future release)
- Android only (Health Connect API)