forked from AubreyHewes/cordova-background-audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
52 lines (37 loc) · 1.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.kingsquare.cordova.background-audio"
version="1.0.1">
<name>background-audio</name>
<description>
Background Audio for iOS
When included within a cordova/phonegap build then the application will support background audio for iOS
out of the box. No further action is necessary.
This negates having to use location/other solutions that may not be accepted by Apple.
</description>
<keywords>background-audio,background,audio,media,ios</keywords>
<license>MIT</license>
<author>[email protected]</author>
<repo>https://github.com/AubreyHewes/cordova-background-audio.git</repo>
<issue>https://github.com/AubreyHewes/cordova-background-audio/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BackgroundAudio">
<param name="ios-package" value="BackgroundAudio" onload="true" />
<param name="onload" value="true" />
</feature>
</config-file>
<!-- The app is able to run in background through audio background mode -->
<config-file target="*-Info.plist" parent="UIBackgroundModes">
<array>
<string>audio</string>
</array>
</config-file>
<source-file src="src/ios/BackgroundAudio.m" />
</platform>
</plugin>