npm install [email protected] --save
If you take a look at the
node_modules directory in the
ReactNotes project you'll see a new directory named
ios subdirectory, you'll notice a file called
RCTCamera.xcodeproj, as shown in the following screenshot:
We need to add this file to our Xcode project's library. In the Xcode project navigator, right-click on Libraries and choose Add Files to ReactNotes:
Take a look at the Libraries folder in the project navigator and you should see RCTCamera.xcodeproj in the list.
Next, select ReactNotes...