Comments (10)
Hey! I just released a new V4 beta (v4.0.0-beta.7) where I fixed a bunch of issues! πͺπ Can you test that and see if that fixes the issue for you? π
yarn add react-native-vision-camera@beta
You might need to increase the compileSdk
to the newest Android SDK (34) if you are behind.
Or in your case, just try running the example app on the v4
branch.
from react-native-vision-camera.
I have noticed that it doesn't crash anymore.
The code scanner works 50/50.
Once the camera is launched the code scanner doesn't seem to be working.
But for example if you point it at a qr code it works(sometimes).
from react-native-vision-camera.
Ok, fixed that bug in latest beta!
from react-native-vision-camera.
Can you try with latest beta (10) to see if the codescanner works? @SK-bool
from react-native-vision-camera.
Yes, I just tested it, and the code scanner works! I have tested it on two phones and noticed that after the code is scanned, and I go back to the camera, the camera view is somewhat stretched. However, if I navigate to another screen from the camera and then return, the preview resets, and it is back to normal.
from react-native-vision-camera.
So: code scanned -> navigates to a result screen -> go back to camera = stretched
from react-native-vision-camera.
Hi,
I've tested CameraApp on v4.0.0-beta.7 and CameraApp doesnβt crash anymore but I got errors in metro log. In the app I also can see the following errors.
For the first scenario:
Are these errors expected?
from react-native-vision-camera.
No those errors are not expected - how did you test that? On v4
branch? What device?
from react-native-vision-camera.
@mrousavy
Source taken from: https://github.com/mrousavy/react-native-vision-camera/releases/tag/v4.0.0-beta.7
Device: Pixel 7 - Android 14,
from react-native-vision-camera.
Hey - I think this issue has been fixed in VisionCamera 4.0.0. π₯³
Please try V4 and let me know if you still experience this issue;
- if not, please consider π sponsoring me on GitHub π to support the development of VisionCamera and thank me for my time spent on fixing bugs and building new features.
- if you still see this issue, please comment and we can re-open this. But please update your native logs with the native (Xcode/Android Studio) logs from running VisionCamera V4 so I can investigate this.
from react-native-vision-camera.
Related Issues (20)
- Is there a way to make the codeScanner only scan the barcode once? HOT 2
- π Switching between aspect ratios HOT 2
- π useSkiaFrameProcessor makes camera being blank HOT 8
- π App crashes when using Camera with frame processor after last update HOT 1
- π `[session/invalid-output-configuration]`: Cannot create session on some Xiaomi phones HOT 4
- π Unable to Retrieve Active Camera and App Crashes on iOS 17.2 Simulator iPhone 15 HOT 1
- [V4][Android]π§ sdk 33 no more supported HOT 4
- π Compatible React Native Versions HOT 1
- π Memory Leak on camera.takePhoto after 6 six shots. HOT 3
- π Android | Crashing on getCameraSelectorLensFacing HOT 2
- π RN - 0.74.1, Kotlin - 1.9.22 - Execution failed for task ':react-native-vision-camera:compileDebugKotlin' HOT 1
- π Cannot read property 'useCameraDevice' of undefined HOT 2
- π How can I get realtime frames in JS context HOT 6
- π [Android] Native method - jdk.internal.misc.Unsafe.park Input dispatching timed out HOT 6
- π Android Camera view width/height and photo width/height not the same. HOT 1
- π Disabled location showing an error log HOT 4
- Slow response while scanning 1D barcode in iOS intermittently. HOT 2
- π Unable to use more than 3 video outputs on Android HOT 11
- π Differences between iPhone native camera and available camera devices HOT 3
- π Blank screen when enabling photo (`photo={true}`) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-vision-camera.