Skip to content
Cordova Background Audio support for iOS
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead, 1 commit behind AubreyHewes:master.
Latest commit 01614a7 Apr 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/ios Remove listener Jul 6, 2017
.gitignore
LICENSE
README.md publish Jun 10, 2017
package.json 1.1.0 Apr 27, 2018
plugin.xml

README.md

Looking for contributors

Hey there, I'm looking for active contributors to help move the development of this forward in a stable and timely fashion. This module was created for a specific project and I haven't had a need for this module in quite some time, so my personal time is not actively allocated to it. If you are interested in actively contributing, please contact me, Thanks!

Background Audio for iOS

Support an iOS application playing audio in the background.

When included within a cordova 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.

Installation

Cordova

cordova plugin add cordova-plugin-background-audio
# OR
cordova plugin add https://github.com/danielsogl/cordova-plugin-background-audio.git # latest

Ionic

ionic plugin add cordova-plugin-background-audio
# OR
ionic plugin add https://github.com/danielsogl/cordova-plugin-background-audio.git # latest

PhoneGap

phonegap local plugin add cordova-plugin-background-audio
# or
phonegap local plugin add https://github.com/danielsogl/cordova-plugin-background-audio.git # latest

PhoneGap Build (build.phonegap.com)

DEPRECATED.. no longer seems to work? Possibly requires updating the plugin to latest pgb spec? see #9

Add the following to your config.xml

<gap:plugin name="cordova-plugin-background-audio" />
You can’t perform that action at this time.