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

Opening a file with a PHAsset URI from a Webview

From the camera roll, I get a list of URIs in the ph://xxxxx format. If I use these URIs in Image or ImageBackground components everything works as expected. I want to show these photos in a webview. Adding to the html an img tag with that kind of…
2
votes
0 answers

In react-native-camera After record async video file is not exist at temp folder

To Do First Did you try latest release = yes Did you try master = yes Platforms -Linux mint Versions Android: oreo in emulator pixel 2 iOS: n/a react: "16.9.0", react-native: "0.61.5", react-native-camera: "^3.23.1", Description/Current Behaviour i…
Hardik Desai
  • 1,089
  • 12
  • 20
2
votes
0 answers

Can not Resolve React Native Camera MLKit Dependencies RN 0.62.0

React Native: 0.62.0 react-native-camera: git+https://git@github.com/react-native-community/react-native-camera.git My app runs fine using react-native run-android but when I try to generate the .apk it fails with the following error Error…
DANISH WAJID
  • 121
  • 5
2
votes
2 answers

react-native-camera convert Image base64 to jpeg

I've managed to use react-native-camera to take an image then display it in the element, then send the image's base64 string back to my back-end, however, I can't manage to display the image once it is on my back-end because it's in base64,…
2
votes
1 answer

Saving a photo taking a very long time

I want users to be able to take photos from within my app and have the photos save to their gallery (so that I can later view them in a photo-picker). I have the following code from react-native-camera, it's basically the bare-bones demo…
2
votes
0 answers

react-nativ-camera -- Accessing the java files functionalities

Hiii Using react-native-camera library module, can we get the live frames of the camera preview in JS. As the camera is opened each frame should be captured at the JS side in the form of byte array or base64 ??
2
votes
0 answers

React-native-camera error when compiling android, react-native 0.60.5

Upgrade from react-native 0.59.8 to 0.60.5 Set missingDimensionStrategy 'react-native-camera', 'general' Debug works fine, but when compiling the release get the error: Could not determine the dependencies of task…
2
votes
1 answer

react-native-camera error when compiling android - cannot find symbol class NonNull

package.js ... "react": "16.8.3", "react-native": "0.59.5", "react-native-camera": "git+https://git@github.com/react-native-community/react-native-camera.git" ... settings.gradle include ':app' include…
2
votes
1 answer

How to implement HDR setting in react native camera?

I am using react-native-camera in my app. This is provide image capture and another some settings on camera preview like flash settings, white balance mode etc. But, I will not find any documents about HDR setting. Can anyone know how to implement…
Kishan Bharda
  • 5,446
  • 3
  • 30
  • 57
2
votes
1 answer

Adding watermark to video/picture after capture using react-native-camera

Hye, is there any processing library or any ways to include watermark to video and picture for both platform (ios and android) using react-native ?
2
votes
0 answers

barCodeTypes not work in react-native-camera

I use react-native-camera as barcode scanner. Then I want it scan all 1D barcode not QRCode. I use barCodeTypes to declare which barcode type search for: onBarCodeRead={(e) =>…
2
votes
0 answers

Infinite component rendering

I have a problem with the application I am creating. The goal here is simply to open the camera, scan a food product (barcode capture), and display the product using an API. This works, however when a product is scanned with the camera, the Search…
NoName
  • 31
  • 4
2
votes
3 answers

React-native-camera not appearing on screen

I'm developing an app that reads QR Codes using react-native-camera, but camera preview does not appear on screen. I'm working on react-native 0.57.7, using react-native-camera 1.10.0. I have run the following commands: npm install…
Evelyn Correa
  • 31
  • 1
  • 1
  • 5
2
votes
1 answer

How to make the video fit in view in React Native?

I'm using react-native-video:
Shubham Bisht
  • 577
  • 2
  • 26
  • 51
2
votes
1 answer

Save captured image from camera to custom folder react native

So I am creating a simple camera app using react-native. For camera component I am using react-native-camera package. So far I am able to capture a photo and save it into DCIM folder using react-native CameraRoll Api CameraRoll.saveToCameraRoll, but…
ZainNazirButt
  • 377
  • 5
  • 13