mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 05:47:35 +00:00
Compatibility with homerours/cordova-music-controls-plugin plugin on iOS devices (#274)
* Update plugin.xml * Update APPBackgroundMode.m
This commit is contained in:
parent
03f221e873
commit
e939b13738
@ -37,7 +37,8 @@
|
||||
<platform name="ios">
|
||||
<config-file target="config.xml" parent="/*">
|
||||
<feature name="BackgroundMode">
|
||||
<param name="ios-package" value="APPBackgroundMode" />
|
||||
<param name="ios-package" value="APPBackgroundMode" onload="true" />
|
||||
<param name="onload" value="true" />
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
|
@ -173,7 +173,6 @@ NSString* const kAPPBackgroundEventDeactivate = @"deactivate";
|
||||
// Play music even in background and dont stop playing music
|
||||
// even another app starts playing sound
|
||||
[session setCategory:AVAudioSessionCategoryPlayback
|
||||
withOptions:AVAudioSessionCategoryOptionMixWithOthers
|
||||
error:NULL];
|
||||
|
||||
// Active the audio session
|
||||
|
Loading…
Reference in New Issue
Block a user