alwx / react-native-photo-view

Pinch-to-zoom view for React Native (both iOS and Android)
MIT License
816 stars 434 forks source link

Warning: Native component for "RNPhotoView" does not exist #136

Open rafameyer opened 6 years ago

rafameyer commented 6 years ago

Working on Android but not on iOS

screen shot 2017-12-12 at 16 50 39

rnowm commented 6 years ago

I had to manually add it to xcode:

rafameyer commented 6 years ago

i use npm link react-native-photo-view again and its success

shikhovtsov commented 6 years ago

I have the same problem, "npm link react-native-photo-view" didn't fix it.

@rnowm What do you mean by "Libraries folder"? Can I do it in windows?

rafameyer commented 6 years ago

So, i did "npm link react-native-photo-view" and didnt fixed it. then, i removed the RNPhotoView lib in the xcode and tried "npm link..." again, and i fix it!

juffalow commented 6 years ago

I had the same issue. The only way I got it run is to change the react-native version. In your package.json :

"react-native": "^0.48.4",

Delete _nodemodules and install them again. Then link them with react-native link.

mohsen0311 commented 6 years ago

i have this issue on ios too

jpmazza commented 6 years ago

I'm having this issue, too.

screenshot_error

I've installed the library automatically and I've also installed the pod.

What's next?

DavitVosk commented 5 years ago

Your package is not linked properly. After linking my error went away

vinaysaini89 commented 3 months ago

@DavitVosk how we can linking