Skip to content

[Bug]: Volume of background app is lowered when I launch my Capacitor app #7976

Open
@FabianTauriello

Description

@FabianTauriello

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

npm version: 10.8.1
node version: v20.16.0
pod version: 1.14.3

Platforms Affected

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions