Hi there. I have an app that scans barcodes.
The app works correctly when using an Android device, but not when using iOS.
I was trying to look for some info on the subject, and I found that apparently there are some memory limitations for iOS and that's why it fails and I should change the resolution and the rate, but these options are not present in the barcode scanner control reference
Is this good enough to run the tests?
If i can provide something else, let me know.
Certainly! Here's a screenshot of the barcode.
Hello @v-jamat ,
For the code 39 format it shouldn't matter that the camera is mirrored however from my experience there are some hardware limitation with using the front camera .... typically they have a lower resolution then the back camera and on iOS the front camera can't adjust the focus automatically which can make it more harder to scan the code.
As @chmoncayMSFT suggested setting the BarcodeType to Code 39 might help make it more accurate :
if that doesn't work do you mind sharing a sample barcode that you are using to test this? and we can investigate this on our end 🙂
I'm still struggling with this one
Thanks for getting back to me.
We did tried that. They're type code 39. Does it matter that the image in iOS is mirrored on the front camera and there should be an an additional step to flip it? When I try this on the Android, the image snapshot I see looks flipped and it does the barcode recognition immediately.
Hi there,
The control that is being referred to in the answer to is the "Web Barcode Scanner" which is an experimental control.
The prescribed control which should be used is the "Barcode Scanner" which is a button that launches a mobile experience.
Barcode vs Web Barcode
If the button one for mobile is being used, if you know which barcode type is being used you can specify the type instead of using Auto. This will increase the scanning accuracy.
Hope this helps.
WarrenBelz
146,765
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional