Skip to content

[image_picker][android] PickedFile should store the original file name.  #64685

Closed

Description

@123cristen

The image picker plugin generates new file names for the selected image which don't match the original ones. I would like to show the original file name to users in order to confirm their selection.

Activity

  1. mehmetf commented on Aug 27, 2020

    @mehmetf
    Contributor

    image picker returns a PickedFile. It should be relatively easy to add support for this in the interface and then return the actual OS filename using ContentResolver (https://developer.android.com/training/secure-file-sharing/retrieve-info).

    Please feel free to contribute this to image_picker, it would be very much appreciated!

  2. liangtian123 commented on Nov 4, 2020

    @liangtian123
  3. blue492 commented on Nov 11, 2020

    @blue492
  4. changed the title [-][image-picker] PickedFile should store the original file name. [/-] [+][image_picker][android] PickedFile should store the original file name. [/+] on Feb 16, 2021
  5. pedromassangocode commented on Feb 16, 2021

    @pedromassangocode

    iOS version of this bug is #54815.

  6. renehw commented on Jun 28, 2021

    @renehw

    Has anyone found a solution to this problem?

  7. allanwolski commented on Jun 29, 2021

    @allanwolski
  8. 12 remaining items

  9. SwiftDeveloper859 commented on Apr 11, 2023

    @SwiftDeveloper859
  10. Tienisto commented on Jul 16, 2024

    @Tienisto

    The title should either remove "android" or add "iOS" also.

  11. MohsinIkram777 commented on Oct 2, 2024

    @MohsinIkram777

    Can anyone please give me solution?
    How to get the original file name after pick images from the ImagePicker?

  12. Tienisto commented on Oct 26, 2024

    @Tienisto

    A workaround would be to use wechat_assets_picker

  13. AlexV525 commented on Nov 11, 2024

    @AlexV525
    Member

    The title should either remove "android" or add "iOS" also.

    @Tienisto The issue is about the ability on the Android platform and it seems to be fixed by flutter-team-archive/plugins#6096. Could you provide more details about iOS in a new issue? The issue has been triaged and fixed so we should move on next to avoid confusion for the team and other users.

    EDIT: For iOS filename issue, head over to #54815

  14. github-actions commented on Nov 25, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  15. locked as resolved and limited conversation to collaborators on Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: money (g3)p: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions