lucaspbordignon / rn-apple-healthkit

A React Native package for interacting with Apple HealthKit
https://www.npmjs.com/package/react-native-health
MIT License
520 stars 298 forks source link

Distance swimming is missing in the permissions #152

Open Manouli opened 4 years ago

Manouli commented 4 years ago

https://github.com/terrillo/rn-apple-healthkit/blob/be222fa98644e0f8a04460ec28923bb3c7523e14/RCTAppleHealthKit/RCTAppleHealthKit%2BTypesAndPermissions.m#L43

There is no permission here for swimming. As a result you are not prompted in the menu to turn this permission on or off. And also you can't pull data.

Vladosk1n commented 4 years ago

@Manouli have you tried to fix this issue?

lucaspbordignon commented 3 years ago

@Manouli Hey! It has been a while since you've added this request but as the repository is not being actively maintained now, I've created a new NPM package and started to maintain/add new features there

The repo is this one and I've added this issue as feature requests. Will keep you posted in case we have any update and also feel free to help in case this is still relevant for you! 🙂

Manouli commented 3 years ago

@Manouli have you tried to fix this issue?

I have fixed it locally using a patch.

sanjeevi-acharya commented 3 years ago

@Manouli Can you please guide me how to get swimming data?

Manouli commented 3 years ago

@sanjeevi-acharya https://github.com/terrillo/rn-apple-healthkit/pull/156 using this