Skip to content

[Pedometer 4.1.1] how to count daily steps? #1239

@hedihadi

Description

@hedihadi

Description

Hello

if the user doesn't open the app for a day, or a week, or doesn't open the app until evening but they walked some steps in the morning, it's really hard to count the steps reliably.

my current solution is, to get the current steps when the app is opened, and save it to a local database with the current date. when the user opens the app again the same day, i calculate the walked steps like that. but it has a lot of issues that i mentioned above.

does anyone have a good solution for this? i tried Health package but it returns 0 for the walked steps, which i talked about here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions