Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling bridge.imageLoader is deprecated and will not work in newer versions of RN. Please update to themoduleForClass API or turboModuleLookupDelegate API. #202

Open
jackyleehong opened this issue Oct 27, 2020 · 2 comments

Comments

@jackyleehong
Copy link

No description provided.

@luigbren
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants