You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

com.telerik.plugins.healthkit

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.telerik.plugins.healthkit - npm Package Compare versions

Comparing version

to
0.7.0

10

package.json
{
"version": "0.6.0",
"version": "0.7.0",
"name": "com.telerik.plugins.healthkit",

@@ -29,7 +29,3 @@ "cordova_name": "HealthKit",

}
],
"dependencies": {
"elementtree": "0.1.7",
"xcode": "^1.0.0"
}
}
]
}
# Cordova HealthKit Plugin
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[![Twitter Follow][twitter-image]][twitter-url]
[npm-image]:http://img.shields.io/npm/v/com.telerik.plugins.healthkit.svg
[npm-url]:https://npmjs.org/package/com.telerik.plugins.healthkit
[downloads-image]:http://img.shields.io/npm/dm/com.telerik.plugins.healthkit.svg
[twitter-image]:https://img.shields.io/twitter/follow/eddyverbruggen.svg?style=social&label=Follow%20me
[twitter-url]:https://twitter.com/eddyverbruggen
<img src="img/healthkit-hero_2x.png" width="128px" height="128px"/>
<table width="100%">
<tr>
<td width="100"><a href="http://plugins.telerik.com/plugin/healthkit"><img src="http://www.x-services.nl/github-images/telerik-verified-plugins-marketplace.png" width="97px" height="71px" alt="Marketplace logo"/></a></td>
<td>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</td>
</tr>
</table>

@@ -37,7 +41,2 @@ ### Supported functions

Read below about `CLINICAL_READ_PERMISSION` to use these
* `queryClinicalSampleType`
* `queryForClinicalRecordsFromSource`
* `queryForClinicalRecordsWithFHIRResourceType`
### Resources

@@ -62,12 +61,2 @@

If you would like to read clinical record data from the HealthKit store you will need to provide an extra variable during the plugin install. The `CLINICAL_READ_PERMISSION` can be set to include the ability to read FHIR resources. The value that is set here will be used in the `NSHealthClinicalHealthRecordsShareUsageDescription` key of your app's `info.plist` file. It will be shown when your app asks for clinical record data from HealthKit. Do not include the `CLINICAL_READ_PERMISSION` variable unless you really need access to the clinical record data otherwise Apple may reject your app.
The `Health Records` capability will be enabled if the `CLINICAL_READ_PERMISSION` is provided.
Here is an install example with `CLINICAL_READ_PERMISSION` -
```bash
cordova plugin add com.telerik.plugins.healthkit --variable HEALTH_READ_PERMISSION='App needs read access' --variable HEALTH_WRITE_PERMISSION='App needs write access' --variable CLINICAL_READ_PERMISSION='App needs read access' --save
```
#### Using PhoneGap Build?

@@ -96,5 +85,8 @@

<variable name="HEALTH_WRITE_PERMISSION" value="App needs write access" />
</plugin>
</plugin>
</platform>
```
#### Need Clinical Records Functionality (FHIR)?
If you would like to read clinical record (FHIR) data from the HealthKit store you can use the [fork of this plugin here](https://github.com/rossmartin/HealthKit). Please see https://github.com/EddyVerbruggen/HealthKit/issues/113 for why this was functionality was removed from this plugin.

@@ -120,6 +120,2 @@ function HealthKit() {

define('queryClinicalSampleType', {required: 'sampleType'}, hasValidDates);
define('queryForClinicalRecordsFromSource', {required: ['sampleType', 'fhirResourceType', 'identifier', 'source']});
define('queryForClinicalRecordsWithFHIRResourceType', {required: ['sampleType', 'fhirResourceType']});
define('saveCorrelation', {required: ['correlationType', 'samples']}, function(options) {

@@ -126,0 +122,0 @@ hasValidDates(options);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet