-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[image_picker] image file in gallery is deleted by image_picker if it was scaled #29664
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
Comments
Not all devices are affected by this issue. Some of our devices affected:
Some of our devices NOT affected:
|
having the same issue here: |
I forked the plugins and did a temporary fix. You can use my fork temporary
|
Any update on this? The PR was created a week ago but no feedback was received. Some other image_picker issues caused by "file not found" error may also be caused by this issue because the user can select an image from the gallery whose file has already been deleted. |
This should be fixed in flutter/plugins#1445. |
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 |
Uh oh!
There was an error while loading. Please reload this page.
When picking an image from the gallery using the image_picker plugin, the image file in the gallery is deleted by image_picker if the image is scaled(exceeds the
maxWidth
ormaxHeight
limit).It seems that this issue was introduced in flutter/plugins#1288 which was intended to delete the original image captured from the camera(#23500), but the patch forgot to check the image source.
Steps to Reproduce
0.5.0+9
(issue introduced in0.5.0+6
)maxWidth
andmaxHeight
set.maxWidth
andmaxHeight
limit.Logs
The text was updated successfully, but these errors were encountered: