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.6.0

.idea/HealthKit.iml

10

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

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

}
]
}
],
"dependencies": {
"elementtree": "0.1.7",
"xcode": "^1.0.0"
}
}

@@ -37,2 +37,7 @@ # Cordova HealthKit Plugin

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

@@ -57,2 +62,12 @@

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?

@@ -81,5 +96,5 @@

<variable name="HEALTH_WRITE_PERMISSION" value="App needs write access" />
</plugin>
</plugin>
</platform>
```

@@ -120,2 +120,6 @@ 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) {

@@ -122,0 +126,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

Sorry, the diff of this file is not supported yet