0.1.2 • Published 6 years ago

react-native-store-photos-album v0.1.2

Weekly downloads
21
License
MIT
Repository
github
Last release
6 years ago

React Native Store Photos Album

React-native camera roll extension to store photos in specific album

Installation

npm install francisco-sanchez-molina/react-native-store-photos-album --save
react-native link react-native-store-photos-album

Before using this you must link the RCTCameraRoll library. You can refer to Linking for help.

Usage

import CameraRollExtended from 'react-native-store-photos-album'

CameraRollExtended.saveToCameraRoll({uri: photoPath, album: 'Test'}, 'photo')

or with additional fileName parameter (it could rename image, works only on Android):

CameraRollExtended.saveToCameraRoll({uri: photoPath, album: 'Test', fileName: 'greatPicture.jpg'}, 'photo')

version 0.1.0 add react-native 0.40 support