Questions tagged [react-native-camera]

Camera module for React Native. Including photographs, videos, face detection and barcode scanning

The comprehensive camera module for React Native. Including photographs, videos, face detection and barcode scanning

Github: https://github.com/react-native-community/react-native-camera

Docs: https://github.com/react-native-community/react-native-camera/blob/master/docs/RNCamera.md

339 questions
1
vote
0 answers

Failed to allocate a 14745612 byte allocation with 7913456 free bytes and 7MB until OOM... target footpring ...growth limit

I am using React Native to develop an app. I get an error when trying to upload a video more than 20 sec. The code works fine for small videos. const response = await fetch(videoPicker) const blob = await response.blob() const path =…
1
vote
1 answer

taking a photo with react native camera and passing photo to another screen

I am working on a simple react native portfolio-building app that uses react native camera. The takePicture function is defined as follows: takePicture = async () => { if (this.camera) { let photo = await this.camera.takePictureAsync(); …
matt
  • 213
  • 4
  • 7
1
vote
0 answers

React native camera recording adds memory to ram resulting in crash - ios

App has 5 steps. Steps 1 and 2 are for recording videos and 3, 4, and 5 are for capturing photos(react-native-camera is used for all 5 steps). In each step, the captured source is uploaded and deleted from local cache memory using…
1
vote
1 answer

Is there any library to transform recorded video to certain aspect ratio(croping) in react native?

I am using RNCamera to record video along with react-native-video-helper library for trimming/compressing video. I want to record or transform recorded video like instagram to wide angle(not potrait mode). It's been almost a week I am looking for a…
Kamran Ashiq
  • 139
  • 2
  • 2
  • 16
1
vote
1 answer

How to use default iOS camera controls with react-native-camera

Is there a way to use the default iOS camera controls with react-native-camera? Here's a screenshot of what I'm talking about: I'd like to use this standard iOS UI for taking a photo, toggling front/back camera, toggling flash, etc, and not create…
David
  • 2,430
  • 2
  • 15
  • 13
1
vote
1 answer

How To Capture Picture using react-native-camera

I try capture image using react-native-camera, but it's failed, hire my code.
faiz fadli
  • 25
  • 5
1
vote
0 answers

Picture metadata is lost after using CameraRoll.save

I am using RNCamera to take pictures and write metadata in it , the only problem is that RNCamera saves the pictures in the app cache . so i used react-native-community/cameraroll library to save the taken picture to the cameraRoll , the main…
1
vote
1 answer

how to overwrite camera style in react-native-camera-kit?

I use this component for scan qr , but its height width are not change, its style are not working , how can i define its width and height specific like 50,50
1
vote
2 answers

Barcode Scanner using RN Camera is very slow in android expected as smooth as that of ios

Scanning on Android is not working as intended, or it takes time to scan 3 different libraries i Have used: zxy firebase-ml-vision Google vision Config is:: react-native-cli: 2.0.1 react-native: 0.62.2 "react-native-camera": "3.37.0"
rchgupta
  • 89
  • 1
  • 1
  • 6
1
vote
4 answers

React native camera not recording video

I want to implement the video recording feature using react native video but the start recording function is not giving any response, I even consoled to see whether it is getting called,actually it is not, am unable to figure what I have done…
1
vote
2 answers

gradlew assembleRelease doesn't work with react-native-camera

I can't build release version of application. When I write .\gradlew assembleRelease, I get this error Execution failed for task ':react-native-camera:compileGeneralReleaseJavaWithJavac'. My app/build.gradle file: apply plugin:…
Shadowman
  • 245
  • 3
  • 11
1
vote
2 answers

Multiple files for cameraview while build app for android react native

I am using react-native-camera and expo-camera in my project. Along with this I am using few firebase features as well. App is working fine for iOS but not for Android. After removing firebase classes, I am able to run the app properly in simulator.…
1
vote
1 answer

react-native-video doesn't load videos with a dynamic uri

I'm working on an app where one part of the process is shooting a video, then uploading it. I'm using react-native-video to display the preview after the user has finished recording, and react-native-camera for the capturing process. I also use…
1
vote
0 answers

React Native Camera crashing when forcing orientation to landscape

I am using Library react-native-orientation: ^3.1.3 It crashes when I re-vist the page after going back The crash states Start Preview Failed import Orientation from "react-native-orientation" async componentDidMount() { …
Sandip Singh
  • 17
  • 11
1
vote
1 answer

React Native Save captured images and video to custom folder on my device

I have tried to research for the right answer for me on saving captured images or videos to custom folder on device but have not seen a suitable answers. I have been able to save to my DCIM, but I don't want to save them there, I want to create a…
Benjamin Ikwuagwu
  • 377
  • 1
  • 9
  • 28