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
2 answers

react-native-camera selecting image and video from library(gallery)

i am using react-native-camera in my app. What i want is to be able to select photos and videos from gallery. Library If i click on library My phone's library should open containing all images and videos in…
Prakash
  • 396
  • 1
  • 6
  • 23
1
vote
1 answer

Upload image taken with camera to firebase storage on React Native

All I want to do is upload a photo taken using react-native-camera to firebase storage with react-native-fetch-blob, but no matter what I do it doesn't happen. I've gone through all of the documentations I can find and nothing seems to work. If…
1
vote
0 answers

Trying to return base64 image? Can't exactly figure it out

hoping someone can help me with this. Trying to take a picture with the camera and convert it to a base64 image. I read somewhere that it was built in to the camera, but not sure exactly how to do it. Heres how I setup the camera:
Joe Caraccio
  • 1,899
  • 3
  • 24
  • 41
1
vote
1 answer

Add RCTRootView as a subview to rootViewController in React-Native

How can I add a RCTRootView on to apps RootViewController as a subview. This is what I want to achieve. I have an iOS native app that renders some OpenGLES content on to a view. It shows device camera feed and tracks users face and show some…
hdsenevi
  • 953
  • 2
  • 14
  • 27
1
vote
4 answers

How do I access the react-native-camera's video capabilities?

I've been attempting to get the react-native-camera's video feature to work, but and have tried a vast number of methods but keep getting the same errors. Here is my code: class MainCamera extends Component { constructor() { super(); …
hermt2
  • 844
  • 3
  • 14
  • 33
0
votes
0 answers

How do I resolve build error in react native

Hey there I was trying to run camera functionality in my react native app so i installed the required libraries but whenever i am trying to run the app it gives me build error. The error is quite long but it says: (* What went wrong: The Android…
0
votes
0 answers

Is it possible to mount both back and front cameras at the same time on a react native expo app?

I'm currently working on a react native expo app and I have a camera feature that currently records allows playback of videos recorded with the front camera. I want to add a functionality where both front and back cameras record at the same time. Is…
0
votes
0 answers

How to capture photo through webcam with react-native-windows?

I am building a desktop app using react-native-windows and want to capture a photo using webcam. Currently i am working with react-native-camera to achieve this. But camera is not being accessed, when I gone through their [documentation]…
0
votes
0 answers

Replacing react-native-camera with react-native-vision-camera: Adding overlay images and reducing captured image size

I'm currently working on a React Native project and I need to replace the deprecated react-native-camera library with react-native-vision-camera. However, I'm facing a couple of challenges in the process. Overlay Images: With react-native-camera, I…
0
votes
0 answers

firebase and react-native-permission in react-native has error in IOS

I installed firebase for a react-native project. while installing i was need to add use_frameworks! to project. now i am going to add react-native-permission for using camera I faced bug i can't install it while using that line into my podfile. The…
0
votes
1 answer

How do I scan a QR Code in React-Native 0.71?

I'm currently using react-native-vision-camera with the vision-camera-code-scanner plugin, however when there is no barcode in front of the camera, the barcodes value is an empty array, but when a barcode is brought within view, the barcodes value…
0
votes
0 answers

React native app crash if using face detector

React native app crash if i use handle face. React native camera without face detector is OK. I reinstalled, used in new project but it was. I just open the app and it crashes even though there's no error message. Hope fix this problem
0
votes
0 answers

In React Native I am using react-native-camera getting java.double error

This happens when i try to render below code after updating the state _map(videoRecords, ({ publicUrl, originalFileName, id }) => (
Ashwani
  • 9
  • 2
0
votes
0 answers

React Native Android Direct Denied my Camera Permission

The camera on the emulator is working fine and not working in other application since this emulator is fresh. This is my code for the ScanScreen. I try to get the camera permission but the console.log directly show camera permission denied. import…
0
votes
0 answers

React Native Image Picker to open gallery and give the option to click a picture

I want to ask if their's any way to open the gallery with an option to open camera to click a picture as well. I've searched alot but couldn't find a way. Secondly i want to open the above gallery in the same screen not in another one. Thanks I've…