Skip to content

Mobile app - Let users choose where to save the downloaded pictures or files #3513

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Expected Result:

Users should be able to choose where to save the files that were downloaded from e.cash

Actual Result:

User is not able to choose on where to save the file.

Action Performed:

  1. Log in to e.cash
  2. Navigate to a conversation
  3. Send a image or file
  4. Click on the image or file
  5. Click on the download icon on the top right.

Workaround:

Image can be downloaded but it's located in Files > On my iPhone > Expensify.cash (For iOS)

Platform:

Where is this issue occurring?

Web
iOS ✔️
Android ✔️
Desktop App
Mobile Web

Version Number: 1.0.66-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos:
Please check the slack thread linked below, it provides more information on why this is an issue.

Expensify/Expensify Issue URL:

View all open jobs on Upwork


From @coleaeason https://expensify.slack.com/archives/C01GTK53T8Q/p1623207405117800

clicking download icon after clicking on an image on iOS does….nothing. But it says it downloaded the image

Activity

  1. MelvinBot commented on Jun 10, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @robertjchen (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jun 10, 2021
  3. MelvinBot commented on Jun 10, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @jliexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  4. robertjchen commented on Jun 10, 2021

    @robertjchen
    Contributor

    Sounds like a great self-contained task for our contributors, tagging as External

  5. removed their assignment
    on Jun 10, 2021
  6. jliexpensify commented on Jun 11, 2021

    @jliexpensify
    Contributor

    Posted to Upworks: https://www.upwork.com/ab/applicants/1403186180271632384/job-details

    EDIT: Removed this post, as it had been 18 days without a proposal. Re-posted below!

  7. MelvinBot commented on Jun 11, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @NikkiWines (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  8. jliexpensify commented on Jun 14, 2021

    @jliexpensify
    Contributor

    Still awaiting proposals.

  9. dklymenk commented on Jun 18, 2021

    @dklymenk
    Contributor

    I tried to find an app on my phone that allows me to select a destination folder, I couldn't find one. All of them save the files to their own folders, some use the downloads directory. Also there are not many resources online on this particular topic in regards to react-native.

    However, very recently a pickDirectory method has been merged into react-native-document-picker (a lib you are already using), it is android only and I actually wanted to give it a quick try.

    Seems like it requires permissions that are different from default pick method, so I couldn't actually verify if it works.
    DeepinScreenshot_select-area_20210618154012

    Anyway, even it worked flawlessly it is still android only, so the way I see it, this feature request requires some contributions to native libraries. That is probably why there were zero proposals in a week.

  10. 10 remaining items

  11. marcaaron commented on Jun 28, 2021

    @marcaaron
    Contributor

    @marcaaron We will be definitely using rn-fetch-blob to save the actual file, in fact it is already used but with a hardcoded path. The idea with react-native-document-picker was to make use of native file browser to pick a directory. Or do you mean we can create a hand-made file browser using RNFetchBlob.fs.ls()?

    Sorry, I'm not sure. Just tossing out a suggestion in the hopes someone would investigate.

  12. marcaaron commented on Jun 28, 2021

    @marcaaron
    Contributor

    So my suggestion here is to use this lib https://www.npmjs.com/package/react-native-directory-picker and complete the above feature.

    @parasharrajat Submitting a PR against react-native-document-picker is a good idea. react-native-directory-picker should probably be avoided since it does not have much community traction.

    Could we maybe build this ourselves as a native module? It doesn't feel like there is a clear 3rd party package that does exactly what we need.

  13. parasharrajat commented on Jun 28, 2021

    @parasharrajat
    Member

    Yeah creating our own native module is good idea as we can decide the behaviour. and if this works great then we can submit a PR to react-native-document-picker. Its fine if they won't accept it.

  14. dklymenk commented on Jun 30, 2021

    @dklymenk
    Contributor

    Hello, is this issue still up for grabs? I thought the suggestion by @parasharrajat makes sense and is to be approved, but the price on the upwork job has doubled and I've received an "Invitation to interview". Is it just to get more eyes on the issue? What's up with that?

    EDIT: nvm, the price has been doubled 3 days ago. Haven't noticed that comment, sorry.

  15. NikkiWines commented on Jul 1, 2021

    @NikkiWines
    Contributor

    @dklymenk this is still available, yes.

    But... to be honest, I really don't know that users need the ability to choose where to download their image/file to. As @dklymenk said earlier on: "I tried to find an app on my phone that allows me to select a destination folder, I couldn't find one.". My experience is the same, I don't think I have a single app that lets me choose where downloaded items go.

    This issue was created because it was confusing that downloading attachments had no feedback for the user. That's been addressed since there's now a pop-up that lets you know that we've successfully downloaded that attachment.

    So, maybe the solution (if we even need one) should instead be something simpler. An option could be to change the download location so that it goes to the general folder in Photos instead of Files > Expensify.cash. Alternatively, we could modify the Downloaded! Attachment successfully downloaded pop-up so it's clearer where the image/file is being downloaded to. Was chatting with @marcaaron and he brought up the suggestion of modifying that pop-up so that the user can choose to go to the downloaded file.

  16. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 2, 2021
  17. parasharrajat commented on Jul 7, 2021

    @parasharrajat
    Member

    Please let us know what needs to be done here. Are we need what NikkiWines suggested here #3513 (comment)?

  18. NikkiWines commented on Jul 9, 2021

    @NikkiWines
    Contributor

    Brought this to slack to discuss what we're looking for in terms of a solution. Putting a HOLD on this until we know what way we want to move forward.

  19. changed the title [-]Mobile app - Let users choose where to save the downloaded pictures or files[/-] [+][HOLD] Mobile app - Let users choose where to save the downloaded pictures or files[/+] on Jul 9, 2021
  20. jliexpensify commented on Jul 12, 2021

    @jliexpensify
    Contributor

    Looks like we voted to close the issue. Thanks everyone!

  21. changed the title [-][HOLD] Mobile app - Let users choose where to save the downloaded pictures or files[/-] [+]Mobile app - Let users choose where to save the downloaded pictures or files[/+] on Jul 28, 2021
  22. removed
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 28, 2021
  23. dklymenk commented on Jul 31, 2021

    @dklymenk
    Contributor

    Hello, I'm sorry to notify everyone here, but I think the upwork job for this issue wasn't closed: https://www.upwork.com/jobs/~01d4cfe8b8011b7d5a

    If that's not a correct way to notify Expensify about stuff like this, please let me know where should I message about it in the future.

  24. jliexpensify commented on Aug 2, 2021

    @jliexpensify
    Contributor

    Hi @dklymenk - thanks for letting us know. This was on me, I forgot to close the job when the GH was closed! I've just closed it.

    You can definitely comment in the GH, or bring it up in the Open Source channel. Thanks again!

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

Metadata

Metadata

Labels

DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions