wordpress-mobile / wordpress-mobile/WordPress-Android

Sharing Media to the Jetpack app through "Add to Media Library" doesn't work for photos not stored locally

Open
#20,154 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Sharing media from the default gallery app, like Google Photos, should always work.

Actual behavior

Photos don't upload when they are not stored locally on the user's device.

Steps to reproduce the behavior

Update: The following reproduction steps have been found following more details from the user:

  • Log into Google Photos on the web and upload a photo.
  • Navigate to the Google Photos app on your Android device and verify that the new photo correctly syncs.
  • Still on your Android device, select the photo and scroll up to view its details. You should not see an On device section in the photo's details panel.
  • Tap Share.
  • Select the Jetpack app from the available sharing options and choose Add to Media Library.
  • Verify that nothing happens, you're taken to the Media Library but the photo is not added.
Tested on [device], Android [version], JPAndroid / WPAndroid [version]

Device: Samsung Galaxy S9

Android Version: 10

Jetpack Version: 24.0.2(1404)

Note

Potentially related: https://github.com/wordpress-mobile/WordPress-Android/issues/20141

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 reproducing the Google Photos sharing flow described in the issue, using a photo that is not stored locally. Trace the Jetpack app's "Add to Media Library" entry point and compare it with the related issue #20141. Done means a remotely stored photo shared from Google Photos is added to the Media Library.

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.