-
Notifications
You must be signed in to change notification settings - Fork 53
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] Barcode scanner does not work #604
Comments
@apohh that's strange. I have justed tested on my phone (Android 15) and it scans the barcodes directly from your video. |
Strange indeed! I have asked a colleague to install the application to see if the bug can be reproduced on another phone. In the meantime I tried collecting some debug information with USB debug + adb + logcat (first time use). I first tapped on the InvenTree App icon then I tapped as fast as possible on the barcode reader button. Camera was still running at the time I killed logcat. I don't know how useful it will be. |
We use the flutter_zxing library for barcode scanning. That has a minum Android API level requirement of 21 (Android version 5). |
@SchrodingersGat Thank you for the information. To confirm the incompatibility, I tested ZXScanner V1.2.0, which is based on flutter_zxing, and it doesn't work either, despite my phone running Android 12. I will wait for a possible update to the library. Since there’s no immediate solution, I’ll leave it up to you to decide whether to close this issue or not. |
@apohh are you using Microsoft Intune on the device? That can block some functions that interact with the camera. |
I don’t have Microsoft Intune, but thank you for asking nonetheless. Barcode scanning worked with a previous version of the InvenTree app, although I don’t remember which one exactly. If I had to guess from the release notes, it would be version 0.16.5, as it seems the switch to flutter_zxing happened with version 0.17.0. I’ve also tested other barcode scanning apps which were installed on my phone, and they are still functional. |
@apohh it might be worth checking in the GitHub page for flutter_zxing to see if there are any reported compatibility issues |
Since last update, the barcode scanner does not identify barcodes anymore.
I have observed this for QR Codes generated by Inventree and Digikey barcodes.
App has been reinstalled, to no avail.
Inventree App : 0.17.3 Build 95
Inventree Server : 0.17.2
Phone : VNE-N41 with Android 12
inventreeApp_barcodeReaderBug.mp4
Thank you.
The text was updated successfully, but these errors were encountered: