Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with React Native

You're reading from   Getting Started with React Native Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785885181
Length 172 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

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: https://github.com/facebook/react-native/tree/master/Libraries/Vibration. Even if you do not consider yourself an Objective-C, Swift, or Java programmer, don't be afraid to try creating a Native Module yourself—you might be surprised by how easy it is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image