ionic-team / ionic-team/capacitor
[Bug]: Volume of background app is lowered when I launch my Capacitor app
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 10
Description
### Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/android: 7.2.0
@capacitor/ios: 7.2.0
Installed Dependencies:
@capacitor/cli: 7.1.0
@capacitor/core: 7.1.0
@capacitor/android: 7.1.0
@capacitor/ios: 7.1.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
### Other API Details
```Shell
npm version: 10.8.1
node version: v20.16.0
pod version: 1.14.3
```
### Platforms Affected
- [x] iOS
- [ ] Android
- [ ] Web
### Current Behavior
If I have spotify playing music, then I launch my Capacitor app on iOS, the audio of the background app (music from spotify) is lowered. The system volume level seems to be unchanged, but the audio is noticably lower.
### Expected Behavior
The audio volume output should be unchanged when I launch the Capacitor app.
### Project Reproduction
https://github.com/FabianTauriello/capacitor-audio
### Additional Information
- I'm using @vimeo/player to embed vimeo videos thoughout the app, but I noticed that when I uninstalled this package, the issue was still there.
- I have this seen this audio lowering called "audio ducking" in some places.
Contributor guide
Assessment
This issue has not been assessed yet.