I am building a react native application in which I am using react-native-camera component for creating a custom camera component. When I enable useCamera2Api prop in the RNCamera component it works on some devices but on some devices it breaks the application. Is there a way to detect if camera2 API is available on the device or not? Your help would be greatly appreciated. Thank you!
Asked
Active
Viewed 321 times
3
-
1did you come across any solutions? – Aexomir Jun 29 '21 at 05:23
-
1No, I end up building the native camera component and using it in react native. – Asim Khan Nov 05 '21 at 18:27