-
Notifications
You must be signed in to change notification settings - Fork 15
/
plugin.xml
72 lines (52 loc) · 2.23 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
72
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="https://apache.org/cordova/ns/plugins/1.0"
xmlns:android="https://schemas.android.com/apk/res/android"
id="cordova-pebble"
version="1.0.3">
<name>Pebble</name>
<description>Allows communication with Pebble smartwatch applications and Cordova applications.</description>
<author>Trent Gardner</author>
<license>Apache 2.0</license>
<keywords>Pebble, Android, Watch, Wearble, iOS</keywords>
<repo>https://github.com/tgardner/cordova-pebble.git</repo>
<issue>https://github.com/tgardner/cordova-pebble/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0" />
<engine name="cordova-android" version=">=6.3.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<js-module src="www/pebble.js" name="Pebble">
<clobbers target="Pebble" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="pebble" >
<param name="android-package" value="net.trentgardner.cordova.pebble.PebblePlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="src/android/pebblekit.gradle" custom="true" type="gradleReference"/>
<lib-file src="lib/android/pebblekit-4.0.1.aar"/>
<source-file src="src/android/PebblePlugin.java" target-dir="src/net/trentgardner/cordova/pebble" />
</platform>
<platform name="ios">
<!-- config file -->
<config-file target="config.xml" parent="/*">
<feature name="pebble">
<param name="ios-package" value="Pebble" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="UISupportedExternalAccessoryProtocols">
<array>
<string>com.getpebble.public</string>
</array>
</config-file>
<header-file src="src/ios/Pebble.h" />
<source-file src="src/ios/Pebble.m" />
<framework src="ExternalAccessory.framework" />
<framework src="CoreBluetooth.framework" />
<framework src="lib/ios/PebbleKit.framework" custom="true" embed="true" />
<hook type="after_plugin_install" src="hooks/ios/prerequisites.js"/>
<hook type="after_prepare" src="hooks/ios/install_buildphase.js" />
</platform>
</plugin>