diff --git a/README.md b/README.md index 1947d9e493ce0d5ce451a4f6f12cd6f5ad3bad44..ac1e424b79c6d408e95cb405c4634dfdfe59aa44 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ AppleHealthKit.isAvailable((err: string, available: bool) => { } }); ``` - +___ **`initHealthKit`** : check if HealthKit is available on the device @@ -97,7 +97,9 @@ let healthKitOptions = { write: ["Weight"] } }; +``` +```javascript AppleHealthKit.initHealthKit(healthKitOptions: object, (err: string, res: object) => { if(err) { console.log("error initializing healthkit: ", err);