Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images on Android are always compressing even if we set allowCompression to false #1633

Open
1 of 4 tasks
MateusHBR opened this issue Nov 22, 2024 · 0 comments
Open
1 of 4 tasks
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@MateusHBR
Copy link

MateusHBR commented Nov 22, 2024

Before creating an issue, make sure that you are on the latest file_picker version and that there aren't already any similar opened inssues. Also, check if it isn't described on the Wiki, specially on Troubleshooting page.

Also, sometimes a simple flutter clean and flutter build again with latest file_picker version, may end up by fixing cached issues, so I encourage you to first do so.

Describe the bug
When triggering pickFiles, the allowCompression has no effect on Android and always compress images

Platform

  • Android
  • iOS
  • Web
  • Desktop

Platform OS version
ALL

How are you picking?

    await FilePicker.platform.pickFiles(
        allowCompression: false,
        type: FileType.image,
    )

Details to reproduce the issue
Trigger the pick file with allowCompression as false

Error Log
Please, post the full console log of your issue, if applicable.

Screenshots and/or video
If applicable, add screenshots or video to help explain your problem.

Flutter Version details
Please, post the output of your flutter doctor -v, preferably, while running the issued device/simulator.

Additional context
Add any other context about the problem here.

@MateusHBR MateusHBR added the new issue An issue that hasn't yet been seen from the maintainer label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

No branches or pull requests

1 participant