You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using images from third party services sometimes the links are broken. This should not break the code/app. I see huge memory spikes (1gb+) when loading images that are broken. It is not possible to handle these broken images correctly. onError does not give a proper error and it is not possible to handle.
To Reproduce
Load images with status codes other than 200, so a 403, 404 any 500 range or an broken link that returns a string/text.
Expected behavior onError should provide an error that can be handled inside the JS runtime.
Dependency versions
React Native version: 0.61.4
React version: 16.11.0
React Native Fast Image version: 7.0.2
For now I am using the fallback (so react natives Image component) but I would love to use fast-image because well when it works it is amazing!
The text was updated successfully, but these errors were encountered:
@ahartzog what @guanhuay says, I use the fallback for now to prevent crashes. What I noticed is that it sometimes crashes when the image is used twice in the same view in different sizes, this might has something todo with it.
Describe the bug
When using images from third party services sometimes the links are broken. This should not break the code/app. I see huge memory spikes (1gb+) when loading images that are broken. It is not possible to handle these broken images correctly.
onError
does not give a proper error and it is not possible to handle.To Reproduce
Load images with status codes other than 200, so a 403, 404 any 500 range or an broken link that returns a string/text.
Expected behavior
onError
should provide an error that can be handled inside the JS runtime.Dependency versions
For now I am using the fallback (so react natives
Image
component) but I would love to use fast-image because well when it works it is amazing!The text was updated successfully, but these errors were encountered: