Okay, so we've looked at the list of React Native APIs, and now it's time to get to more complicated, but cool APIs. We will begin it with tackling the CameraRoll API. This API is used to get access to local photo gallery/camera roll, to obtain photos from your device.
It's important to know that you should properly "link", as described in the beginning of the chapter, your CameraRoll prior to using it, because it uses native modules. Fortunately, we've already linked CameraRoll, but for a brief overview, let's recall what we've done:
We brought RCTCameraRoll.xcodeproj from node_modules/react-native/Libraries/CameraRoll into our Libraries group in XCode:
We configured our build phases by bringing ...