carp-dk / carp-dk/flutter-plugins
pedometer: ^4.1.1
- Dominant language
- Dart
- Stars
- 608
- Forks
- 735
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
I’m integrating the pedometer package in a Flutter app and facing these challenges:
1. Hourly Data Handling
The plugin provides cumulative steps with timestamps, but it’s unclear how to accurately calculate step counts for a given time range (e.g., hourly).
Expected: A reliable method or example for identifying steps within specific intervals.
2. Interval-Based Logic
I attempted to store updated step counts every 10 minutes. However, the stream only emits values when the app/activity is in the foreground. When the app is backgrounded, terminated, or killed, no updates are received.
Question: How can we ensure continuous background syncing or catch-up updates when the app resumes?
3. Complete Aggregation Strategy
I need best practices for managing step data in hourly, daily, and weekly formats using this package. Any recommended patterns or sample implementations would be valuable.
Additional information
Flutter version: 3.35+
Platform(s): Android (and/or iOS)
This functionality is critical for my use case, so any guidance or recommended approach would be greatly appreciated.
Thanks,
Bhargav
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.