Skip to Content
Getting Started with React Native
book

Getting Started with React Native

by Ethan Holmes, Tom Bray
December 2015
Beginner content levelBeginner
172 pages
3h 9m
English
Packt Publishing
Content preview from Getting Started with React Native

Installing react-native-camera on iOS

There are three steps to install react-native-camera and to include it in our CameraScreen. From the command line, navigate to the ReactNotes directory and run the following command:

npm install react-native-camera@0.3.8 --save

If you take a look at the node_modules directory in the ReactNotes project you'll see a new directory named react-native-camera, which contains both the JavaScript and native source code of the module. In the ios subdirectory, you'll notice a file called RCTCamera.xcodeproj, as shown in the following screenshot:

Installing react-native-camera on iOS

We need to add this file to our Xcode project's library. In the Xcode project ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

React Native in Action

React Native in Action

nader dabit, Nickie Buckner

Publisher Resources

ISBN: 9781785885181Supplemental Content