past this into your config.xml file
<gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
<array>
<string>audio</string>
</array>
</gap:config-file>
Вопрос
I am looking for a media server to help me deliver on demand mp3s to my clients via a phonegap app using phonegap media api. In my current solution it takes a while for larger files to load before it can start playing I want to lessen that time by using some sort of stream instead of doing direct download.
Any help would be greatly appreciated.
Решение
past this into your config.xml file
<gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
<array>
<string>audio</string>
</array>
</gap:config-file>