pocket-casts-ios icon indicating copy to clipboard operation
pocket-casts-ios copied to clipboard

Apple Watch: no Wearable Logs Sent in Ticket

Open pocketcasts opened this issue 2 years ago • 1 comments

User having trouble logging in to the Pocket Casts Watch app. They sent a ticket along with logs and no wearable logs were included.

Cases

  • 4629344-zen
  • 4851559-zen
  • 4858784-zen
  • 4528819-zen
  • 4528819-zen

pocketcasts avatar Jul 12 '22 15:07 pocketcasts

+1 5544386-zen

ezebecke avatar Sep 12 '22 14:09 ezebecke

I suspect the reason for not sending logs is that watch app is not open at the time when the support request is created. We use the sendMessage(_:replyHandler:errorHandler:) method and as per Apple documentation:

Calling this method from your iOS app does not wake up the corresponding WatchKit extension. If you call this method and the counterpart is unreachable (or becomes unreachable before the message is delivered), the errorHandler block is executed with an appropriate error. https://developer.apple.com/documentation/watchconnectivity/wcsession/1615687-sendmessage

I can simulate this error by keeping the watch app closed when creating a support request: 2023-01-24 21:44:45.377704+0200 podcasts[4880:1272908] [WC] -[WCSession _onqueue_notifyOfMessageError:messageID:withErrorHandler:] (null) errorHandler: YES with WCErrorCodeNotReachable Error: WatchConnectivity session on paired device is not reachable.

We should probably add some text to inform the user of the need to open the watch app in order to retrieve the logs.

rviljoen avatar Jan 25 '23 15:01 rviljoen

6310819-zd-woothemes

joashrajin avatar May 23 '23 08:05 joashrajin

User in #6310819-zen reported back. In the ticket, they shared a screenshot from the app (I'm not sure if it's okay to share here). It shows that there are watch logs. However, they were not attached to the ticket they created, #6322351-zen.

As a workaround for this issue, would it be possible to make it so that the logs can be copied and pasted?

igotdes avatar May 24 '23 02:05 igotdes