So far you've seen that React Native contains a large amount of functionality right out of the box. It provides an easy way for you to use a wide variety of native features via JavaScript, but sometimes you may need something that isn't yet covered by the built-in React Native components. Luckily, React Native is fully extensible via Native Modules. Thanks to a very active community, there is a growing list of custom components that are filling in the gaps. In this chapter, we'll use one of those third-party Native Modules to add camera support to our React Notes application.
In this chapter, we'll cover the following topics:
Installing the custom React Native camera module using
npm
Adding a
CameraScreen
and camera componentSaving captured images to disk
Displaying the captured images in the
NoteImageScreen