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
0
votes
1 answer

React Native: Override Error on Package without Duplicate

I'm trying to use the react-native-camera package but when I added this to my project, I wasn't able to see the camera, instead it was loading and a warning. Then I search on the internet for this warning and saw that I had to link this library…
pahferreira
  • 126
  • 5
0
votes
1 answer

React native app giving blank screen when rendering two RNCamera components

I am trying to use two RNCamera components in a screen, so that each component takes half of the screen and I can show back and front camera at the same time. But unfortunately, the app is giving just a blank screen as soon as I add the second…
Shamnad P S
  • 1,095
  • 2
  • 15
  • 43
0
votes
1 answer

How to use refreshAuthorizationStatus function for react-native-camera

I want to use the function refreshAuthorizationStatus, from here And I also want there to be a callback if the permission isn't granted. Can anyone help me with this? I havent been able to find an example of how to call this function. I have the…
Mandalina
  • 446
  • 5
  • 22
0
votes
1 answer

Exiting the camera view in react-Native

I am using react-native-camera and when I open it I cant go back with the hardware button, so I decided to create a button EXIT so when user clicks on it should go back to the previous view. The problem is that I am only using one class! so how can…
user12396958
0
votes
6 answers

my npx react-native run-android build fails

My colleague recently added react-native-camera to my project. I merged the code and when i run npx react-native run-android my build fails with: FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of…
0
votes
1 answer

React Native Camera shows blank screen with loading spinner

I am working in react native with expo and I am trying to implement react native camera. However, when I implement it into my own code and even use this usage code, it shows a blank screen with a loading icon and gives the warning Unhandled…
0
votes
1 answer

Can't build React Native after add React-Native-Camera and React-Native-Push-Notification

My existing project was working fine with "react-native": "0.59.x", "react-native-camera": "^2.11.2" After I added "react-native-push-notification" to my project => "react-native": "0.59.x", "react-native-camera":…
0
votes
1 answer

How can I capture an image using react-native-camera package getting Nosuitable image URL loaded found for null

I use rn-camera to capture pictures alone. But after updating it not working fine and getting Nosuitable image URL loaded found for null. Can anyone suggest me any solution for this? My code is below
sejn
  • 2,040
  • 6
  • 28
  • 82
0
votes
2 answers

React Native Video not loading local file

I am adding video recording and preview feature to my react native app.For taking video i used the following code and once recorded i am able to get the output file.Now using the file uri i tried to preview this file to the users using…
anbu selvan
  • 725
  • 3
  • 13
  • 41
0
votes
0 answers

Am getting error on installing Camera and react-native-qrcode-scanner (Build failed with an exception)

Please find the Error Image after installing below Libraries 1. npm add react-native-camera@git+https://git@github.com/react-native-community/react-native-camera.git 2. npm add react-native-qrcode-scanner please help me on this, thanks in advance
Surya
  • 265
  • 1
  • 3
  • 10
0
votes
0 answers

After upgrading to the latest RN TypeError: undefined is not an object ( evaluating '_reactNativeCamera.RNCamera.constants.Aspect.fill')

After upgrading to the latest RN TypeError: undefined is not an object ( evaluating '_reactNativeCamera.RNCamera.constants.Aspect.fill') Can anyone have any solution for this?
sejn
  • 2,040
  • 6
  • 28
  • 82
0
votes
2 answers

React-native-camera - TypeError: undefined is not an object

I am trying to use the camera for a rect native app using 'react-native-camera'. I keep getting the following error when I'm trying to navigate to the camera screen. Here's my code: import React,{Component} from 'react'; import…
vishnkr
  • 67
  • 1
  • 9
0
votes
1 answer

Decode binary data returned from PDF417 barcode scanned with react-native-camera

I'm building an small application with react native to read the barcode from an ID document, and extract the user information. I use react-native-camera to read the barcode successfully but now I need to decode the binary data. Here is a sample of…
Jesus Diaz
  • 56
  • 1
  • 2
0
votes
1 answer

How can I manually link react-native-camera in Android Studio?

Just to clarify, I'm running a Windows computer using Android Studio. I'm trying to set up a QR code scanner using react-native-camera in a react native application. I can install the library without a problem: $ npm install react-native-camera…
Nick V.
  • 3
  • 1
  • 5
0
votes
2 answers

How to scan one barcode per time? [react-native-camera]

Actually i'm new to React and i'm trying to make a simple barcode scanner which show the scanned barcode in an alert and after pressing "OK" in the alert the user should be able to scan another barcode. The issue is that the barcode is continuously…
NiceToMytyuk
  • 3,644
  • 3
  • 39
  • 100