forked from jellyfin-archive/cordova-plugin-chromecast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
84 lines (70 loc) · 3.66 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
<?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="cordova-plugin-chromecast"
version="0.1.1">
<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-cast:17.1.0" />
<framework src="androidx.appcompat:appcompat:1.1.0" />
<framework src="androidx.mediarouter:mediarouter:1.1.0" />
<framework src="androidx.legacy:legacy-support-v4:1.0.0" />
<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" />
<source-file src="src/android/ChromecastUtilities.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/RouteListComparer.java" target-dir="src/acidhax/cordova/chromecast" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Chromecast">
<param name="ios-package" value="Chromecast"/>
</feature>
</config-file>
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="google-cast-sdk" spec="~> 4.4.4" />
</pods>
</podspec>
<config-file parent="com.apple.developer.networking.wifi-info" target="*/Entitlements-Debug.plist">
<true/>
</config-file>
<config-file parent="com.apple.developer.networking.wifi-info" target="*/Entitlements-Release.plist">
<true/>
</config-file>
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
<source-file src="src/ios/Chromecast.swift" />
<source-file src="src/ios/ChromecastSession.swift" />
<source-file src="src/ios/CastUtilities.swift" />
<source-file src="src/ios/CastRequestDelegate.swift" />
</platform>
</plugin>