What is the best alternative of react-native-camera as it is now deprecated?
Asked Answered
E

5

6

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.

Etty answered 10/7, 2022 at 6:55 Comment(1)
You can use React Native Vision Camera by Marc Rousavy.Pyroligneous
T
2

You can go with expo-camera

works on both ios and android ✌️

Tjirebon answered 10/7, 2022 at 8:15 Comment(1)
Expo Camera is broken on IOS if the screen orientation is locked. Bug was reported years ago and it's not fixed.Shipwright
A
2

You can use react-native-vision-camera.

npm link > https://www.npmjs.com/package/react-native-vision-camera

Angleaangler answered 11/7, 2022 at 6:26 Comment(0)
B
2

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
Berrios answered 11/7, 2022 at 6:33 Comment(1)
Also if this anwser helped you please accept the answer by clicking the tick button :)Berrios
L
1

You can use react-native-cam-gallery it have other useful functionality as well.

link: https://www.npmjs.com/package/react-native-cam-gallery

Lithoid answered 6/9, 2022 at 12:48 Comment(1)
I will definitely try .Etty
W
1

There is a new cool library from Tesla: https://github.com/teslamotors/react-native-camera-kit

Woodwork answered 29/6, 2023 at 12:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.