wordpress-mobile / wordpress-mobile/WordPress-Android

[GB-Mobile] Image upload doesn't work when don’t keep activities is ON or device is under heavy load

Open
#10,163 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Noticed that picture selection in the Image block doesn't work fine when don’t keep activities is ON, or when the device is under heavy load.

This is probably due to JS <----> Native bridge/listeners being corrupted when the image browser activity/screen is shown on the device and the host activity killed.

GB-mobile side Issue: https://github.com/wordpress-mobile/gutenberg-mobile/issues/582

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

Start by reading the linked Gutenberg Mobile issue and reproducing image selection with “Don’t keep activities” enabled or while the device is under heavy load. Trace the Image block’s picture-selection flow across the JavaScript/native bridge and activity recreation. Done means selected images upload reliably in both conditions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.