As an android developer, I tried my best to use a camera handle with a reaction. I could find him in the following place: -
node_module/react-native/Libraries/CameraRoll
And when linking the library using the "CameraRoll native reaction", I came across the following error: -
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/react-native-cameraroll
Therefore, we need to manually link it as follows:
open your Xcode.Then from node_module / react-native / Libraries / CameraRoll drag RCTCameraRoll.xcodeproj to the left side of the Libraries folder. Now go to Project - general - "Related Structures and Libraries" add (+) a folder called libRCTCameraRoll.a.
Reinstall and it works.
Nicks
source share