Automattic / Automattic/pocket-casts-android

Flicker on loading upgrade view

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub
[Area] Profile Tab [Type] Enhancement Good First Issue
Dominant language
Kotlin
Stars
2.8k
Forks
308
Avg merge
1d 13h
Merged PRs (30d)
143

Description

### Description

There is a flicker when `Profile` -> `Accounts` screen loads since the upgrade view doesn't show immediately.

### Step-by-step reproduction instructions

1. Login with a `Free` account (in an in-app billing sandbox setup)
2. Go to `Profile` -> `Account` screen
3. Notice that the screen flickers as the upgrade view doesn't show immediately

### Screenshots or screen recording

https://user-images.githubusercontent.com/4656348/248854431-1637f3f9-fbcc-410f-b45d-98b077ce2461.mov

### Did you search for existing bug reports?

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

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

Noticed in https://github.com/Automattic/pocket-casts-android/pull/1121#pullrequestreview-1498817293

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the flicker in the Profile → Accounts screen with a Free account in the in-app billing sandbox, and review the context in pull request #1121. Trace how the upgrade view is loaded during screen startup. Done means the Accounts screen no longer visibly flickers and the upgrade view appears at the expected time.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.