Repository navigation
Expand file tree
/
Copy pathplugin.xml
More file actions
60 lines (44 loc) · 2.43 KB
/
Copy pathplugin.xml
File metadata and controls
60 lines (44 loc) · 2.43 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-androidwear"
version="1.0.2">
<name>Android Wear</name>
<description>Communication from your cordova application to an Android Wear application.</description>
<author>Trent Gardner</author>
<license>Apache 2.0</license>
<keywords>AndroidWear, Android, Wear, Watch, Wearble</keywords>
<repo>https://github.com/tgardner/cordova-androidwear.git</repo>
<issue>https://github.com/tgardner/cordova-androidwear/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<preference name="PLAY_SERVICES_VERSION" default="11.8.0"/>
<framework src="com.google.android.gms:play-services-base:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-wearable:$PLAY_SERVICES_VERSION" />
<js-module src="www/androidwear.js" name="AndroidWear">
<clobbers target="AndroidWear" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="androidwear" >
<param name="android-package" value="net.trentgardner.cordova.androidwear.AndroidWearPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service
android:name="net.trentgardner.cordova.androidwear.WearProviderService"
android:enabled="true"
android:process=":remote">
<intent-filter>
<action android:name="com.google.android.gms.wearable.CAPABILITY_CHANGED" />
<data android:scheme="wear" android:host="*" />
</intent-filter>
</service>
</config-file>
<source-file src="src/android/AndroidWearPlugin.java" target-dir="src/net/trentgardner/cordova/androidwear" />
<source-file src="src/android/WearProviderService.java" target-dir="src/net/trentgardner/cordova/androidwear" />
<source-file src="aidl/android/WearMessageApi.aidl" target-dir="src/net/trentgardner/cordova/androidwear" />
<source-file src="aidl/android/WearMessageListener.aidl" target-dir="src/net/trentgardner/cordova/androidwear" />
</platform>
</plugin>