react-native-photo-view
react-native-photo-view copied to clipboard
Calling bridge.imageLoader is deprecated and will not work in newer versions of RN. Please update to themoduleForClass API or turboModuleLookupDelegate API.
Calling bridge.imageLoader is deprecated and will not work in newer versions of RN. Please update to the moduleForClass API or turboModuleRegistry API.
Problem in iOS.. please!!! any help???
surfing the internet I found a way to make it work in iOS...
- Edit file RNPhotoView.m in node_modules/react-native-photo-view/ios/RNPhotoView.m
- Find
[_bridge.imageLoader loadImageWithURLRequest:request
- Replace by
[[_bridge moduleForName:@"ImageLoader" lazilyLoadIfNecessary:YES] loadImageWithURLRequest:request
- enjoy
thas work for mi..