Open eekamouse opened 2 years ago
I have this issue on my iPhone Xs. Here's my SO question about it: https://stackoverflow.com/questions/71977226/zxing-scanner-not-scanning-on-ios-in-xamarin-forms-app
Just to make sure it's not something in my current app, I started a fresh new Xamarin Forms app. I then added ZXing.NetMobile
and ZXing.Net.Mobile.Forms
and nothing else. When I test scanning a QR code on my iPhone Xs, it still fails. So, it looks like this particular libary just doesn't work on iOS at all
It definitely works on some iOS. I have an iPhone 8 and 11 at my desk that work. Other co-workers with an iPhone 13 have it working. But two others with an iPhone 12 and an iPhone 13 PRO MAX are NOT working.
Are you aware of another barcode scanning solution that can be used with Xamarin? Looks like this library is not a good fit for a commercial product. Can't have a hit or miss situation.
The only other libraries I've seen all have a license fee. We've honestly not had any issues on any platform until recently with the newer iPhones. We've been banging our heads against the wall with beta version of ZXing and playing around with the various camera settings on those iPhones that aren't working. "Something" changed recently, because those phones were working previously. We're not sure when they started breaking. The barcode scanning code has been in the app unchanged for two years now.
I don't think this library is being maintained anymore. I also tried the beta version but got the same results. Actually, your situation is more frustrating because it sounds like an existing app. In my case, it's a new one. I'm now looking into Iron Software's solution and yes, there's a licensing fee but as I mentioned before, I can't afford a hit and miss situation. Here's their link: https://ironsoftware.com/csharp/barcode/
We had similiar problems, although our application recognized "some" barcode. I just pulled this and tried to some changes on my own.
After adding a new camera resolution (3840x2160) to the configuration it happened to read the barcodes again (I doubt that this was the problem/solution), there is one more but I don't know the resolution for
AVCaptureSession.PresetHigh
Also it seems that the auto focus doesn't work even if set
if (captureDevice.IsFocusModeSupported(AVCaptureFocusMode.ContinuousAutoFocus))
captureDevice.FocusMode = AVCaptureFocusMode.ContinuousAutoFocus;
We literally gave up on this solution all together. It cannot be used in a commercial app as it lacks reliability and support. Unfortunately commercial scanning solutions are cost prohibitive and come with terrible pricing models. We literally had to go back to the drawing board and replace the scan functionality with another approach. After all, scanning is just a quick and easy way to transfer data from an external source to the app. Of course, this may not be an option in every situation.
We literally gave up on this solution all together. It cannot be used in a commercial app as it lacks reliability and support. Unfortunately commercial scanning solutions are cost prohibitive and come with terrible pricing models. We literally had to go back to the drawing board and replace the scan functionality with another approach. After all, scanning is just a quick and easy way to transfer data from an external source to the app. Of course, this may not be an option in every situation.
Unfortunately we can't easily switch since not even a handful of scanner SDKs can read EAN-2 extensions plus it would cost our customer a lot. I will publish a NuGet package on friday, maybe it fixes your and @eekamouse problem too?
We literally gave up on this solution all together. It cannot be used in a commercial app as it lacks reliability and support. Unfortunately commercial scanning solutions are cost prohibitive and come with terrible pricing models. We literally had to go back to the drawing board and replace the scan functionality with another approach. After all, scanning is just a quick and easy way to transfer data from an external source to the app. Of course, this may not be an option in every situation.
Unfortunately we can't easily switch since not even a handful of scanner SDKs can read EAN-2 extensions plus it would cost our customer a lot. I will publish a NuGet package on friday, maybe it fixes your and @eekamouse problem too?
Definitely appreciate it!
@g0dpain I'd love to see if your solution would work. If it's reliable, I'd love to be able to implement the scan feature again. Thanks for soldiering on!
Just added the NuGet packages https://www.nuget.org/packages/g0dpain.ZXing.Net.Mobile/ https://www.nuget.org/packages/g0dpain.ZXing.Net.Mobile.Forms/
Those arent tested for older iPhone models. You can find it under the preview section
What I forgot to mention is...
MobileBarcodeScanningOptions
has now 2 new properties (only for iOS) FocusPointOfInterest
(default like @Redth defined: .5f .5f) which sets the focus point, I found it better to let the user decide..
and CameraResolutionPreset
(default 640x480p) so set the camera resolution by code. The second one was the problem - the resolution was way to small for the new cameras, maybe the both altogether.
The best and lowest resolution for my iPhone 13 Pro was 1280x720p I implemented the same default since I don't know if there will be problems for older models..
Additionally I implemented some fixes of the open PR like torch on iOS...
Thank you for all of your efforts. I was able to implement the new packages and add the new properties (FocusPointOfInterest, CameraResolutionPreset, Camera Resolution, etc.) to the options collection, but continue to experience the same issue. It works like a champ on my Pixel 6, but on my iPad the OnScanResult event never fires. I must be doing something wrong. Do you have any idea what it might be?
Tx.
@mark-sheldon Try this:
scanPage.OnScanResult += (result) =>
{
scanPage.IsScanning = false;
Device.BeginInvokeOnMainThread(async() =>
{
await Navigation.PopAsync();
await DisplayAlert("Scanned Value", result.Text, "OK");
}
}
Unless you want to scan continuously stop the scanning process, but given your code example it doesn't seem that way. And such things like using the Navigation or something else like changing UI elements that belongs to the main thread, only call it from there with Device.BeginInvokeOnMainThread
Thank you for your response. I appreciate your assistance.
That is exactly what I have. The iPad blows right past the OnScanResult event, but Pixel 6 performs exactly as expected, hitting the breakpoint as indicated below and returning the DisplayAlert: [image: image.png][image: image.png]
Tx.
On Tue, May 31, 2022 at 3:52 AM Patrick Schulz @.***> wrote:
@mark-sheldon https://github.com/mark-sheldon Try this:
scanPage.OnScanResult += (result) => { scanPage.IsScanning = false; Device.BeginInvokeOnMainThread(async() => { await Navigation.PopAsync(); await DisplayAlert("Scanned Value", result.Text, "OK"); } }
Unless you want to scan continuously stop the scanning process, but given your code example it doesn't seem that way. And such things like using the Navigation or something else like changing UI elements that belongs to the main thread, only call it from there with Device.BeginInvokeOnMainThread
— Reply to this email directly, view it on GitHub https://github.com/Redth/ZXing.Net.Mobile/issues/1041#issuecomment-1141977800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI44BJTQVJGTY6GOX4DHTP3VMXVOFANCNFSM5VJXPUIQ . You are receiving this because you were mentioned.Message ID: <Redth/ZXing .@.***>
@mark-sheldon i sadly cannot see your images Can you try to catch the exception and send the stacktrace? I tested the code with my iPad Pro (2020) 11" and it worked very well...
It was just a couple of screen caps verifying the app was working on Android. No matter. Native stack trace below. I'll wrap just the event code and see if I can get anything further in a few minutes.
0x100de820c - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x100ddec5c - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
0x100debbdc -
/private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/
CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS :
mono_sigsegv_signal_handler_debug
0x1f096cc10 - /usr/lib/system/libsystem_platform.dylib :
0x100f74e84 - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_collapse_struct_name
0x100f81ec8 - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : _ZL15param_iter_next14IteratorActionPvPKcmS0PS0
0x100f7abac - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_invoke_trampoline
0x100f81d8c - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arch_trampoline
0x100f82a30 - /private/var/containers/Bundle/Application/A542D860-C9D2-4068-9946-5BA12A39744C/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arm64_common_trampoline
0x19fa2b08c - /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture :
This is all there is. The application is being terminated outside of the try/catch block. Final Stack Trace below: 2022-05-31 11:12:26.812 Xamarin.PreBuilt.iOS[405:8279] Xamarin.iOS: Successfully received USB connection from the IDE on port 10000, fd: 7
2022-05-31 11:12:26.814 Xamarin.PreBuilt.iOS[405:8279] Xamarin.iOS: Processing: 'start profiler: no'
2022-05-31 11:12:26.814 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Profiler not loaded (disabled)
Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.iOS.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Mono.Security.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS.exe [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.iOS.HotRestart.Application.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/netstandard.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Core.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Xml.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Numerics.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Data.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Transactions.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Data.DataSetExtensions.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Drawing.Common.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.IO.Compression.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.IO.Compression.FileSystem.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.ComponentModel.Composition.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Net.Http.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Runtime.Serialization.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.ServiceModel.Internals.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Web.Services.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Xml.Linq.dll [External] Thread started: #2 Thread started: #3 2022-05-31 11:12:27.313 Xamarin.PreBuilt.iOS[405:8264] Content folder: /var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content
2022-05-31 11:12:27.313 Xamarin.PreBuilt.iOS[405:8264] App path /var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/CapceMobileApp.iOS.exe
2022-05-31 11:12:27.314 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Platform.iOS' (culture: '')
2022-05-31 11:12:27.314 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Platform.iOS' (culture: '')
2022-05-31 11:12:27.314 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'CapceMobileApp' (culture: '')
2022-05-31 11:12:27.315 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'CapceMobileApp' (culture: '')
Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/CapceMobileApp.iOS.exe Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/Xamarin.Forms.Platform.iOS.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/CapceMobileApp.dll 2022-05-31 11:12:27.324 Xamarin.PreBuilt.iOS[405:8264] AppDelegate name: AppDelegate
2022-05-31 11:12:27.325 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Core' (culture: '') 2022-05-31 11:12:27.325 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Core' (culture: '')
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/Xamarin.Forms.Core.dll
[External]
Thread started:
2022-05-31 11:12:27.385 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'SQLitePCLRaw.core' (culture: '')
Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/SQLitePCLRaw.batteries_v2.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/SQLitePCLRaw.core.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/ZXingNetMobile.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/System.Buffers.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/System.Runtime.CompilerServices.Unsafe.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Runtime.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/ZXing.Net.Mobile.Forms.dll [External] Loaded assembly: /private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/SQLitePCLRaw.provider.dynamic_cdecl.dll [External] Loaded assembly: /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/System.Memory.dll [External] 2022-05-31 11:12:27.411 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Xaml' (culture: '')
2022-05-31 11:12:27.412 Xamarin.PreBuilt.iOS[405:8264] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Xaml' (culture: '')
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/Xamarin.Forms.Xaml.dll
[External]
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/SQLite-net.dll
[External]
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/Xamarin.Essentials.dll
[External]
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/System.Memory.dll
[External]
Loaded assembly:
/private/var/mobile/Containers/Data/Application/900E280F-20E3-4598-B5F4-B93167B988DF/Documents/CapceMobileApp.iOS.content/SQLitePCLRaw.nativelibrary.dll
[External]
Thread started: #7
Thread started: #8
Thread started: #9
Loaded assembly: Anonymously Hosted DynamicMethods Assembly [External]
Loaded assembly:
/private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/
CapceMobileApp.iOS.app/System.ComponentModel.Annotations.dll [External]
Loaded assembly:
/private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/
CapceMobileApp.iOS.app/System.ComponentModel.DataAnnotations.dll [External]
Resolved pending breakpoint at 'HomePage.xaml.cs:123,1' to void
CapceMobileApp.Views.HomePage.
Thread started: #10 Thread started: #11
0x104db820c - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x104daec5c - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
0x104dbbbdc - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
0x1f0f0cc10 - /usr/lib/system/libsystem_platform.dylib :
0x104f44e84 - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_collapse_struct_name
0x104f51ec8 - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : _ZL15param_iter_next14IteratorActionPvPKcmS0PS0
0x104f4abac - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_invoke_trampoline
0x104f51d8c - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arch_trampoline 0x104f52a30 - /private/var/containers/Bundle/Application/56CF4BC4-5E67-432A-A64B-CD05D8F07F9E/ CapceMobileApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arm64_common_trampoline
0x19ffcb08c - /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture :
@mark-sheldon I cannot really see something "interesting" or helpful in those iOS native stacktraces, kinda new to it
But as far I can gather from that information it really does seem to be this libs problem or Apples problem (shutdown after StartScanning
)
I happened to get thrown from the application without scanPage.IsScanning = false
1/4 times assuming some race condition, but I don't think that's the problem here. As I told you my iPad Pro (2020) with iOS 15.5 succeeded.
What CameraResolutionPreset
do you use? I haven't tested much higher resolutions with devices (I literally don't have such test devices) which can't take a higher photo/video resolution. -> But via iPhone Simulator the app didn't crash on one of the old models such as iPhone 8 with a much higher value
If you are indeed in need of this, after all free, library and have some sparetime for it I really suggest you to debug it yourself as I have no possession of an iPad 9th Gen. If you fork my repo/fork we can discuss there and/or if you find the solution to the problem yourself you just can create a PR and publish it for everyone ourselves..
@mark-sheldon I am sorry I can not provide a proper solution myself, but I will look for a test device such as yours. And since Xamarin will be supported until late 2023 I kinda want to port this library anyways if @Redth doesn't have the time for it,
I have extracted the device log and attached it here if you think that might help.
m.
On Tue, May 31, 2022 at 10:38 AM Patrick Schulz @.***> wrote:
@mark-sheldon https://mailtrack.io/trace/link/7d8e727254573b143fc61797f41d290acf221609?url=https%3A%2F%2Fgithub.com%2Fmark-sheldon&userId=2925135&signature=09b0d949f8a9d8de i sadly cannot see your images Can you try to catch the exception and send the stacktrace? I tested the code with my iPad Pro (2020) 11" and it worked very well...
— Reply to this email directly, view it on GitHub https://mailtrack.io/trace/link/6ddfa828c5744af7cbe1e960568c809819d3e7ba?url=https%3A%2F%2Fgithub.com%2FRedth%2FZXing.Net.Mobile%2Fissues%2F1041%23issuecomment-1142424356&userId=2925135&signature=52b9f070f66ab397, or unsubscribe https://mailtrack.io/trace/link/7fe11144b71e7fe16e2a5e29c4dfca41201b7974?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI44BJUKJKHGGFPSEPTAHJLVMZFDBANCNFSM5VJXPUIQ&userId=2925135&signature=48bcda0facdb93d8 . You are receiving this because you were mentioned.Message ID: <Redth/ZXing .@.***>
Time Device Name Type PID Tag Message
May 31 12:48:15 Marks-iPad Error 136 applecamerad Failed to send the com.apple.applecamerad.FlickerDetection event into the diagnostics system 00000000
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH11ANEInterface) ANE#0 IOReturn H11ANEIn::ANE_PowerOff_gated(void )
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH11ANEInterface) ANE0: virtual IOReturn AneIspIPCEndPoints::enableFWIPCEP_gated(AneIspEndpointIndex, bool) :H11ANEIn::Send CSNE_CMD_UNLOAD_AFPP FD networks with phy:0x1ee0000, size:0x000000000093a600
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH11ANEInterface) ANE0: virtual IOReturn AneIspIPCEndPoints::enableFWIPCEP_gated(AneIspEndpointIndex, bool) :H11ANEIn:: send CSNE_CMD_IPC_ENDPOINT_UNSET2 to FW!
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH11ANEInterface) ANE0: IOReturn H11ANEIn::powerStateDidChangeTo_gated(IOPMPowerFlags, unsigned long, IOService ) :H11ANEIn::powerStateDidChangeTo_gated peer down, diable IPC EP
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::setPowerStateGated (turn off) - change fPowerEvent from 2 to None
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ForceISPDPEIdle - control: 0xd01
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_FlushInactiveDARTMappings_gated - result: 0x00000000
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ForceISPDPEIdle - control: 0x101
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - Statistics: NonPersistentMemory:122142720, PersistentMemory:36353788, DeletionPendingMemory:0, NonPersistentMemoryMax:261079040, PersistentMemoryMax:36353788
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::MotionDataDisable - MotionStateSet(false)
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - Statistics: Starts:2, Resumes:2, SuspendSuccesses:4, SuspendFails:0, ResumeFails:0, DeInits:1
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - Succeeded! (didDeInit=No!)
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::drainIOProcessorChannelMessageQueues - Received 1 messages on channel IO after Suspend is completed
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: free heap size=7640706
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: WRN: ./h10isp/common/misc/H12/CIspRTResourceManagerH12.cpp, 313: Invalid channelId 5
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: ch 0 APS/GCOL not available !!!!
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: [ISP] Destroy Session
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 5 ctrlWord 0x0 TS: 56.484188
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 4 ctrlWord 0x0 TS: 56.484188
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 3 ctrlWord 0x0 TS: 56.484184
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: TS: 56.484154 Disable FCAM FRONT_SHUTDOWN=0
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 2 ctrlWord 0x1 TS: 56.481178
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: TS: 56.481148 Disable WIDE_AF_SHUTDOWN=0
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 1 ctrlWord 0x0 TS: 56.481178
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: TS: 56.475147 Disable RCAM REAR_SHUTDOWN=0
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CImageCaptureH6::CmdProcessor L:64, Cmd: 0x1
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CmdTurnOffDevicePower: ch 0 ctrlWord 0x5 TS: 56.469528
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CImageCaptureH6::CmdProcessor L:64, Cmd: 0xd6
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CImageCaptureH6::CmdProcessor L:64, Cmd: 0x1
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: CImageCaptureH6::CmdProcessor L:64, Cmd: 0xd6
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) ISPCPU: [ISP] CMD = 0x0021 [CISP_CMD_SUSPEND]
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - 0x00000000
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - Firmware timeout: 0, res = 0x0, isISPCPUNotInWFI: 1 indicate dirty shutdown to DART driver
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_FlushInactiveDARTMappings_gated - result: 0x00000000
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - ISPCPU not in WFI after CISP_CMD_POWER_DOWN
May 31 12:48:15 Marks-iPad Notice 0 kernel(AppleH10CameraInterface) AppleH10CamIn::ISP_Suspend - retries=20 ASCWRAP_IDLE_STATUS = 0x0
May 31 12:48:15 Marks-iPad Notice 64 backboardd brightness change:0.428325 reason:BrightnessSystemDidChange options:
Thanks for your effort here. I am getting the following on our iOS project when I try to compile with the new packages:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(254,3): error MT2101: Can't resolve the reference 'System.Void ObjCRuntime.DisposableObject::Dispose()', referenced from the method 'System.Void ZXing.Mobile.ZXingScannerView/OutputRecorder::DidOutputSampleBuffer(AVFoundation.AVCaptureOutput,CoreMedia.CMSampleBuffer,AVFoundation.AVCaptureConnection)' in 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.
Some Googling, brought up that I should roll back from the .2401 version of Xamarin Forms to the previous release, although that didn't make a difference. I did some testing of dropping the package in and out with different version of Xamarin Forms, and only when the new package is present do we see the error above, regardless of the version of Xamarin Forms.
Thank you for all your efforts. I tried all the CameraResolutionPreset settings with no luck. I'm about 75% convinced this is not really a ZXing issue. I'm thinking it's a Xamarin.iOS issue. I have read several places this issue disappears if your Apple phone or iPad is directly plugged into an Apple build server. Unfortunately, my Apple Build server (a MacBook Pro) is no longer upgradeable to the latest macOS or xCode versions, so I'm going to have to make other arrangements (buy a new Mac or go the hackintosh route) in order to test that.
Thanks again for taking a look at this.
m.
On Tue, May 31, 2022 at 1:06 PM Patrick Schulz @.***> wrote:
@mark-sheldon https://github.com/mark-sheldon I cannot really see something "interesting" or helpful in those iOS native stacktraces, kinda new to it But as far I can gather from that information it really does seem to be this libs problem or Apples problem (shutdown after StartScanning)
I happened to get thrown from the application without scanPage.IsScanning = false 1/4 times assuming some race condition, but I don't think that's the problem here. As I told you my iPad Pro (2020) with iOS 15.5 succeeded.
What CameraResolutionPreset do you use? I haven't tested much higher resolutions with devices (I literally don't have such test devices) which can't take a higher photo/video resolution. -> But via iPhone Simulator the app didn't crash on one of the old models such as iPhone 8 with a much higher value
If you are indeed in need of this, after all free, library and have some sparetime for it I really suggest you to debug it yourself as I have no possession of an iPad 9th Gen. If you fork my repo/fork we can discuss there and/or if you find the solution to the problem yourself you just can create a PR and publish it for everyone ourselves..
— Reply to this email directly, view it on GitHub https://github.com/Redth/ZXing.Net.Mobile/issues/1041#issuecomment-1142591959, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI44BJTJ5VODMEJYUBT75DLVMZWMZANCNFSM5VJXPUIQ . You are receiving this because you were mentioned.Message ID: <Redth/ZXing .@.***>
I installed my app on my iPhone XS through TestFlight and still didn’t work. I don’t think plugging phone directly into build server will help but that’s just my opinion. There may be a reason why this library has been abandoned more than once. Again, that’s my opinion.
Hi @all and thx @g0dpain,
i'm also creating a new customer project right now and found this issue with the newest iPhone generation. Do you plan to maintain your fork or was this a one time fix? :)
@imsam67: The barcode sdk you posted, this is not supporting live tracking via the device camera right? You can simply send a FileStream into the sdk and get back a result?
Does anybody have experience with: https://github.com/JimmyPun610/BarcodeScanner.Mobile ?
I also checked: https://scanbot.io/de/pricing/ but this starts with 20.000$ per year for the minimum version :D
Thx Stefan
All the options that were viable for our use case are commercial solutions and are NOT cheap. What's worse is I hate their pricing model where they give you a price based on number of scans. It's a piece of software that runs on users' devices and interacts with our backend so how many times we execute a block of code that they produced shouldn't matter but that's how they charge you. At this time, we've abandoned the scan feature in our app. Clearly the community needs a good viable scanning solution.
Hi @ALL and thx @g0dpain,
i'm also creating a new customer project right now and found this issue with the newest iPhone generation. Do you plan to maintain your fork or was this a one time fix? :)
@imsam67: The barcode sdk you posted, this is not supporting live tracking via the device camera right? You can simply send a FileStream into the sdk and get back a result?
Does anybody have experience with: https://github.com/JimmyPun610/BarcodeScanner.Mobile ?
I also checked: https://scanbot.io/de/pricing/ but this starts with 20.000$ per year for the minimum version :D
Thx Stefan
Hi,
I switched from this package to BarcodeScanner about a year ago (currently using version 5.0.9). This one had problems with small QR-Codes (10 mm) and could not decode DataMatrix codes which were even smaller. A can say that the BarcodeScanner works really well in our use case: small QR-Codes printed on shiny foil with gray background and glued on surfaces which are not always flat or really small DataMatrix codes.
Using Zxing library for scanning barcodes for more than 2 years in our project. As mentioned by others scanning barcodes apart from iPhone 13 work but on iPhone 13 does not scan them. We have tried with most of the solutions found from various platforms. Updated to the latest package as well and still the result is same.
Has this issue been resolved or a working resolution or workaround for this has been made available anywhere.
We are on very high priority and tight timeline to resolve this issue so expect a solution that works for all the above who are facing this.
Hi !
I Tried to develop a .net Maui app using this library, and unfortunately, it doesn't seem to detect barcodes or qr codes on my Iphone 12 mini.
Hi !
I Tried to develop a .net Maui app using this library, and unfortunately, it doesn't seem to detect barcodes or qr codes on my Iphone 12 mini.
There is a MAUI port of this library from Redth himself https://github.com/Redth/ZXing.Net.Maui
This is still in progress, but there you will be having the ability to change the scanners resolution. It may appear to be high quality in the preview, but in the background it is being scanned in 480p. I implemented in a fork of this specific lib for Xamarin Forms a property inside BarcodeScannerOptions to change it manually. Maybe you can use this in the meantime
iPhone 14 Pro also fails to detect barcode. My guess is it's using the wrong camera and/or can't focus properly to detect the barcode? Macro mode?
iPhone 14 Pro also fails to detect barcode. My guess is it's using the wrong camera and/or can't focus properly to detect the barcode? Macro mode?
@brendonupson ZXing.Net.Mobile probably never will be updated again. A MAUI version is on the way. You may be right with the focus too. But I found out that the iOS scanning implementation sets the camera resolution to 640x480 and maybe I am wrong the default camera is "Ultrawide" on newer devices, so you can imagine that the preview you see is not the image the scanner processes e.g. internally it picks up the barcode further away at a low resolution.
I implemented a workaround and added some PR-fixes for this library (iOS only), search for preview nuget package g0dpain.ZXing.Net.Mobile
or if you are using Xamarin.Forms over Xamarin native g0dPain.ZXing.Net.Mobile.Forms
and add CameraResolutionPreset
property to your MobileBarcodeScanningOptions
, preferably 1920x1080 since a lot of devices doesn't support the highest and it crashed on a few devices on app release (I think iPad Gen 4)
An implementation to set a resolution in the MAUI library will be supported
The reason why iphone >= 13 has trouble scanning is that the default back camera is WideAngle which has a minimum focus distance of 20cm. To fix this focusing issue, we need to use macro mode. To use macro mode, we need to use the correct lens / camera. When searching for AvCaptureDevice using the type UltraWideAngle it yields no results, the reason for this is that the function used for looking up devices are deprecated. NsDiscoverySession ( if i recall the name correctly ) needs to be used.
I've created a fork https://github.com/MariusPCK/ZXing.Net.Mobile which is a fork of g0dpain's fork, so it includes the resolution stuffies. The fork has a new option "TryUseUltraWideCamera", if not found it defaults back to the default back camera. You can see it in use via https://github.com/MariusPCK/ZXing.Net.Mobile/blob/master/Samples/Sample.Forms/Sample.Forms/CustomScanPage.cs
Packages:
Install-Package mariuspck.ZXing.Net.Mobile -Version 3.1.5-alpha Install-Package mariuspck.ZXing.Net.Mobile.Forms -Version 3.1.5-alpha
Thank you very much.. :) I tried it with iPhone 14 pro.. and it's working correctly.
@MariusPCK great stuff! Would you care to implement this solution also for the MAUI version of this repo and create a PR?
@MariusPCK great stuff! Would you care to implement this solution also for the MAUI version of this repo and create a PR?
Probably, however not until the app I'm working on will be ported to MAUI.
@MariusPCK Version "3.1.5-alpha" doesn't work on simulator iOS 15.2 But it worked on Physical device iOS 15.7.2.
iOS 15.2 Error Detail: Object reference not set to an instance of an object ZXing.Net.Mobile\iOS\ZXingScannerView.ios.cs:150
@MariusPCK Version "3.1.5-alpha" doesn't work on simulator iOS 15.2 But it worked on Physical device iOS 15.7.2.
iOS 15.2 Error Detail: Object reference not set to an instance of an object ZXing.Net.Mobile\iOS\ZXingScannerView.ios.cs:150
To my understanding you should not be able to open the scanner on the iOS simulator at all. Unlike the android simulator the iOS one does not include a CaptureDevice (e.g. camera) and therefore throws an unhandled exception
@g0dpain Version "3.1.5-alpha" Simulator, iOS Version 15.2 and doesn't work. Physical Device, iOS Version 15.7.2 worked.
Version 2.4.1 (Last Stable) Simulator, iOS Version 15.2 worked. Physical Device, iOS Version 15.7.2 worked.
Edit @g0dpain on the Android Side Version "3.1.5-alpha" Emulator and Physical device worked.
Version 2.4.1 (Last Stable) Emulator: Object reference not set to an instance of an object. at ZXing.Mobile.MobileBarcodeScanner.GetContext (Android.Content.Context context) [0x0001f] in <819b29aa6d91462699e19a679be55a44>:0
Physical Device: : : 'Unable to activate instance of type Java.Lang.Runnable from native handle 0x7ff29e2384 at ZXing.Mobile.MobileBarcodeScanner.GetContext (Android.Content.Context context) [0x0001f] in <819b29aa6d91462699e19a679be55a44>:0
Is it clear?
@g0dpain Version "3.1.5-alpha" Simulator, iOS Version 15.2 and doesn't work. Physical Device, iOS Version 15.7.2 worked.
Version 2.4.1 (Last Stable) Simulator, iOS Version 15.2 worked. Physical Device, iOS Version 15.7.2 worked.
Edit @g0dpain on the Android Side Version "3.1.5-alpha" Emulator and Physical device worked.
Version 2.4.1 (Last Stable) Emulator: Object reference not set to an instance of an object. at ZXing.Mobile.MobileBarcodeScanner.GetContext (Android.Content.Context context) [0x0001f] in <819b29aa6d91462699e19a679be55a44>:0
Physical Device: : : 'Unable to activate instance of type Java.Lang.Runnable from native handle 0x7ff29e2384 at ZXing.Mobile.MobileBarcodeScanner.GetContext (Android.Content.Context context) [0x0001f] in <819b29aa6d91462699e19a679be55a44>:0
Is it clear?
I don't use a simulator for IOS so I won't be doing a fix (avoiding unhandled throw) for it.
Feel free to fork and implement :)
@g0dpain @MariusPCK
Thanks. Now I tested version of ""3.1.0-beta2"" prerelease It worked to all environments.
@g0dpain @MariusPCK
Thank you so much for resolve a long term issue since iPhone 12 released.
It works finally. I just hope this will be applied to ZXing javascript library as soon as possible.
Please share if it's been implemented already.
Hi @g0dpain @MariusPCK @giljgx
So, I'm still running into issues on basically any 3 camera (maybe others?) recent iOS devices. This thread describes what I'm seeing. I'm currently on the 3.1.0-beta2 NuGet and am able to get some QR/DataMatrix to be caught, but only larger ones. The ones I need to scan are pretty small and on a package's white background. My guess is about 1 cm x 1 cm.
Able to work on Droid and 1 and 2 camera iOS devices, just not 3 camera ones like described in this thread. Are there settings that need to be set in Settings as well to get such things working and/or is there a minimum size that these newer cameras can focus on?
This library has been working fine for like 2+ years and just now giving us trouble. We can certainly try migrating to a paid library (I've used Scandit in the past), but my guess is that due to these issues they may be hit and miss as well.
Any guidance or ideas on this would be much appreciated. I don't feel like I'm ready to throw in the towel quite yet, but I do have deadlines.
My guess is that either: 1. These types of phone cameras are not capable of focusing correctly and this library is seeing thos shortcomings. Or 2. The iPhone cameras are not capable of focusing on anything that close to the lens.
Thanks in advance for your response.
Hi @g0dpain @MariusPCK @giljgx
So, I'm still running into issues on basically any 3 camera (maybe others?) recent iOS devices. This thread describes what I'm seeing. I'm currently on the 3.1.0-beta2 NuGet and am able to get some QR/DataMatrix to be caught, but only larger ones. The ones I need to scan are pretty small and on a package's white background. My guess is about 1 cm x 1 cm.
Able to work on Droid and 1 and 2 camera iOS devices, just not 3 camera ones like described in this thread. Are there settings that need to be set in Settings as well to get such things working and/or is there a minimum size that these newer cameras can focus on?
This library has been working fine for like 2+ years and just now giving us trouble. We can certainly try migrating to a paid library (I've used Scandit in the past), but my guess is that due to these issues they may be hit and miss as well.
Any guidance or ideas on this would be much appreciated. I don't feel like I'm ready to throw in the towel quite yet, but I do have deadlines.
My guess is that either: 1. These types of phone cameras are not capable of focusing correctly and this library is seeing thos shortcomings. Or 2. The iPhone cameras are not capable of focusing on anything that close to the lens.
Thanks in advance for your response.
The fix isn't in version 3.1.0-beta2. See https://github.com/Redth/ZXing.Net.Mobile/issues/1041#issuecomment-1372080125
@MariusPCK Not sure where I saw here that it was in the latest beta, but I tried your branch as pointed out. It does work for larger QR codes, which is fantastic! Kudos on the fix!
I'm still having issues with tiny data matrices/QR. I downloaded the demos for Scandit and Scanbot and both work, but like everyone else here, I really don't want to pay $25k for something that is super close to working. Is there something I'm missing with the tiny codes? Is it just that the new cameras can't focus on them, I'd guess? Any thoughts on a work around for this? Or ZXing about as good as it's going to get?
More...
It looks like versions earlier than 16 are not having this issue either. But, it may be a separate issue I'm running into in conjunction with the issue in the thread being the tiny code recognition. Either way, I think they're related.
@MariusPCK Not sure where I saw here that it was in the latest beta, but I tried your branch as pointed out. It does work for larger QR codes, which is fantastic! Kudos on the fix!
I'm still having issues with tiny data matrices/QR. I downloaded the demos for Scandit and Scanbot and both work, but like everyone else here, I really don't want to pay $25k for something that is super close to working. Is there something I'm missing with the tiny codes? Is it just that the new cameras can't focus on them, I'd guess? Any thoughts on a work around for this? Or ZXing about as good as it's going to get?
More...
It looks like versions earlier than 16 are not having this issue either. But, it may be a separate issue I'm running into in conjunction with the issue in the thread being the tiny code recognition. Either way, I think they're related.
Upload an example QR code and I will test it.
@MariusPCK Thank you for the offer to test. It's not the QR code itself that's the issue in the sense of it being valid or not, it's the size. I'm not really sure how to upload with the actual size, which is small. I will say, it does pick up when larger (when I increase the size in the image file). But, as its actual size on the packaging, which is small, it doesn't work. It does work with paid solutions and older iPhones on iOS 15, but not 16. Not sure exactly what changed other than the physical camera, but it seems pretty buggy on Apple's end from my testing...though I wouldn't rule out ZXing either as other solutions have seemed to nail this one.
At this point, I still haven't given up on ZXing, but am preparing to find an alternative if this can't be fixed. I was hoping there was some flag or something I wasn't hitting correctly, but as I go down the rabbit hole it seems to be much more involved.
I appreciate the quick responses. And thank you very much for your help.
@Code-Writing-Guy Is your app a Xamarin or a MAUI app?
@imsam67 Xamarin Forms. We're going to upgrade to MAUI when all of our paid libraries/tools support it, which they currently don't. But, hopefully in the next few months.
We’ve been using the Zxing library for almost two years now with great success across all three platforms (iOS, Android, and UWP). No issues whatsoever, very fast performance, etc…
But we’ve got some reports from customers with the iPhone 12 and 13 Pro and Pro Max phones that their barcodes just won’t scan, and we have verified in the office as well. Same code/build/etc and other phones iOS or otherwise still scan perfectly.
We’ve tried some of the latest beta builds and some other configuration changes with no effect.
Is there some setting on these Pro and Pro Max phones that might need to be changed? Or is this a known issue? I didn’t see any other issue mentioning it, but it’s like clockwork for us.