Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PlatformException(invalid_image, Cannot load representation of type public.jpeg, NSItemProviderErrorDomain, null)

Tags:

ios

flutter

I am getting folowing error for image_picker flutter implementaion

PlatformException(invalid_image, Cannot load representation of type public.jpeg, NSItemProviderErrorDomain, null)

this issue happening on ios simulator

like image 722
MUHAMMAD SHAHID RAFI C P Avatar asked Nov 17 '25 02:11

MUHAMMAD SHAHID RAFI C P


2 Answers

yes this happens when you try to choose a corrupted image in ios simulator,

to solve this just choose another image or download some images from safari browser

like image 110
Hachem Mohamed Mahmoud Avatar answered Nov 18 '25 19:11

Hachem Mohamed Mahmoud


This error also happens due to low storage on your phone, clear up some space and try it again.

like image 43
Henok Avatar answered Nov 18 '25 21:11

Henok



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!