Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Unable to add/upload images if Don't keep activities is ON #582

Open

Description

@daniloercoli

Image uploading isn't work fine on Android if Don't keep activities is turned ON.

To reproduce this problem

  • Start the wp-android app
  • Tap on the button to add a new post
  • Add an Image block
  • Select a picture from the device
  • Once the picture is selected you're back to the post with the Image block placeholder

(Not sure if the upload is going on under the hood or not).

Activity

  1. hypest commented on Feb 11, 2019

    @hypest
    Contributor
    • Add an Image block

    Just making sure, is this a Gutenberg only issue or does it happen in Aztec too @daniloercoli ?

  2. daniloercoli commented on Feb 11, 2019

    @daniloercoli
    ContributorAuthor

    It does work without any problem on Aztec. (Tested on alpha-150 - versionCode 674)

  3. added
    Parent appAn issue that happens outside the editor and its RN bridge. Better move to main app repo.
    on May 4, 2020
  4. changed the title [-][Android] Unable to add/upload images if `Don't keep activities` is ON[/-] [+]Unable to add/upload images if `Don't keep activities` is ON[/+] on May 4, 2020
  5. SergioEstevao commented on May 4, 2020

    @SergioEstevao
    Contributor

    @mchowning is this still happening on Android?

  6. mchowning commented on May 4, 2020

    @mchowning
    Contributor

    I am still seeing this issue, although it presents slightly differently now. After selecting to upload the image, I see the in progress upload icon in the notification bar and the upload does complete successfully, but the image block never gets updated and still has the image placeholder.

  7. self-assigned this
    on Feb 7, 2022
  8. SiobhyB commented on Feb 7, 2022

    @SiobhyB
    Contributor

    Noting that I'm going to be taking a dive into this issue. :)

    I'm still seeing the same behaviour that Matt detailed with Don't keep activities enabled. You'll see from the following video that the the Image block isn't correctly updated although the uploaded image is correctly added to the site's Media Library:

    image.mov

    The above video comes from testing on the latest alpha-341 on a Pixel 4XL emulator. I also confirmed the same behaviour on a physical Pixel 5 on version 19.1 of the app.

    Related issues:

  9. SiobhyB commented on Feb 10, 2022

    @SiobhyB
    Contributor

    I chatted with @hypest about this issue a bit yesterday, he let me know that the fix for this issue is likely not simple, possibly requiring larger architectural considerations that are a bit beyond the scope of what we're currently trying to achieve. I time-boxed some explorations and confirmed I wasn't able to make progress on a fix. Given that, and the fact this issue isn't impacting a large number of users, I'm un-assigning myself for now.

    While researching this issue, I came across this work from other developers that may be helpful for people looking into this in the future:

  10. removed their assignment
    on Feb 10, 2022
  11. self-assigned this
    on Feb 17, 2022
  12. mchowning commented on Feb 17, 2022

    @mchowning
    Contributor

    In my testing, with Don't keep activities enabled, any time I attempt to insert an image (whether it is an uploaded image, or from the media gallery), the post fails to actually update with the inserted image (i.e., the block remains empty), so this appears to be a broader issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

MediaParent appAn issue that happens outside the editor and its RN bridge. Better move to main app repo.[OS] Android[Type] BugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions