Questions tagged [expo-camera]

104 questions
2
votes
0 answers

Why Expo-barcode-scanner app crash without output?

There is a separate page in the app where I have posted expo-barcode-scanner. The bottom line is that when you open this particular page, on which the camera is located, the application immediately crashes. No errors are printed to the console. The…
OlsaSDg29
  • 31
  • 2
2
votes
0 answers

Confusion on the deprecation of React Native Unimodules

On their documentation: https://docs.expo.dev/bare/installing-unimodules/ This library is deprecated! As of Expo SDK 43, react-native-unimodules is deprecated in favor of the expo package. Please refer to the Installing Expo modules…
2
votes
1 answer

react native for web: expo-camera failed to scan qrcode

I am developing a web app with react native for web, and I want to scan qrcode but it does not work, without errors. I put the codes on snack, ran it on mobile with Expo Go, it worked perfectly. However, when I published it on github web, and open…
UotaniSayo
  • 38
  • 4
2
votes
2 answers

i am trying to change flash mode on expo camera but nothing seems to work (react native: functional compnents)

i am trying to change flash mode on expo camera but it's not working and i can't find any documentation for that, here is some code snippets: -the hook i am using for the flash mode: const [flash, setFlash] =…
user13781868
2
votes
1 answer

How to find the size of recorded video file in expo?

I am working with the expo. I'm using an expo-camera to record video. I'm getting the URI of the video. But I want to calculate the size of the video before I upload it (over 5MB will be banned). I can only get the URI of the video. So, how to get…
2
votes
0 answers

React Native Expo: Camera in ViewPager

I am creating a ViewPager with a Camera inside in a View, when the ViewPager renders the Views everything is ok but then when the ViewPager change the page and get back to the Camera Page the Camera is not appearing again. How to solve this? There…
2
votes
1 answer

How to get pixel color information in React Native

I am currently trying to implement color picking through the device camera in an expo project with expo-camera. In order to do this, I need to access the color information pertaining to a specific pixel on the screen, picked according to user…
VicHofs
  • 181
  • 1
  • 2
  • 12
2
votes
0 answers

Video url returned by expo-camera when embedded in Video Component of expo-av gives blank screen

I tried to capture a video using expo-camera, once recorded a video, as we get a uri of video i used that uri to show a preview,to show preview i used video component of expo - av, But Video component is showing blank screen. Could anyone suggest a…
Sajid ali
  • 101
  • 7
2
votes
1 answer

[Unhandled promise rejection: TypeError: undefined is not an object (evaluating '_expoMediaLibrary.MediaLibrary.createAssetAsync')]

I using expo-camera to record video and save it in my device, but even on stop recording it has video uri, the .MediaLibrary.createAssetAsync is giving the above error, also the recording gets stopped from the first even if I have used setTimeout to…
suvodipMondal
  • 656
  • 10
  • 27
1
vote
0 answers

React native fetch local images causes error "RangeError Failed to construct 'Response': The status provided (0) is outside the range [200, 599]"

Here is the function that uses expo-camera to take a picture, and this works correctly //Local Image State object, for file URL, Firebase URL const [image, setImage] = useState([]); const [fireURI, setURI] = useState([]); const takePicture =…
VCS-Jacob
  • 59
  • 5
1
vote
0 answers

Can't record video using expo-camera

I'm designing an app in react-native using expo. Now I'm trying to record a short video sequence using expo-camera. On most devices(Android, any Galaxy S type) the function works without problems. But for example on a test device(Samsung Galaxy A71)…
CSAlex
  • 55
  • 8
1
vote
0 answers

Is It Possible To Choose IOS Wide Angle Camera In React Native Expo App?

I am new to react-native ecosystem. I was recently building a simple qr code scanner with expo react native using expo camera. What I found out was that there is no option to manually select wide angle camera in expo camera, It just selects the…
1
vote
0 answers

Expo Camera - Development Build "This app is missing NSCameraUsageDescription"

I'm using the command expo run:ios to build my app on the phone using Expo's development build. I am also using the expo-camera component. However, when I navigate to the page with the camera, I get the following error from Expo. "This app is…
Chen W
  • 119
  • 2
  • 12
1
vote
0 answers

expo-camera error “camera not working” on android web app upon toggleswitch camera type

I am using expo-camera on my app that can be run to a web on android/ios. Setting camera type works but when I try to switch/toggle camera on android i got an error “camera not working”
mingmingming
  • 345
  • 2
  • 4
  • 12
1
vote
1 answer

TypeError: Cannot read property 'viewManagersMetadata' of null in React Native

Error shown: ERROR TypeError: Cannot read property 'viewManagersMetadata' of null, js engine: hermes Versions: "react": "18.1.0", "react-native": "0.70.1", "expo": "^46.0.0", "expo-barcode-scanner": "~11.4.0", "expo-camera": "~12.3.0", Happen…