Automattic / Automattic/pocket-casts-android

Listening history updates differently when switching accounts

Open
#538 0 comments 1 reaction 0 assignees View on GitHub
[Area] Listening History [Priority] Low [Type] Bug
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 13h
Merged PRs (30d)
143

Description

### Description

When switching from AccountA to AccountB in the app, I end up with a different listening history than when I just log into AccountB on a fresh install. It seems like AccountA's history gets carried over.

### Step-by-step reproduction instructions

1. Do a fresh install of the app
2. Log into one account
3. ✅ Observe that the listening history is updated appropriately.
4. Do a fresh install of the app
5. Log into a _different_ account
6. ✅ Observe that the listening history is updated appropriately.
7. Log out of the account
8. Log into the account that you logged into on Step 2
9. 💥 Observe that the listening history does not look like it did in Step 3 and instead looks like it did in Step 6.

### Screenshots or screen recording

https://youtu.be/Ri7vZ8V3SCs
(the video was too big/long to upload to GitHub)

### Did you search for existing bug reports?

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

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

Google Pixel 6 Pro, Android 13, Pocket Casts 7.26-rc-2 (9046)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the account-switching sequence on Android using the listed Pixel 6 Pro and app version details, comparing history after a fresh install with history after switching accounts. Done means each account shows the same listening history it would show after logging in on a fresh install, without the previous account's history carrying over.

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.