[GH-ISSUE #1210] [IOS] Mediaplayback stops when opening Floccus #807

Closed
opened 2026-02-25 22:38:10 +03:00 by kerem · 4 comments
Owner

Originally created by @getwet on GitHub (Jun 24, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1210

Hi,

I was wondering Spotify or VLC stops playing when I open Floccus on iOS.

Cheers and have a nice weekend

Originally created by @getwet on GitHub (Jun 24, 2022). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1210 Hi, I was wondering Spotify or VLC stops playing when I open Floccus on iOS. Cheers and have a nice weekend
kerem closed this issue 2026-02-25 22:38:10 +03:00
Author
Owner

@marcelklehr commented on GitHub (Jul 4, 2022):

Mh, this is curious. I have not idea why this happens.

<!-- gh-comment-id:1173704534 --> @marcelklehr commented on GitHub (Jul 4, 2022): Mh, this is curious. I have not idea why this happens.
Author
Owner

@idunno101 commented on GitHub (Apr 13, 2023):

I also experienced this issue so I did some searching and I think I found the cause.

This post on the Ionic Forum hinted that the background-mode cordova plugin might be the cause.

There's a similar issue for the original plugin at https://github.com/katzer/cordova-plugin-background-mode/issues/481

In that issue they figured out that this line needed to be added to APPBackgroundMode.m

withOptions:AVAudioSessionCategoryOptionMixWithOthers

So I guess a different fork of the background-mode plugin should be used. Or you could remove the plugin if you think it's not needed (like the person on the forum did).

<!-- gh-comment-id:1506808685 --> @idunno101 commented on GitHub (Apr 13, 2023): I also experienced this issue so I did some searching and I think I found the cause. [This post](https://forum.ionicframework.com/t/background-sound-music-are-cancelled-after-opening-app-ios/229473) on the Ionic Forum hinted that the background-mode cordova plugin might be the cause. There's a similar issue for the original plugin at https://github.com/katzer/cordova-plugin-background-mode/issues/481 In that issue they figured out that [this line](https://github.com/EinfachHans/cordova-plugin-advanced-background-mode/blob/d2df19303f66677e8d1bfbc873f5986c635b557a/src/ios/APPBackgroundMode.m#L176) needed to be added to _APPBackgroundMode.m_ ``` withOptions:AVAudioSessionCategoryOptionMixWithOthers ``` So I guess a different fork of the background-mode plugin should be used. Or you could remove the plugin if you think it's not needed (like the person on the forum did).
Author
Owner

@getwet commented on GitHub (Dec 10, 2023):

Hi,

I was wondering Spotify or VLC stops playing when I open Floccus on iOS.

Cheers and have a nice weekend

Now fixed with Floccus 5.0.2.

Great work 👍
Many thanks.

<!-- gh-comment-id:1848967498 --> @getwet commented on GitHub (Dec 10, 2023): > Hi, > > I was wondering Spotify or VLC stops playing when I open Floccus on iOS. > > Cheers and have a nice weekend Now fixed with Floccus 5.0.2. Great work 👍 Many thanks.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 11, 2024):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:2533348437 --> @github-actions[bot] commented on GitHub (Dec 11, 2024): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#807
No description provided.