O'Reilly logo

Mastering React Native by Jacob Friedmann, Eric Masiello

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Though React Native gives us access to many native visual components and APIs, there are some situations where we need direct access to the native code. To do this, we can either find an open source module that has been written to solve our problem or we can write our own. Writing native modules requires knowledge of the native ecosystem and language.

It is important to note that the native module we developed in this chapter is not production ready. If we were writing this module for production, we would need to add sufficient error handling and configuration options. Luckily, there are open source alternatives that we can use to select images and videos from the native media library.

In the next chapter, we'll take our application and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required