forked from ConnectSDK/Connect-SDK-Cordova-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
97 lines (76 loc) · 4.8 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
89
90
91
92
93
94
95
96
97
<?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-plugin-connectsdk" version="1.6.0">
<name>Connect SDK</name>
<description>Connect SDK allows discovery and communication with LG TVs and other smart devices on the local network.</description>
<license>Apache 2.0</license>
<keywords>LG, second screen, TV, Connect SDK, remote control, DLNA, DIAL, cast</keywords>
<author>LG Electronics, Inc.</author>
<engines>
<engine name="cordova-ios" version=">=3.0.0" />
<engine name="cordova-android" version=">=3.0.0" />
</engines>
<js-module src="www/ConnectSDK.js" name="ConnectSDK.js">
<merges target="navigator.ConnectSDK" />
<merges target="ConnectSDK" />
</js-module>
<platform name="ios">
<js-module src="www/ios-capabilities.js" name="Capabilities.js">
<merges target="navigator.__CSDKCapabilities" />
<merges target="__CSDKCapabilities" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="ConnectSDK">
<param name="ios-package" value="ConnectSDKCordova"/>
</feature>
</config-file>
<header-file src="src/ios/ConnectSDKCordova.h" />
<source-file src="src/ios/ConnectSDKCordova.m" />
<header-file src="src/ios/ConnectSDKCordovaDispatcher.h" />
<source-file src="src/ios/ConnectSDKCordovaDispatcher.m" />
<header-file src="src/ios/ConnectSDKCordovaObjects.h" />
<source-file src="src/ios/ConnectSDKCordovaObjects.m" />
<framework src="libicucore.dylib" />
<framework src="libz.dylib" />
<framework src="libc++.dylib" />
<framework src="AdSupport.framework" />
<framework src="Connect-SDK-iOS/GoogleCast.framework" custom="true" type="projectReference" />
<framework src="Connect-SDK-iOS/Bolts.framework" custom="true" type="projectReference" />
<framework src="Connect-SDK-iOS/AmazonFling.framework" custom="true" type="projectReference" />
<framework src="Connect-SDK-iOS/ConnectSDK.framework" custom="true" type="projectReference" />
<hook type="after_plugin_install" src="scripts/ios-install.js" />
<hook type="before_plugin_uninstall" src="scripts/ios-uninstall.js" />
</platform>
<platform name="android">
<js-module src="www/android-capabilities.js" name="Capabilities.js">
<merges target="navigator.__CSDKCapabilities" />
<merges target="__CSDKCapabilities" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ConnectSDK">
<param name="android-package" value="com.connectsdk.cordova.ConnectSDKCordova"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</config-file>
<source-file src="src/android/ConnectSDKCordova.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/ConnectableDeviceWrapper.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/DiscoveryManagerWrapper.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/JSCommand.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/JSCommandDispatcher.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/JSObjectWrapper.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/WebAppSessionWrapper.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/MediaControlWrapper.java" target-dir="src/com/connectsdk/cordova" />
<source-file src="src/android/PlaylistControlWrapper.java" target-dir="src/com/connectsdk/cordova" />
<hook type="after_plugin_install" src="scripts/android-install.js" />
<hook type="before_plugin_uninstall" src="scripts/android-uninstall.js" />
<framework src="Connect-SDK-Android" custom="true" type="projectReference" weak="true" />
</platform>
</plugin>