https://github.com/davidfig/cordova-allow-background-audio
Cordova plugin that allows background audio to continue to play while app is running
https://github.com/davidfig/cordova-allow-background-audio
Last synced: 23 days ago
JSON representation
Cordova plugin that allows background audio to continue to play while app is running
- Host: GitHub
- URL: https://github.com/davidfig/cordova-allow-background-audio
- Owner: davidfig
- License: mit
- Created: 2017-08-22T05:34:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-22T06:32:43.000Z (over 7 years ago)
- Last Synced: 2025-04-14T23:44:18.227Z (23 days ago)
- Language: Objective-C
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Allow Background Audio for iOS
When included within a cordova/phonegap build then the application will not stop any background audio that is playing. Any application sounds will play over the background audio.
No further action is necessary.
# Installation
cordova plugin add cordova-allow-background-audio
OR
cordova plugin add https://github.com/davidfig/cordova-allow-background-audio.git# Attribution
The code is based on the answer to this question: https://stackoverflow.com/questions/14122363/iphone-app-allow-background-music-to-continue-to-play?lq=1
The plugin was base https://github.com/AubreyHewes/cordova-background-audio, which does the opposite of this plugin: allows your audio to run in the background when not the app is not in focus.