Automattic / Automattic/pocket-casts-ios

Apple Watch: focus lost

Open
#65 3 comments 0 reactions 0 assignees View on GitHub
[Area] watchOS [Type] Bug
Dominant language
Swift
Stars
1.8k
Forks
197
Avg merge
17h 20m
Merged PRs (30d)
103

Description

Issue:

The Watch app is losing focus when a call comes in or is made from the Apple Watch. When this happens the audio/control focus is not focused on the iPhone instead.

Expected Use: Focus should remain on the Apple Watch instead of switching over to the iPhone.

User Contact:

> There's an issue with playback on the Watch when it's being used independently from the phone. Any time a phone call is made, or comes in on the watch, the app switches its view to "On the Phone", instead of staying "On the Watch". Which means any attempt to navigate files, or the audio position, or volume, is being attempted to the "Now Playing" for the phone instead of for the watch, even through the phone isn't present (And isn't even powered on).

Other Info:

I'm not sure if this is a bug on our end or just how iOS/watchOS works. I was able to reproduce this on my end though.

Steps to reproduce:

1. Turn off phone to make sure audio is only playing from the Watch.
2. Open Pocket Casts on the Apple Watch
3. Start a Podcast
4. Make a call from another phone or device so it comes through on the Apple Watch
5. The Now Playing option will then kick over to the iPhone even if it's turned off
6. Switch back to the Watch option in the now playing section

5355021-zen

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the listed Apple Watch call scenario with the phone powered off, then trace the Watch app's Now Playing and focus-handling entry points. Done means playback controls remain on the Watch after an incoming or outgoing call instead of switching to the iPhone.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.