react-native-health
react-native-health copied to clipboard
Total Fat samples?
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No
Describe the solution you'd like A clear and concise description of what you want to happen.
I've noticed that permission to get total fat is available, but there is no getter for this. Is there a way to get the total fat consumed (dietary). Carbohydrates and Proteins are currently available.
A getTotalFatSamples().
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Actually, there is a saveFood() in RCTAppleHealthKit+Methods_Dietary.m, maybe a getFood() is better than a getTotalFatSamples(), so we can get all the food entries.
I am closing this issue since the PR is already merged.