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

No Heart rate shown in any activity on apple watch simulator or real device. #52

Open
docdude opened this issue Sep 11, 2024 · 6 comments

Comments

@docdude
Copy link

docdude commented Sep 11, 2024

Compiled and deployed your app on MacOS 14.6.1, XCode 15.4. Running on Apple Watch Ultra device or simulator. No Healthkit data is being shown, i.e. no heart rate, stroke, calorie. Mainly using the swim activity but bike activity also has not values populating on the device or simulator?

Screenshots
image

**Apple Watch Ultra

  • OS: WatchOs 10.6

**Smartphone

  • Device: iphone 11pro max
  • OS: IOS 17.6.1

Any guidance would be appreciated. I'm comfortable with C, C++ but come from linux background. Learning Xcode.

@msimms
Copy link
Owner

msimms commented Sep 17, 2024

There's definitely something that got broken with one of the recent iOS updates. Will have to look into it. As for the simulator, the simulator doesn't simulate the heart rate sensor, which makes testing harder since I have to use actual hardware.

@msimms
Copy link
Owner

msimms commented Sep 17, 2024

Apple writes the data from the wrist-based heart rate sensor to HealthKit, the app just subscribes to these updates so the issue will probably be somewhere in there.

@docdude
Copy link
Author

docdude commented Sep 17, 2024 via email

@msimms
Copy link
Owner

msimms commented Sep 20, 2024

Swim stroke isn't really implemented. Like, at all. That's on the list of things that I never seem to get around to.

BTW, I also found a number of API updates that are needed for HealthKit when I was looking at the code earlier.

@docdude
Copy link
Author

docdude commented Sep 20, 2024 via email

@msimms
Copy link
Owner

msimms commented Sep 23, 2024

Feel free to work on the swim stroke implementation all you want. I have so many things on my plate right now that I probably won't get to it before the heat death of the universe. Code is in the C/C++ backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants