carp-dk / carp-dk/flutter-plugins
Pedometer 3.0.0
- Dominant language
- Dart
- Stars
- 608
- Forks
- 735
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
### Description
I would like to grep the step amount on a Background Task without a stream. I am using (workmanager)[https://pub.dev/packages/pedometer]. Is there a way to get the last calculated step amount as an Integer?
It would be nice to get without a stream because it is possible that the pedometer is not fireing an event for a long time so the Background Tasg gets stuck on waiting for a new Step event (for example during sleep).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the pedometer package and reading its current step-event API, then inspect how background tasks access it. Determine the platform behavior for retrieving the latest step count without waiting for a new event; done means a documented integer-returning API works reliably for the requested background-task scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100