react-native-photo-view icon indicating copy to clipboard operation
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.

Open jackyleehong opened this issue 4 years ago • 2 comments

jackyleehong avatar Oct 27 '20 00:10 jackyleehong

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???

luigbren avatar Nov 26 '21 21:11 luigbren

surfing the internet I found a way to make it work in iOS...

  1. Edit file RNPhotoView.m in node_modules/react-native-photo-view/ios/RNPhotoView.m
  2. Find [_bridge.imageLoader loadImageWithURLRequest:request
  3. Replace by [[_bridge moduleForName:@"ImageLoader" lazilyLoadIfNecessary:YES] loadImageWithURLRequest:request
  4. enjoy

thas work for mi..

luigbren avatar Nov 26 '21 22:11 luigbren