React Native Camera Roll access - GetPhotos(offset, callback) return : uri, timestamp, width, height, thumb(base64)
npm install react-native-full-camera-roll$ npm install react-native-full-camera-roll --save
$ react-native link react-native-full-camera-roll
#### Android
1. Open up android/app/src/main/java/[...]/MainActivity.java
- Add import com.reactlibrary.RNFullCameraRollPackage; to the imports at the top of the file
- Add new RNFullCameraRollPackage() to the list returned by the getPackages() method
2. Append the following lines to android/settings.gradle:
```
include ':react-native-full-camera-roll'
project(':react-native-full-camera-roll').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-full-camera-roll/android')
android/app/build.gradle
3. Insert the following lines inside the dependencies block in :`
`
compile project(':react-native-full-camera-roll')
javascript
import RNFullCameraRoll from 'react-native-full-camera-roll';// TODO: What to do with the module?
RNFullCameraRoll;
``