Closed AndriyZahura closed 5 months ago
I have just the same issue with v3.9.1 on Pixel 2 XL / Android 11 π’
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.
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.
Thanks a lot, it does fix it indeed! I will also try on another device which was not working. Can you tell me, approximately, when will the v4.0.0 be released? Or what precise commit fixes this issue? I can patch the library locally just to fix that issue, since I can't upgrade to SDK 34 atm.
But please check codeScanner
, beta version failed with current feature (ignore codes)
@daimonkor I have no idea what you meant with that message, what does "beta version failed with current feature" mean?
There was a bug that Images are not being released properly, I fixed that in latest beta.
Thanks a lot, it does fix it indeed! I will also try on another device which was not working. Can you tell me, approximately, when will the v4.0.0 be released? Or what precise commit fixes this issue? I can patch the library locally just to fix that issue, since I can't upgrade to SDK 34 atm.
Great to hear everything works fine! A lot of research went into this. V4 will take a few more days or weeks of testing.
I can't upgrade to SDK 34 atm.
Why not? This is a simple non-breaking change in every app. Everytime Android releases a new SDK, you have to bump your target SDK to that new SDK to use the latest features anyways.
@daimonkor I have no idea what you meant with that message, what does "beta version failed with current feature" mean?
There was a bug that Images are not being released properly, I fixed that in latest beta.
it is simple - nothing happed, ignore codeScanner handler when I tried show qr code, no error, no warning. But if I returned 3.9.1 - codeScanner works great. Please try check hello world qr code scanner with help 4.0.0 betas builds. thanks a lot for help.
please try check latest V4 beta.
please try check latest V4 beta.
Greate, it works good, thanks a lot 4.0.0-beta.10
I've tested the beta versions, but encountered this issue with the camera preview. Despite multiple attempts, the screen remains black, hindering further evaluation. the camera preview doesn't appear after beta6 in v4beta6 it works fine
i tried beta version but there is black screen no preview .so i could not go further to check if the issue still persist or not
I have black screen along 1 s while startup camera and no erros and works good
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;
Thanks a lot for this library. My application is in the production phase and it is using 3.9.2. I'm afraid that 4.0 is just newly released, it will have some bugs that I / we can't anticipate. So do you have any pr / commit to fix this in 3.9.2? Or it was fixed by rewriting all the CameraX which you do in 4.0.0? Tks!
Nice to hear VisionCamera being used in production everywhere.
This was fixed in V4, not in V3.
What's happening?
Hi! First of all, great lib, thanks a lot for what you're doing!
My issue is: When I set the
torch='on'
on my Samsung, and dotakePhoto
(either with or without{flash: 'on'}
), the torch/flash is present, but I believe it gets off just before the capture, which results in a dark photo. In case when torch ison
, it also gets turned off, and then turns on again after the photo capture. You can see the result on the video under. In the video, you can see the torch, but believe me, it's almost the same when I use theflash: 'on'
(except that with flash it takes extra time to capture, see the https://github.com/mrousavy/react-native-vision-camera/issues/2577).Important For me, this is only reproducible on some Androids. It's my Samsung Galaxy S21 FE(SM-G990B/DS) and Xiaomi Note 9 Pro. It works just fine on other androids - Nothing Phone 1, Samsung Galaxy S20+(SM-G985F/DS) and on iOS. It's really strange, since on one Samsung (a newer one) it doesn't work in every case, and on the older one it works every time.
I was wondering if I am doing something wrong, because my issue is basically a duplicate of https://github.com/mrousavy/react-native-vision-camera/issues/2239. But in that case, the reporter managed to fix the dark photos by simply doing the
flash: 'on'
, which doesn't work for me. Will be grateful for any reply!The video:
https://github.com/mrousavy/react-native-vision-camera/assets/55994435/05151bde-7dcd-49d6-8f2f-036f62dff437
Reproduceable Code
Relevant log output
Camera Device
Device
Samsung Galaxy S21 FE(SM-G990B/DS)
VisionCamera Version
^3.9.1
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (β οΈ your issue might get ignored & closed if you don't try this)
Additional information