forked from videostream/cordova-chromecast
-
Notifications
You must be signed in to change notification settings - Fork 9
/
plugin.xml
55 lines (44 loc) · 2.53 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="acidhax.cordova.chromecast"
version="0.0.1-alpha">
<engines>
<engine name="cordova" version=">=3.4.0" />
</engines>
<name>Cordova ChromeCast</name>
<js-module src="chrome.cast.js" name="ChromecastApi">
<clobbers target="chrome.cast" />
</js-module>
<js-module src="EventEmitter.js" name="EventEmitter"></js-module>
<js-module src="tests/tests.js" name="tests">
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Chromecast">
<param name="android-package" value="acidhax.cordova.chromecast.Chromecast"/>
</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" />
</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>
<framework src="com.google.android.gms:play-services-gcm:+" />
<framework src="com.google.android.gms:play-services-cast:+" />
<framework src="com.google.android.gms:play-services-ads:+" />
<framework src="com.android.support:appcompat-v7:+" />
<framework src="com.android.support:mediarouter-v7:+" />
<source-file src="src/android/Chromecast.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastMediaController.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastMediaRouterCallback.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastSession.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastSessionCallback.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastOnMediaUpdatedListener.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastOnSessionUpdatedListener.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastException.java" target-dir="src/acidhax/cordova/chromecast" />
</platform>
</plugin>