Summary

In this chapter, you learned that even if React Native lacks a feature you need, you'll be able to find a Native Module that suits your needs. In our case, we need camera support for our note taking the application and we showed you how to install a great third-party module via npm. We created a new screen for our Camera component and wired it up to our note saving mechanism to store the path of the image that is captured. We then created a NoteImage screen to view the captured image and added a way to delete the images we captured.

Facebook exposes native device functionality in exactly the same way that react-native-camera does. If you're curious, you can take a look at the very simple vibration module that ships with React Native:

Get Getting Started with React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.