-
Notifications
You must be signed in to change notification settings - Fork 41
/
plugin.xml
executable file
·38 lines (29 loc) · 957 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="nl.x-services.plugins.backgroundaudio"
version="1.0.1">
<name>BackgroundAudio</name>
<description>
Allows your app to keep on playing audio when it's in the background.
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<!-- ios -->
<platform name="ios">
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>audio</string>
</array>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="BackgroundAudio">
<param name="ios-package" value="BackgroundAudio"/>
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/BackgroundAudio.h"/>
<source-file src="src/ios/BackgroundAudio.m"/>
</platform>
</plugin>