-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
'_codec != null': does not allow images to render on iOS #38
Comments
Thanks for providing the test image. |
I can't load any image. I just tried 5 from various sources, http/https, CDN/no CDN, jpeg/png, no luck. Note that this is an integration between a native app and a flutter app, I'm not sure if there are any required Xcode settings to allow this to work. My flutter portion is able to make API calls, so it shouldn't be an internet connection, but if there is any more data I can get for you, just let me know. |
|
I will close this issue for now. If you still have a problem you can reopen it. |
This may be a duplicate of #35. I have tried uninstalling/upgrading/restarting in various ways and it stays consistent.
I have a flutter project that compiles to a complete android app, and parts are used within a native iOS (Swift) app. We've been doing most of our development in Android, where this plugin works great, however in iOS it does not load any images and throws an exception:
I have tried using a CachedNetworkImage, as well as a CachedNetworkImageProvider (see code below, including commented out version below. Both work fine on Android, neither on iOS.
I've tried printing the debug string, which doesn't provide any detail, and trying to get any more detail into the object doesn't give me much. A test image (if it matters) would be https://d2pjgca6juiy4m.cloudfront.net/default_card.png. All images in this call and others throughout the all (which are all failing on iOS) retrieve PNGs from CloudFront.
See image attachment of same code working on Android and not iOS.
![screen shot 2018-04-18 at 11 56 10 pm](https://user-images.githubusercontent.com/5420059/38975832-2f38292e-4364-11e8-9f72-ae74034237ba.png)
The text was updated successfully, but these errors were encountered: