UNPKG

rn-apple-healthkit

Version:

A React Native package for interacting with Apple HealthKit

18 lines (15 loc) 370 B
save a percentage body fat value to Healthkit `saveBodyFatPercentage` accepts an options object containing a percent value: ```javascript let options = { value: 16.7 // 16.7% } ``` ```javascript AppleHealthKit.saveBodyFatPercentage(options: Object, (err: Object, results: Object) => { if (err) { return; } // body fat percentage successfully saved }); ```