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
Everytime Image load failed, => Crash and get this error 👇
After some searching on issues, this issue give me a idea.
And i tried this code 👇, the Crash gone away and project working fine.
- (void) setOnFastImageError: (RCTDirectEventBlock)onFastImageError {
_onFastImageError = onFastImageError;
if (self.hasErrored && _onFastImageError) { // insead of if (self.hasErrored) {
_onFastImageError(@{});
}
}
And, finally, what should i do with this issue ? is the fix code above the right way to do (Should i use patch-package?) or i have to do something else ??
The text was updated successfully, but these errors were encountered:
My project using these version:
"react-native": "0.68.7"
"react-native-fast-image": "^8.6.3"
Code:
Everytime Image load failed, => Crash and get this error 👇
After some searching on issues, this issue give me a idea.
And i tried this code 👇, the Crash gone away and project working fine.
And, finally, what should i do with this issue ? is the fix code above the right way to do (Should i use patch-package?) or i have to do something else ??
The text was updated successfully, but these errors were encountered: