save a numeric BMI value to Healthkit
saveBmi
accepts an options object containing a numeric BMI value:
let options = {
value: 27.2
}
AppleHealthKit.saveBmi(options: Object, (err: Object, results: Object) => {
if (err) {
return;
}
// BMI successfully saved
});