I'm using RNCamera and its working great(Below is my function). I can take images and save them to the photo gallery. Although anyone have insight on how to save to a specific album on IOS? I've seen solutions for Android, there are no options for the method either. Not sure how to solve this. TIA. I'm thinking I may need to edit the uri? Doesn't seem right but just searching for ideas. Possibly I would need to modify the library file 'CameraRoll.js' in node_modules/react_native/Libraries/CameraRoll?
-Read react-native docs, https://facebook.github.io/react-native/docs/cameraroll.html
-Searched stackoverflow(found thread with android solution)/google
async takePicture() {
if (this.camera) {
const options = { quality: 0.5, based64: true }
const data = await
this.camera.takePictureAsync(options).then(data =>
console.log(data.uri))
CameraRoll.saveToCameraRoll(data.uri, 'photo'));
}
};