Automattic / pocket-casts-ios

Pocket Casts iOS app 🎧
Mozilla Public License 2.0
1.64k stars 129 forks source link

Playback: Audio resuming after phone calls #1248

Open joashrajin opened 9 months ago

joashrajin commented 9 months ago

Description

I’ve encountered a new bug with iOS 17. The app resumes even manually paused audio playback when a phone call is ended. This includes rejecting incoming calls, ending a taken call, or Live voicemail. Unless the pocket cast app is manually swiped closed the previous audio will resume after the interaction with the phone app. Latest version 7.52.1 installed and confirm this doesn’t affect other audio apps, just pocket casts.

7380495-zd-a8c

Reporting it here based on the feedback here: https://github.com/Automattic/pocket-casts-ios/issues/45#issuecomment-1833797248

Step-by-step reproduction instructions

  1. Pause playback of Pocket Casts
  2. Answer a phone call
  3. End the phone call, and notice the playback resumes

Screenshots or screen recording

No response

Did you search for existing bug reports?

Device, Operating system, and Pocket Casts app version

App Version: 7.52.1 Device: iPhone14,5 OS: 17.1.1

joashrajin commented 9 months ago

A few reports of this on the forum too: https://forums.pocketcasts.com/forums/topic/phone-call-bug/?view=all#post-2140

7376040-zd-a8c

cc: @leandroalonso

leandroalonso commented 9 months ago

I'm not able to reproduce that.

I tested on an iPhone 14 with connected and disconnected Bluetooth devices. 🤔

rviljoen commented 9 months ago

I have not been able to reproduce it either. iPhone 14 Pro on Car Bluetooth and Airpods Pro 1st Gen

joashrajin commented 9 months ago

Any information you need us to collect from those affected?

leandroalonso commented 9 months ago

Besides the usual (OS, device, app version):

  1. If they're connected to any Bluetooth device
  2. Do they use trim silence?
  3. Is the episode downloaded?
  4. How it was paused?

Thanks @joashrajin

aia832003 commented 9 months ago

I am one of the users who reported this issue and looks like my submission from the OP. I can add some of the answers from @leandroalonso questions.

Running latest OS version and app version on iPhone 13. Pocket Casts 7.52.1 iOS 17.1.2

  1. If they're connected to any Bluetooth device: This occurs on both bluetooth or phone audio
  2. Do they use trim silence? not sure what this is so gonna go with no
  3. Is the episode downloaded? happens with both streamed or downloaded content
  4. How it was paused? also doesn't matter. can pause directly from the app, lockscreen, or shade shortcut. all instances resume playback once phone app interaction is ended
aia832003 commented 9 months ago

First thought was this was an iOS bug but no other audio app is affected. YouTube Music, Apple Music, Podcasts, and Plex all work as expected without this resume issue.

aia832003 commented 8 months ago

As an addition I’ve even tried a factory reset to attempt to resolve this. The bug persists even after the reset.

leandroalonso commented 8 months ago

@aia832003 I've been unable to reproduce that. I wonder if any settings need to be enabled so this issue happens or something like it.

Are you on TestFlight by any chance? We just rolled out a feature that lets you export your podcasts/settings so I can try to reproduce it.

aia832003 commented 8 months ago

Good morning @leandroalonso. I'm not on the TestFlight, but would be willing to check that out. Another possible interference may be my Garmin watch. I have the Venu 2 Plus that functions with a mic and speaker for Siri/phone calls.

I've found this happens much less frequent if the watch is disconnected, and PocketCasts seems to also block Siri from working on the watch as expected when it is connected. Instead of launching Siri the watch shortcut replays paused PocketCasts playback. I can confirm this only happens with PocketCasts running. YT Music, Apple Podcasts, and 3 other audio apps function as they should with the watch connected.

ashiagr commented 8 months ago

Are you on TestFlight by any chance? We just rolled out a feature that lets you export your podcasts/settings so I can try to reproduce it.

Andrew sent us database and settings in this ticket: 7380495-zd-a8c

taakofrmtv commented 7 months ago

I am also affected by this bug. In addition to all of the other events that trigger the resumption of playback, it also occurs when taking no action on the phone call (so when the call eventually goes to voicemail the app will resume). My answers are pretty much the same as aia832003 so I copied some of their text.

Running latest OS version and app version on iPhone 14 Pro. Pocket Casts 7.55.0.3 iOS 17.2.1

If they're connected to any Bluetooth device: This occurs on both bluetooth or phone audio Do they use trim silence? No Is the episode downloaded? No How it was paused? also doesn't matter. can pause directly from the app, lockscreen, or shade shortcut. all instances resume playback once phone app interaction is ended

joashrajin commented 6 months ago

7783648-zd-a8c

joashrajin commented 6 months ago

7749733-zd-a8c

After an incoming call would conclude the episode would begin playing again without my having to wake up the screen and hit play, etc.

ericcardenas commented 5 months ago

Good morning @leandroalonso. I'm not on the TestFlight, but would be willing to check that out. Another possible interference may be my Garmin watch. I have the Venu 2 Plus that functions with a mic and speaker for Siri/phone calls.

I've found this happens much less frequent if the watch is disconnected, and PocketCasts seems to also block Siri from working on the watch as expected when it is connected. Instead of launching Siri the watch shortcut replays paused PocketCasts playback. I can confirm this only happens with PocketCasts running. YT Music, Apple Podcasts, and 3 other audio apps function as they should with the watch connected.

I have the exact same issue. Pocket Casts in conjunction with a Garmin Venu 2 Plus.

Pocket Casts is the only app that does this. Apple Music, Prologue (audiobook player), Vox (music player), Preamp (Plex audio player) and other audio apps are unaffected.

Has there been any progress on this issue?

leandroalonso commented 5 months ago

@ericcardenas when you're not using the Garmin, does the issue happen?

We're having trouble reproducing that because we don't have a Garmin watch. :(

ericcardenas commented 5 months ago

@leandroalonso The issue isn't reproducible when the watch is disconnected.

The same is true if I disable bluetooth-permissions for the Pocket Casts iOS app.

Another workaround is to close Pocket Casts by swiping up on the recently used app onscreen roller.

As I stated before all my other audio apps are unaffected.

Thanks for replying so quickly.

jinnypark commented 4 months ago

7878725-zd-a8c User on Garmin watch. D2 air x10. Pocket Casts 7.60.1. Player starts playing after a phone call no matter what.

jinnypark commented 4 months ago

I could not reproduce this issue. I tested by

  1. Connect a Garmin watch to iphone 13 mini via Bluetooth (opened the Garmin app on the phone to confirm that it's connected)
  2. Open a Pocket Casts episode, play, and then pause
  3. Decline an incoming call
  4. Take an incoming call and hang up

I'm using fenix 6S and Garmin app version 4.77.1.2. iPhone 13 mini, iOS 17.4.1


@ericcardenas

The same is true if I disable bluetooth-permissions for the Pocket Casts iOS app.

I'm not sure if I follow. Do you have any Bluetooth device connected to Pocket Casts iOS app? such as Apple Watch or Cars?

ericcardenas commented 4 months ago

@jinnypark Yes. The Garmin Venu 2 Plus has a built-in speaker and microphone that is connected via Bluetooth.

aia832003 commented 4 months ago

I can confirm I previously owned the Venu 2 Plus and preferred the non-touch of Forerunner. Forerunner has no voice assistant or microphone support and moved back to this model line. Problem doens't happen without these features found on the newer versions with microphone like the Venu 2 Plus etc.

On Mon, Apr 15, 2024 at 3:38 PM ericcardenas @.***> wrote:

@jinnypark https://github.com/jinnypark Yes. The Garmin Venu 2 Plus has a built-in speaker and microphone that is connected via Bluetooth.

— Reply to this email directly, view it on GitHub https://github.com/Automattic/pocket-casts-ios/issues/1248#issuecomment-2057666305, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACT7OU4PGLOYRL62LVVUWTDY5QUBTAVCNFSM6AAAAABACOIKL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGY3DMMZQGU . You are receiving this because you were mentioned.Message ID: @.***>

-- Andrew Allen

joashrajin commented 4 months ago

When PocketCast Is on, Garmin watch Venu 2 Plus play/pause App by pressing assistant button on the watch. Instad start voice assistant.

video available at 8080675-zd-a8c