Displaying step count on screen #123
Unanswered
mattblank11
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hey @mattblank11! Welcome to the project 👋🏾 Regarding the question, you just need to make sure that you're requesting the user's permission before accessing the data. You can read more about that here In your case, you need the Also, if that still doesn't work, we have a method that captures step count samples from multiple dates, called getDailyStepCountSamples() In the case of the second works, we might have a potential bug on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey team!
This may be an extremely dumb question, but how do you display step counts on the screen?
I'm able to use
AppleHealthKit.getStepCount
to get the step count, but if I try to return the step count and display it on the screen it returns a null value. I even tried async / await to no avail.I'm a Python dev who is trying to build a really crude app that gets step counts but feel like a giant dummy here...
Thanks so much!
Matt
Beta Was this translation helpful? Give feedback.
All reactions