-
Notifications
You must be signed in to change notification settings - Fork 53
/
plugin.xml
82 lines (70 loc) · 3.45 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
<?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="1.0.0">
<engines>
<engine name="cordova" version=">=3.4.0" />
</engines>
<name>Cordova ChromeCast</name>
<js-module src="www/chrome.cast.js" name="ChromecastApi">
<clobbers target="chrome.cast" />
</js-module>
<js-module src="www/EventEmitter.js" name="EventEmitter"></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"/>
<param name="onload" value="true" />
</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" />
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" android:value="acidhax.cordova.chromecast.CastOptionsProvider" />
</config-file>
<framework src="com.google.android.gms:play-services-cast:17.0.0" />
<framework src="com.google.android.gms:play-services-cast-framework:17.0.0" />
<framework src="androidx.appcompat:appcompat:1.0.2" />
<framework src="androidx.mediarouter:mediarouter:1.0.0" />
<source-file src="src/android/CastOptionsProvider.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/Chromecast.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastConnection.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/ChromecastUtilities.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="MLPChromecast"/>
<param name="onload" value="true" />
</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.6" />
</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>
<header-file src="src/ios/MLPChromecast.h" />
<source-file src="src/ios/MLPChromecast.m" />
<header-file src="src/ios/MLPChromecastSession.h" />
<source-file src="src/ios/MLPChromecastSession.m" />
<header-file src="src/ios/MLPCastUtilities.h" />
<source-file src="src/ios/MLPCastUtilities.m" />
<header-file src="src/ios/MLPCastRequestDelegate.h" />
<source-file src="src/ios/MLPCastRequestDelegate.m" />
</platform>
</plugin>