You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In HRM subview body and heart rate sensors are used. The exercise object itself provides in stats (exercise.stats.heartRate.current) the current heart rate, so this data can be directly read from the exercise without explicitly starting of heart rate sensor.
In my more complex apps I had app crashes on Versa 2, because I started the sensors and the exercises. On simulator it is displayed that the heart rate sensors are running anyway, when an exercise is started.
A fix could be to pass the exercise to heart rate subview in order to read the needed data there.
The text was updated successfully, but these errors were encountered:
In HRM subview body and heart rate sensors are used. The exercise object itself provides in stats (exercise.stats.heartRate.current) the current heart rate, so this data can be directly read from the exercise without explicitly starting of heart rate sensor.
In my more complex apps I had app crashes on Versa 2, because I started the sensors and the exercises. On simulator it is displayed that the heart rate sensors are running anyway, when an exercise is started.
A fix could be to pass the exercise to heart rate subview in order to read the needed data there.
The text was updated successfully, but these errors were encountered: