This repository was archived by the owner on Jun 28, 2022. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathplugin.xml
More file actions
45 lines (37 loc) · 2 KB
/
Copy pathplugin.xml
File metadata and controls
45 lines (37 loc) · 2 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
<?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-wearos-plugin"
version="1.0.1">
<name>cordova-wearos-plugin</name>
<description>Communication from your Cordova application to a WearOs application.</description>
<author>Gui Keller</author>
<license>MIT</license>
<keywords>Android, WearOs, Watch, Wearable</keywords>
<repo>https://github.com/guikeller/cordova-wearos-plugin</repo>
<issue>https://github.com/guikeller/cordova-wearos-plugin/issues</issue>
<engines>
<engine name="cordova" version=">=7.1.0" />
<engine name="cordova-android" version=">=7.0.0" />
</engines>
<platform name="android">
<!-- WearOs Dependencies -->
<preference name="PLAY_SERVICES_VERSION" default="11+"/>
<framework src="com.google.android.gms:play-services-base:$PLAY_SERVICES_VERSION" />
<framework src="com.google.android.gms:play-services-wearable:$PLAY_SERVICES_VERSION" />
<!-- Using an aar lib, hence no messing around too much with the conf -->
<resource-file src="src/android/lib/cordova-wearos-plugin.aar" target="libs/cordova-wearos-plugin.aar" />
<framework src="src/android/cordova-wearos-plugin.gradle" custom="true" type="gradleReference" />
<!-- The 'feature name' value is then available on the www/*-plugin.js file -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="CordovaWearOsPlugin" >
<param name="android-package" value="com.github.guikeller.cordova.wearos.CordovaWearOsPlugin"/>
</feature>
</config-file>
<!-- The JS file that invokes the Java lib -->
<js-module src="www/cordova-wearos-plugin.js" name="WearOsPlugin">
<clobbers target="cordova.WearOsPlugin" />
<clobbers target="window.WearOsPlugin" />
</js-module>
</platform>
</plugin>