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
I've run into the same problem.
getSamples returns "error getting samples", while other methods, like getFlightsClimbed(), getStepCount() or getSleepSamples() return real data.
Actually the best version of rn-apple-healthkit would theoretically be one in which the main repo would sync with the work done by nutrisense (kudos to both)
I am also getting this error, I believe if it because PERMS.Workout doesn't actually request permission to access workouts. When I install https://github.com/nutrisense/rn-apple-healthkit and get that library to request access and then switch back to this library it then works.
Getting workout data does not seem to work properly.
Can you please check the code if Workout permissions are properly handled?
Running the following code:
Behavior:
Might be linked to the fact that RCTAppleHealthKit+TypesAndPermissions.m returns nil for "Workout"
Thank you
The text was updated successfully, but these errors were encountered: