-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
43 lines (34 loc) · 1.47 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="test" version="0.0.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>mindful</name>
<js-module name="mindful" src="www/mindful.js">
<clobbers target="mindful" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="mindful">
<param name="ios-package" value="mindful" />
</feature>
</config-file>
<preference name="HEALTH_READ_PERMISSION" default=" " />
<preference name="HEALTH_WRITE_PERMISSION" default=" " />
<config-file target="*-Info.plist" parent="NSHealthShareUsageDescription">
<string>$HEALTH_READ_PERMISSION</string>
</config-file>
<config-file target="*-Info.plist" parent="NSHealthUpdateUsageDescription">
<string>$HEALTH_WRITE_PERMISSION</string>
</config-file>
<config-file target="*/Entitlements-Debug.plist" parent="com.apple.developer.healthkit">
<true/>
</config-file>
<config-file target="*/Entitlements-Release.plist" parent="com.apple.developer.healthkit">
<true/>
</config-file>
<!-- Add in the plugin .swift files here -->
<source-file src="src/ios/mindful.swift" />
<!-- Add in the swift-support plugin by default -->
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
</platform>
</plugin>