WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

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

Open notandyvee opened this issue 1 year ago • 2 comments

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

notandyvee avatar Feb 08 '24 18:02 notandyvee

Similar report in #7755012-zen

Aurorum avatar Feb 17 '24 18:02 Aurorum

I've been able to reproduce this behaviour after the user in 7701136-zen shared more details. The issue appears specific to photos that are available in Google Photos, but not saved locally to the device they're being shared from. I'll update this ticket with the following steps to reproduce:

  • 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.

SiobhyB avatar Mar 06 '24 12:03 SiobhyB