forked from boedy/cordova-volume-control
-
Notifications
You must be signed in to change notification settings - Fork 5
/
plugin.xml
32 lines (29 loc) · 1.31 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-simple-volume" version="1.0.1">
<name>Cordova simple volume control</name>
<description>Control volume and Receive volume events (iOS /Android)</description>
<license>Apache 2.0</license>
<keywords>cordova,volume,ios,buttons</keywords>
<js-module src="www/volumeControl.js" name="VolumeControl">
<clobbers target="volumeControl" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="VolumeControl">
<param name="android-package" value="com.cordova.volumeControl.VolumeControl"/>
</feature>
</config-file>
<source-file src="src/android/VolumeControl.java" target-dir="src/com/cordova/volumeControl/"/>
<source-file src="src/android/VolumeObserver.java" target-dir="src/com/cordova/volumeControl/"/>
</platform>
<platform name="ios">
<header-file src="src/ios/VolumeControl.h" />
<source-file src="src/ios/VolumeControl.m" />
<config-file target="config.xml" parent="/widget">
<feature name="VolumeControl">
<param name="ios-package" value="VolumeControl" />
</feature>
</config-file>
</platform>
</plugin>