OvalMoney / react-native-fitness

A React Native module to interact with Apple Healthkit and Google Fit.
MIT License
343 stars 68 forks source link

getCalories error #25

Closed DeevD closed 4 years ago

DeevD commented 4 years ago

catch error TypeError: _reactNativeFitness.default.getCalories is not a function

const dates = { startDate: withinDay(7), endDate: new Date().toISOString() } Fitness.getCalories(dates).then(result => { console.log('getCalories Result ' + JSON.stringify(result)) });

Francesco-Voto commented 4 years ago

I will check it as soon as possibile. Thanks for the feedback

Francesco-Voto commented 4 years ago

Sorry for delay. Have you solved this? Can you tell me what version of libraries are you using?

Francesco-Voto commented 4 years ago

Can you try with the last release please?

Francesco-Voto commented 4 years ago

I close for no updates on it