![]() |
For a quick demo app and easy code samples, check out the plugin page at the Verified Plugins Marketplace: http://plugins.telerik.com/plugin/healthkit |
available: check if HealthKit is supported (iOS8+, not on iPad)requestAuthorization: ask some or all permissions up front, see the examplereadDateOfBirth: formatted as yyyy-MM-ddreadGender: output = male|female|unknownreadWeight: pass in unit (g=gram, kg=kilogram, oz=ounce, lb=pound, st=stone)saveWeight: pass in unit (g=gram, kg=kilogram, oz=ounce, lb=pound, st=stone) and amountreadHeight: pass in unit (mm=millimeter, cm=centimeter, m=meter, in=inch, ft=foot)saveHeight: pass in unit (mm=millimeter, cm=centimeter, m=meter, in=inch, ft=foot) and amountsaveWorkout: see the example for instructionsfindWorkouts: no params yet, so this will return all workouts ever of any typequerySampleType: see the example.sumQuantityType: not documented yetmonitorSampleType: not documented yet
- Make sure your app id has the 'HealthKit' entitlement when this plugin is installed.
- Also, make sure your app and AppStore description complies with these Apple review guidelines: https://developer.apple.com/app-store/review/guidelines/#healthkit

