Automattic / Automattic/pocket-casts-android

Caching Issue When Retrieving Episode Notes

Open
#1,308 2 comments 0 reactions 0 assignees View on GitHub
[Area] Show Notes [Priority] Low [Type] Bug
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 13h
Merged PRs (30d)
143

Description

### Description

If changes are made to an episode's notes in a feed, it looks like the Android app does not pick up the change because of a caching issue.

This may be related to the following change: https://github.com/Automattic/pocket-casts-android/pull/1083.

### Step-by-step reproduction instructions

This was originally reported in Slack (p1692856501054099-slack-C02A333D8LQ) for the following episode: [B1C01 - A Long-expected Party](https://pca.st/episode/ac84b852-8d79-4b9a-886a-0016063d15e3).

1. Access the episode linked above on the Android app
2. The notes will begin with:

```
**Headphones required for full experience**

Version 1.1
```

### Screenshots or screen recording

Here's how the notes appear on the Android app:

![Screenshot_20230825_144404_Pocket Casts](https://github.com/Automattic/pocket-casts-android/assets/74066241/3845937a-8d7d-4f05-992a-982a1a6b546f)

Here's how they appear on the iOS app:

![File](https://github.com/Automattic/pocket-casts-android/assets/74066241/b4999502-ae1e-4ed3-972c-e7dacf9c817c)

And here are the notes on the web app:

![Markup on 2023-08-25 at 14_39_12](https://github.com/Automattic/pocket-casts-android/assets/74066241/026fccaf-e521-4f33-804b-00b7f321253b)

### Did you search for existing bug reports?

- [X] I have searched for existing bug reports.

### Device, Operating system, and Pocket Casts app version

Samsung Galaxy S23 Ultra, Android 13, Pocket Casts 7.46-rc-2 (9130)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing pull request #1083 and reproducing the issue with episode B1C01 - A Long-expected Party in the Android app. Compare the cached notes with the current feed data and verify that updated episode notes are retrieved after the relevant refresh or cache path runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
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.