Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get steps By Interval equally distributed #1080

Open
fl0tsch opened this issue Nov 13, 2024 · 0 comments
Open

Get steps By Interval equally distributed #1080

fl0tsch opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
bugfix a bug fix

Comments

@fl0tsch
Copy link

fl0tsch commented Nov 13, 2024

Plugin Name

health

Plugin Version

11.1.0

Device

Galaxy Note 20 Ultra

Operating System

Android 13

Describe the bug

When I fetch steps by Interval like

await Health() .getHealthIntervalDataFromTypes( startDate: start, endDate: endTime, types: types, interval: 60 * 60)

I get the steps equally distributed in each interval. See screenshot. At night I was sleeping, so I definitely didn’t take any steps. Something must be wrong. Thanks

getStepsByInterval

Steps to Reproduce

Expected Behavior

to see the steps in the interval when I did it

Actual Behavior

Flutter Logs

No response

Screenshots

No response

Flutter Doctor Output

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.4, on macOS 15.0 24A335 darwin-arm64, locale
    en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2023.3.2)
[✓] VS Code (version 1.94.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Additional Information

No response

@fl0tsch fl0tsch added the bugfix a bug fix label Nov 13, 2024
@iarata iarata self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix a bug fix
Projects
None yet
Development

No branches or pull requests

2 participants