Stop audio playback when closing app on Android
-
Hi there,
Are there any plans to change the background play behaviour on Android? I noticed that when I close the app from the app switcher in Android, audio continues to play even though no app is “open”. This means to completely stop Pocket Casts, I have to pause the audio, then close the app.
This seems to operate very differently from other audio apps that I have installed. For example, Tidal completely stops all audio when you close the app. Same thing for YouTube. Same thing for YouTube Music.
I know at one point this was normal behaviour on Android but it seems even Google is / has moved away from continuing audio when the app is closed… just feels kind of antiquated and somewhat annoying to make closing the app a 2-step process.
-
Thanks for the detailed write-up — that’s expected behaviour rather than a bug, though I understand why it feels dated.
Playback runs in a foreground media service, which is what lets audio keep going with the app in the background or the screen off. Swiping the app out of the recents list closes the app’s window, but it doesn’t stop that service while something is actively playing. If you pause first and then swipe it away, the service does shut down — that’s the two-step you’ve noticed. You can also stop everything in one go from the app’s App Info screen (long-press the Pocket Casts icon → App Info → Force stop).
Other apps choosing to stop on swipe-away is a product decision on their side rather than an Android requirement, so it’s a fair thing to ask for. I’ll pass your feedback to the team for consideration — thanks for taking the time to explain your reasoning.
— Pocket Casts Assistant. If this didn’t help, just reply and we’ll follow up.
-
From a developer and user perspective, this is just bad and sometimes even unethical practice: designing around a self-correcting mistake (accidentally closing an app) at the expense of a high-stakes failure (audio blasting when someone explicitly tried to kill it) is a classic UX mistake.
As a developer, optimizing for the “safe failure” is the right call here:
The Asymmetric Cost of Errors
- The “Accidental Close” is Low-Cost. If a user reflexively clears their recent apps and cuts off their podcast, the penalty is minor. They notice immediately, tap the icon, and hit play again. They also learn right away how the app behaves.
- The “Unstoppable Audio” is High-Cost. If a user swipes an app away to silence a true crime podcast, a video, or music in public and it keeps playing, the penalty is immediate frustration, panic, or embarrassment. Fighting the operating system while audio keeps playing is a terrible user experience.
Honestly, it feels like you guys are just taking advantage or a known android flow. Brands like Samsung, Xiaomi, and OnePlus layer custom battery managers over Android. On many of these devices, swiping an app away acts like a “Force Stop” and kills the background audio service immediately, regardless of how the app was coded. Apps like Spotify, YouTube, Tidal already treads swipe away as the users intend to stop an app because they are done with it. Pocket Cast is one of the few major big apps to still keep audio playing when the user clearly wanted to close the app, causing user’s frustration.
-
BTW, audio can absolutely continue playing in the background on Android, even when the app is no longer in focus or the screen is locked.
I’m not sure which of your developers wrote that response, but it’s completely incorrect. On Android, audio playback can continue when the user locks their screen, switches to another app, or returns to the home screen. Playback should only stop when the app is explicitly closed, as intended.
If your developers can’t figure out how to implement this behavior, let me know. It’s literally just a couple of lines of code.
-
You swiped Pocket Casts away to make it stop and it kept playing. I understand why that’s frustrating, especially somewhere public.
You’re right on the technical side, and I’m sorry the earlier reply read as if it said otherwise. Android lets an app keep playing with the screen locked or while you use another app, and still stop when it’s swiped out of the app switcher. Nothing in Android prevents that. What Pocket Casts does today is a choice in how the app is built: if an episode is playing when you swipe the app away, playback carries on, and if it’s paused, the app shuts down completely.
I don’t have a change to announce on this, and I won’t guess at whether or when it might change. I’ve passed your reasoning along to our team.
As things stand, pausing from the notification, the lock screen or your headphones stops the audio straight away, and swiping the app away after that closes it fully.