forked from tgardner/cordova-galaxygear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
88 lines (68 loc) · 3.95 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-galaxygear"
version="0.0.1">
<name>Galaxy Gear</name>
<license>Apache 2.0</license>
<description>Allows communication with Samsung Gear S2 Tizen applications and Cordova applications.</description>
<author>Overmob Srl</author>
<license>Apache 2.0</license>
<keywords>GalaxyGear, Android, Samsung, Gear, Watch, Wearble, Gear S2</keywords>
<repo>https://github.com/tgardner/cordova-galaxygear.git</repo>
<issue>https://github.com/tgardner/cordova-galaxygear/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<platform name="android">
<js-module src="www/galaxygear.js" name="GalaxyGear">
<clobbers target="GalaxyGear" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="galaxygear" >
<param name="android-package" value="com.overmob.cordova.galaxygear.GalaxyGearPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="com.samsung.accessory.permission.ACCESSORY_FRAMEWORK" />
<uses-permission android:name="com.samsung.wmanager.APP" />
<uses-permission android:name="com.samsung.wmanager.ENABLE_NOTIFICATION" />
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY" />
<uses-permission android:name="com.samsung.WATCH_APP_TYPE.Companion" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.overmob.cordova.galaxygear.ProviderService"
android:process=":remote">
<intent-filter >
<action android:name="com.overmob.cordova.galaxygear.ProviderService"/>
</intent-filter>
</service>
<receiver android:name="com.samsung.android.sdk.accessory.RegisterUponInstallReceiver" >
<intent-filter>
<action android:name="com.samsung.accessory.action.REGISTER_AGENT" />
</intent-filter>
</receiver>
<receiver android:name="com.samsung.android.sdk.accessory.ServiceConnectionIndicationBroadcastReceiver" >
<intent-filter>
<action android:name="com.samsung.accessory.action.SERVICE_CONNECTION_REQUESTED" />
</intent-filter>
</receiver>
<meta-data
android:name="GearAppType"
android:value="wgt"/>
<meta-data
android:name="AccessoryServicesLocation"
android:value="/res/xml/accessoryservices.xml" />
</config-file>
<source-file src="xml/accessoryservices.xml" target-dir="res/xml" />
<source-file src="libs/accessory-v2.3.2.jar" target-dir="libs" />
<source-file src="libs/sdk-v1.0.0.jar" target-dir="libs" />
<source-file src="src/android/GalaxyGearPlugin.java" target-dir="src/com/overmob/cordova/galaxygear" />
<source-file src="src/android/ProviderService.java" target-dir="src/com/overmob/cordova/galaxygear" />
<source-file src="aidl/android/GearMessageApi.aidl" target-dir="src/com/overmob/cordova/galaxygear" />
<source-file src="aidl/android/GearMessageListener.aidl" target-dir="src/com/overmob/cordova/galaxygear" />
</platform>
</plugin>