I am working on a project that requires a custom camera view in react-native. And the best option I found is react-native-camera but lack of maintenance, it is deprecated now. So I searched a lot of libraries in react-native but did not found.
What is the best alternative of react-native-camera as it is now deprecated?
Asked Answered
You can use React Native Vision Camera by Marc Rousavy. –
Pyroligneous
You can go with expo-camera
works on both ios and android ✌️
Expo Camera is broken on IOS if the screen orientation is locked. Bug was reported years ago and it's not fixed. –
Shipwright
You can use react-native-vision-camera.
npm link > https://www.npmjs.com/package/react-native-vision-camera
You can use react-native-vision-camera package
npm link : https://www.npmjs.com/package/react-native-vision-camera
github : https://github.com/mrousavy/react-native-vision-camera
docs: https://mrousavy.com/react-native-vision-camera/docs/guides/
installation:
npm i react-native-vision-camera
npx pod-install
Also if this anwser helped you please accept the answer by clicking the tick button :) –
Berrios
You can use react-native-cam-gallery it have other useful functionality as well.
link: https://www.npmjs.com/package/react-native-cam-gallery
I will definitely try . –
Etty
There is a new cool library from Tesla: https://github.com/teslamotors/react-native-camera-kit
© 2022 - 2024 — McMap. All rights reserved.