-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Description
We notice multiple users experiencing crashes on iOS devices when using the library. Here's the stack trace from Sentry.
System.ArgumentNullException
ArgumentNull_Generic Arg_ParamName_Name, s (System.ArgumentNullException)
at System.ArgumentNullException.Throw(String )
at System.Text.Encoding.GetBytes(String )
at CameraScanner.Maui.Platforms.Services.BarcodeScanner.ProcessBarcodeResult(VNBarcodeObservation[] inputResults, AVCaptureVideoPreviewLayer previewLayer)
at CameraScanner.Maui.CameraManager.<>c__DisplayClass28_0.<.ctor>b__0(VNRequest request, NSError error)
at ObjCRuntime.Trampolines.SDVNRequestCompletionHandler.Invoke(IntPtr block, NativeHandle request, NativeHandle error)
at Vision.VNSequenceRequestHandler.Perform(VNRequest[] , CVPixelBuffer , NSError& )
at CameraScanner.Maui.CameraManager.PerformBarcodeDetection(CVPixelBuffer cvPixelBuffer)
Steps to Reproduce
Expected Behavior
App should not crash
Actual Behavior
Crashing due to Argument Null Exception.
Basic Information
- Version with issue:
- Last known good version: