react-native-camera

react-native-camera video capturing shows error on preview after it gets captured?

喜欢而已 提交于 2019-12-02 21:18:04
问题 I am using react-native-camera for video capture. I am building something kind of snapchat stories where moment you capture video next to that it takes you to the preview screen of video where you can edit. On press of start button while videoCapturing screen it returns path of the video but on press of stop button it returns an error at the same time making video to get stored to my device storgae. I have posted both videocapturing screen as well error I am getting on press of stop button

react-native-camera video capturing shows error on preview after it gets captured?

こ雲淡風輕ζ 提交于 2019-12-02 12:51:23
I am using react-native-camera for video capture. I am building something kind of snapchat stories where moment you capture video next to that it takes you to the preview screen of video where you can edit. On press of start button while videoCapturing screen it returns path of the video but on press of stop button it returns an error at the same time making video to get stored to my device storgae. I have posted both videocapturing screen as well error I am getting on press of stop button.Attached code for the VideoCapture screen. /** * Sample React Native App * https://github.com/facebook

Barcode scanning using react native

一曲冷凌霜 提交于 2019-11-30 23:54:51
问题 I am using react-native-camera to build a barcode scanner for Android and iOS both. I am able to scan the barcode in iOS but the issue is there is no visual for the scanning boundary. And I want the whole screen to be able to scan the bar code not just the middle of the screen. Is there any way around it? If there is some other library that would also work for me. 回答1: Well it took me all day but I finally found a library that worked. If anyone finds their way here and is looking for a