hooks
hooks copied to clipboard
Change Deprecated API (CameraRoll)
Summary
Change Deprecated API (CameraRoll) CameraRoll is Deprecated from 'react-native' Now CameraRoll is "@react-native-community/cameraroll" Here :) BTW this repo is awesome!
Checklist
- [ O ] I have tested this on a device and a simulator
- [ X ] I added the documentation in
README.md
- [ X ] I mentioned this change in
CHANGELOG.md
- [ O ] I updated the typed files (TS and Flow)
- [ X ] I added a sample use of the API in the example project (
example/App.js
)
I think we need to add this to the peerDeps 🤔? Is there a better way to handle this? What about people that don't use cameraroll? What about people that do?
useCameraRoll was removed. Use useCameraRoll from @react-native-camera-roll/camera-roll.
useCameraRoll
was removed in 3.0.0...