We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes on getting current heart rate from google fit
My code:- Fitness.getHeartRate({ startDate:moment().subtract('days',1).toISOString(), endDate: moment().toISOString(), interval:'hour', }) .then(res => { console.log('heart rate', res); // setHeartRate(res); }) .catch(err => { console.log('error in heart rate' + err); }); App crashes with an exception
com.facebook.react.bridge.ObjectAlreadyConsumedException: Map already consumed
The text was updated successfully, but these errors were encountered:
@amrita154 You can replace Manager.java file with this https://github.com/OvalMoney/react-native-fitness/blob/master/android/src/main/java/com/ovalmoney/fitness/manager/Manager.java
Sorry, something went wrong.
https://github.com/OvalMoney/react-native-fitness/blob/master/android/src/main/java/com/ovalmoney/fitness/manager/Manager.java
No branches or pull requests
App crashes on getting current heart rate from google fit
My code:-
Fitness.getHeartRate({
startDate:moment().subtract('days',1).toISOString(),
endDate: moment().toISOString(),
interval:'hour',
})
.then(res => {
console.log('heart rate', res);
// setHeartRate(res);
})
.catch(err => {
console.log('error in heart rate' + err);
});
App crashes with an exception
com.facebook.react.bridge.ObjectAlreadyConsumedException: Map already consumed
The text was updated successfully, but these errors were encountered: