Closed geertgeerits closed 5 months ago
Hello. Could you please roll back to 1.3.0/1.3.1 version and see if it works for you? @parigino1 reported in #37 that this version worked on iPhone 7. 1.4.0 didn't introduced any new functional changes so it shouldn't change iOS version requirements, but I did modify a lot of code so some unexpected bugs could be in there.
Hi, version 1.4.0 works for me on iPhone 7 (I have only this one), probably it doesn't work because of a wrong handle of the result?
As quoted by @afriscic
the OnDetectionFinished
and OnDetectionFinishedCommand
events now returns BarcodeResult[]
instead of HashSet<BarcodeResult>
Glad if I helped you!
Oh, yes, I forgot to mention the most important part... But I assumed that the IDE would catch any type missmatch and not compile.
Works OK with version 1.3.1. Thank you.
Hi, Still the same problem with version 1.4.1. The scan page is not on the mainpage in my app. If I set the camera's 'CaptureQuality' to Low there is an improvement. The iPhone 7 sometimes responds to the buttons, but very slowly and not always. I don't know if this could have anything to do with it.
Hi, still the same problem with version 1.4.2. I have crash reports from Sentry:
Hi, I have the same issue on iPhone 8 with iOS 16.7.5. The last version where it works is version 1.3.1.
I need to upgrade to version 1.4.2 to resolve the issue #37 with the camera focus and resolution on dual camera devices.
Hello.
As I don't have these older devices debugging is really impossible for me. I've gone over and over through code and found only one real difference between 1.3.1 and current version. I've created a new branch with potential fix. Please if you can do the following:
Please report back afterwards.
Thanks for your reply. I was just testing with version 1.4.2, if I set CameraEnabled=true then the UI doesn't respond but it can scan, however if CameraEnabled is set to false the UI responds to touch.
I will test and report back.
Hi, The master branch did not solve the problem. For the issue-#43 branch I get the error: Git failed with a fatal error: repository not found.
BarcodeScanning.Native.Maui-issue-43.zip
Here is a zip of the branch
Hi, The issue-43 is working on a iPhone 7. Thank you very much.
OK. Thank you for the feedback. It'll be a couple more days for a update as this code spawns threads like crazy so I'm a little bit afraid that it could cause thread starvation in some cases. So I need to figure out a solution for this before.
Hi, just managed to test issue-#43 branch on iPhone 8 and it's still causing issues, the buttons don't respond and the device becomes hot. Sorry for the bad news, is there anything else you can try?
I've pusshed some more minot tweaks today to issue-43 branch. See if it'll be any help.
It's still not working on iPhone 8 but it works on iPhone 13. It appears that all processing power is being used by the scanning and leaves the UI unresponsive.
I did a couple more tests (now with the correct branch) and it's working on iPhone 8 as well as on iPhone 13.
Thank your very much for your help fixing this issue, its very appreciated.
I'll mark it as fixed in 1.4.3 Thank you all for your feedback
After I updated BarcodeScanning.Native.Maui from 1.1.1 to 1.4.0, the scanner no longer works on an old iPhone 7 with iOS 15.8.2. The camera itself still works, but the UI is frozen and no barcodes are recognized. None of the buttons work anymore. An iPhone 14 Pro and an iPad do work. There have of course also been other updates to .Net Maui and Visual Studio. The cause may also lie there. What could be the cause of this? Thanks in advance.