-
Notifications
You must be signed in to change notification settings - Fork 220
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 Compression crashes Android #49
Comments
Please send your picture here as an attachment. I'll try the problem, because I have no problem using the picture in Example here. |
I have the same issue that show exact error message when I try to compress an image that taken from camera plugin v0.5.0. |
@ahde46 |
@CaiJingLong
|
@ahde46 Replace your pubspec.yaml version dependencies:
flutter_image_compress: ^0.5.1 to dependencies:
flutter_image_compress:
git:
url: https://github.com/OpenFlutter/flutter_image_compress.git
ref: 3494661d21b4948670a178c5fdc60f052f7f24cf |
If the problem can be solved, please leave a message here and I will push this ref version to pub. |
The git ref version works like a charm! |
@friebetill @ahde46 |
With the latest version 0.5.1 I get sometimes a crash when compressing a JPEG image on Android. Didn't test if it works with a version before that. The code is here:
And the exception is here:
The text was updated successfully, but these errors were encountered: