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 · 3 comments
Open
1 of 4 tasks
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@MateusHBR
Copy link
Contributor

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
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Nov 30, 2024
@loql-duc-luu
Copy link

loql-duc-luu commented Feb 6, 2025

The PR #1634 was approved, but not merged. Now there are new merge conflicts. Please resolve and merge @MateusHBR @miguelpruivo, thank you!

@github-actions github-actions bot removed the stale label Feb 7, 2025
@loql-duc-luu
Copy link

loql-duc-luu commented Feb 11, 2025

the fix to this issue is important, because it causes crashes on Android 10 devices.

it seems, @miguelpruivo isn't active the last days. is there any other contributor who can help @MateusHBR to approve and merge the PR #1634? maybe @navaronbracke?

the merge conflicts were solved, but no one approved and merged it, so new merge conflicts with main keep coming up.

thanks

navaronbracke added a commit that referenced this issue Feb 11, 2025
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

2 participants