We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9bda2 commit 15f7addCopy full SHA for 15f7add
src/components/image/index.tsx
@@ -194,6 +194,10 @@ class Image extends PureComponent<Props, State> {
194
195
onError = (event: NativeSyntheticEvent<ImageErrorEventData>) => {
196
if (event.nativeEvent.error) {
197
+ // TODO: RN 77 hack - test in future releases (ticket 4835)
198
+ if (Constants.isIOS && this.props.source === undefined) {
199
+ return;
200
+ }
201
this.setState({error: true});
202
this.props.onError?.(event);
203
}
0 commit comments