apache / apache/cordova-plugin-media
Audio from other app is not returning to continue playing after sound from plugin finish playing
- Dominant language
- JavaScript
- Stars
- 391
- Forks
- 762
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
## Problem
If some other app is playing sound in background, for example if you listen music on Spotify, and then if you use other app with cordova-plugin-media which will play some sound then it stops music from Spotify and other apps. After sound is played Spotify is not comming back to playing.
### What is expected to happen?
After plugin finish playing sound other apps from background which were playing music/other sounds should start playing again from moment whene plugin stoped it.
### What does actually happen?
When plugin finish playing music/other sounds from other apps are not coming back to playing
## Information
### Command or Code
Just play some sound using this plugin while playing music on Spotify or other music apps
### Environment, Platform, Device
Android and iOS
### Version information
## Checklist
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Contributor guide
Research direction
No files or tests are named. Start by reproducing the issue on Android and iOS while Spotify or another app plays audio, then trace the platform-specific audio interruption handling in cordova-plugin-media. Done means background audio resumes from its paused position after the plugin sound finishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, java, javascript, objective-c
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100