This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
forked from emmavray/HealthKit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·71 lines (54 loc) · 2.21 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.incentfit.plugins.healthkit"
version="0.3.9">
<name>HealthKit</name>
<description>
Interact with the iOS8 HealthKit SDK
</description>
<author>IncentFit</author>
<license>MIT</license>
<keywords>Health, HealthKit, Fit, Fitness, Birthdate, Gender, Height, Weight, Workout</keywords>
<repo>https://github.com/incentfit/HealthKit.git</repo>
<issue>https://github.com/incentfit/HealthKit/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/HealthKit.js" name="HealthKit">
<clobbers target="window.plugins.healthkit" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="HealthKit">
<param name="ios-package" value="HealthKit"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>fetch</string>
<string>remote-notification</string>
</array>
</config-file>
<!-- commented this because it means you can't use the app on iPad -->
<!--config-file target="*-Info.plist" parent="UIRequiredDeviceCapabilities">
<array>
<string>healthkit</string>
</array>
</config-file-->
<!-- Usage description of Health, mandatory since iOS 10 -->
<config-file target="*-Info.plist" parent="NSHealthShareUsageDescription">
<string>This app needs access to read your health data</string>
</config-file>
<config-file target="*-Info.plist" parent="NSHealthUpdateUsageDescription">
<string>This app needs access to update your health data</string>
</config-file>
<header-file src="src/ios/WorkoutActivityConversion.h"/>
<source-file src="src/ios/WorkoutActivityConversion.m"/>
<header-file src="src/ios/HKHealthStore+AAPLExtensions.h"/>
<source-file src="src/ios/HKHealthStore+AAPLExtensions.m"/>
<header-file src="src/ios/HealthKit.h"/>
<source-file src="src/ios/HealthKit.m"/>
<framework src="HealthKit.framework" weak="true" />
</platform>
</plugin>