Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Latest commit

 

History

History
16 lines (15 loc) · 311 Bytes

saveBmi().md

File metadata and controls

16 lines (15 loc) · 311 Bytes

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
});