Audio playing in the background

I’m using Build and have tried adding this plugin like I had on another app that didn’t use ionic to my config.xml:

<gap:plugin name="nl.x-services.plugins.backgroundaudio" version="1.0.0" />
<gap:plugin name="nl.x-services.plugins.socialsharing" version="4.3.8" />
<feature name="BackgroundAudio">
	<param name="ios-package" value="BackgroundAudio" />
	<param name="onload" value="true" />
</feature>

But it won’t let me close the app and keep music going like I had on my other app. Am I missing something to allow this in Ionic?

Thanks in advance.

After a week of searching and IRC and trials and errors, I have a fix for this.
I’m just using this build plugin:

<gap:plugin name="nl.kingsquare.background-audio" version="1.0.0" />

You don’t need the <feature> "BackgroundAudio"
But the really important change that makes it work is to change the namespace of the <widget>.

You HAVE to use:
<widget {{your version and id}} xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">

instead of the one ionic generates:
<widget {{your version and id}} xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

I hope this saves someone else some headaches.

Thanks for the solution - it worked also for me. But I have this edition:

<widget {{your version and id}} xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://phonegap.com/ns/1.0">

And:
<plugin name="nl.kingsquare.background-audio" version="1.0.0"/>