Commit 4b3946ca authored by Terrillo Walls's avatar Terrillo Walls Committed by GitHub

Update README.md

parent 9960a0a2
......@@ -82,13 +82,13 @@ let options = {
}
};
AppleHealthKit.isAvailable((err: Object, available: boolean) => {
AppleHealthkit.initHealthKit(options: Object, (err: Object, results: Object) => {
if (err) {
console.log("error initializing Healthkit: ", err);
return;
}
// Healthkit initialized...
});
AppleHealthkit.initHealthKit(options: Object, (err: Object, results: Object) => {
if (err) {
console.log("error initializing Healthkit: ", err);
return;
}
// Healthkit initialized...
});
});
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment