-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Scan QrCode doesn't work on Samsung A23 #140
Comments
Someone have a same problem with the same phone with another plugin : juliansteenbakker/mobile_scanner#698 |
the getMaxZoomRatio doesn't work for my devices
|
Thank you for creating the bug report. Unfortunately, I don't have access to this device. Feel free to submit a PR. |
There another probleme i have this error for all my phone : There is no active scan session. Impossible to change the ratio |
For example GetMaxZoomRatioResult work after the qrcode has been scanned... |
Please create a separate issue for that. |
We are running into this issue as well, looking at other threads it might have to do with a couple of things: I am willing to put some work into this, but it looks like this library is just a java wrapper on top of the ml-kit (I am not familliar with it), and the methods show do not have access to setting the resolution. Steps would be to detect what kind of platform is being used, based on that use BGR888 (ios) or Yuv420/Nv21 (android). I have no background into imageprocessing except for my courses in uni, and I dont know how they are handled on android. If someone can get me some pointers, I am okay with walking the mile. Ionic seems to have a new plugin as well (or Outsystems). It doesn't seem to be open (but I do see all collaborators are Ionic based). I don't know if they have the same issue yet. |
Do you get the impression that this is caused by the phone using the wrong camera? In the other issue you mentioned, there is talk about 4 cameras. I am not familiar with the code of this plugin, but I can imagine that the zoom level determines which camera is used, hence it seems like the QR code is not centered. What happens if you lower or increase the zoom ratio? |
is there any news about this issue? |
Probably won't be fixed because the author doesn't have that device, so he cannot reproduce the error. |
I also received a report that this is happening with Samsung A23 device. I don't have access to the device. Has anyone found out anything more about this? Is "not centering" the QR code actually working that it reads it every time? |
Plugin(s)
Version
5.4.0
Platform(s)
Current behavior
With a Samsung A23 the scan doesn't work (Nothing append)
Expected behavior
qrcode scan work with the Samsung A23
Reproduction
https://github.com/capawesome-team/.capacitor-app
Steps to reproduce
Other information
My code :
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.7.4
@capacitor/core: 5.7.4
@capacitor/android: 5.7.4
@capacitor/ios: 5.7.4
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: