react-native-cameraroll: Error: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.) iOS
Question
I am trying to store images which is getting from link to Gallery.
code:
let image = 'https://i.picsum.photos/id/190/200/300.jpg' CameraRoll.saveToCameraRoll(image, 'photo').then(r => { Alert.alert('alert', 'saved successfully .', [{ text: 'okay'}]); }) .catch((err) => { console.log(err); Alert.alert('error', ' error '+ err, [{ text: 'okay'}]); })
Error:
Error: The operation couldn’t be completed. (PHPhotosErrorDomain error -1.)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 14
- Comments: 20
Commits related to this issue
- Downgrade camera roll version due to iOS bug https://github.com/react-native-community/react-native-cameraroll/issues/143 This library is used by the save picture js action. — committed to mendix/native-template by jobvs 4 years ago
- Downgrade camera roll version due to iOS bug https://github.com/react-native-community/react-native-cameraroll/issues/143 This library is used by the save picture js action. — committed to mendix/native-template by jobvs 4 years ago
- chore(release): 1.6.1 [skip ci] ## [1.6.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.6.0...v1.6.1) (2020-05-08) ### Bug Fixes * Error Domain=PHPhotosErrorDomain C... — committed to react-native-cameraroll/react-native-cameraroll by semantic-release-bot 4 years ago
Same issue >> i resolve issue by version 1.4.0
Same issue. No one manage the issue?
🎉 This issue has been resolved in version 1.6.1 🎉
The release is available on:
Your semantic-release bot 📦🚀