forked from shi11/RemoteControls
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
55 lines (52 loc) · 2.85 KB
/
plugin.xml
File metadata and controls
55 lines (52 loc) · 2.85 KB
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://apache.org/cordova/ns/plugins/1.0"
id="com.rd11.remote-controls"
version="1.0.1">
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<name>RemoteControls</name>
<keywords>lockscreen,media,now,playing</keywords>
<repo>https://github.com/shi11/RemoteControls.git</repo>
<issue>https://github.com/shi11/RemoteControls/issues</issue>
<description>iOS lock-screen remote-controls and now playing display.</description>
<js-module src="www/RemoteControls.js" name="RemoteControls">
<clobbers target="window.remoteControls" />
</js-module>
<author>Seth Hillinger, François LASSERRE, Michael GAUTHIER, Guilherme Chaguri</author>
<license>MIT License</license>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="RemoteControls">
<param name="ios-package" value="RemoteControls" />
</feature>
</config-file>
<header-file src="src/ios/RemoteControls.h" />
<source-file src="src/ios/RemoteControls.m" />
<header-file src="src/ios/MainViewController+RemoteControls.h" />
<source-file src="src/ios/MainViewController+RemoteControls.m" />
<framework src="MediaPlayer.framework" />
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="RemoteControls">
<param name="android-package" value="guichaguri.remotecontrols.RemoteControls" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:stopWithTask="false" android:name="guichaguri.remotecontrols.RemoteNotification$NotificationService" />
</config-file>
<source-file src="src/android/RemoteControls.java" target-dir="src/guichaguri/remotecontrols" />
<source-file src="src/android/RemoteEventHandler.java" target-dir="src/guichaguri/remotecontrols" />
<source-file src="src/android/RemoteNotification.java" target-dir="src/guichaguri/remotecontrols" />
<resource-file src="src/android/res/play.png" target="res/drawable/play.png" />
<resource-file src="src/android/res/pause.png" target="res/drawable/pause.png" />
<resource-file src="src/android/res/stop.png" target="res/drawable/stop.png" />
<resource-file src="src/android/res/next.png" target="res/drawable/next.png" />
<resource-file src="src/android/res/previous.png" target="res/drawable/previous.png" />
<framework src="com.android.support:appcompat-v7:24.2.0" />
</platform>
</plugin>