wordpress-mobile / wordpress-mobile/WordPress-Android

Tapping Like in emails does't like a post (sometimes)

Open
#7,498 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

I couldn't reliably replicate this even though I did see it a couple of times before. But it happened to me again today in the morning. When I tried to like a post from an email, the app opens up but the like doesn't go through. Going back and repeating did, though and it worked afterwards.

It seems that when the WordPress app is in the background the Intent data doesn't get passed to the app the first time. The weird thing is that I couldn't replicate it by killing the app or using "Don't keep activities" option.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies Android Intent data handling when the app is in the background, but names no file or test. Start by tracing the Intent path used when opening a post from an email, then reproduce the first-tap case with the app backgrounded; done means the like consistently succeeds on the first attempt.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.