Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

AubreyHewes/cordova-background-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

Try another plugin for example (no guarantees):

https://github.com/EddyVerbruggen/cordova-plugin-backgroundaudio/

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 nl.kingsquare.cordova.background-audio
# OR
cordova plugin add https://github.com/AubreyHewes/cordova-background-audio.git # latest

Ionic

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

PhoneGap

phonegap local plugin add nl.kingsquare.cordova.background-audio
# or 
phonegap local plugin add https://github.com/AubreyHewes/cordova-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="nl.kingsquare.background-audio" />