-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
executable file
·46 lines (30 loc) · 1.27 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-silent-mode" version="1.0.0">
<name>SilentMode</name>
<description>The plugin allow to verify if the phone is currently in silent mode.</description>
<repo>https://github.com/gsiuniak/cordova-silent-mode.git</repo>
<keywords>ios silent mode ringer</keywords>
<license>Apache 2.0</license>
<author>gsiuniak</author>
<!-- cordova -->
<engines>
<engine name="cordova" version=">=3.6.0" />
</engines>
<!-- js -->
<js-module src="www/silent-mode.js" name="SilentModePlugin">
<clobbers target="SilentMode" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SilentMode">
<param name="ios-package" value="CDVSilentModePlugin" />
</feature>
</config-file>
<header-file src="src/ios/SharkfoodMuteSwitchDetector.h" />
<source-file src="src/ios/SharkfoodMuteSwitchDetector.m" />
<header-file src="src/ios/CDVSilentModePlugin.h" />
<source-file src="src/ios/CDVSilentModePlugin.m" />
<resource-file src="www/mute.caf" target="mute.caf" />
</platform>
</plugin>