Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

It's crashing on iPad and iPhone after you try to scan QR code. #164

Open
imvasim777 opened this issue Feb 22, 2021 · 2 comments
Open

It's crashing on iPad and iPhone after you try to scan QR code. #164

imvasim777 opened this issue Feb 22, 2021 · 2 comments

Comments

@imvasim777
Copy link

imvasim777 commented Feb 22, 2021

https://pub.dev/packages/ai_barcode this package is using this library internally and I believe it's somehow related with this package.

Crashed: com.apple.main-thread
0 ai_barcode 0x1061af584 $s10ai_barcode20AiBarcodeScannerViewC19resumeCameraPreviewyyFySbcfU_ySaySo35AVMetadataMachineReadableCodeObjectCGSgcfU_ + 752
1 ai_barcode 0x1061af5c4 $sSaySo35AVMetadataMachineReadableCodeObjectCGSgIegg_So7NSArrayCSgIeyBy_TR + 60
2 MTBBarcodeScanner 0x105e40790 -[MTBBarcodeScanner captureOutput:didOutputMetadataObjects:fromConnection:] + 444
3 AVFCapture 0x1aa6d0878 -[AVCaptureMetadataOutput _processSampleBuffer:] + 3464
4 AVFCapture 0x1aa6cf96c __46-[AVCaptureMetadataOutput _updateRemoteQueue:]_block_invoke + 92
5 CMCapture 0x1aa73e9e4 __FigRemoteOperationReceiverCreateMessageReceiver_block_invoke + 300
6 CMCapture 0x1aa9b8354 __rqReceiverSetSource_block_invoke + 256
7 libdispatch.dylib 0x18ff34db0 _dispatch_client_callout + 20
8 libdispatch.dylib 0x18ff3812c _dispatch_continuation_pop + 416
9 libdispatch.dylib 0x18ff49c08 _dispatch_source_invoke + 1260
10 libdispatch.dylib 0x18ff42694 _dispatch_main_queue_callback_4CF + 556
11 CoreFoundation 0x1902bc11c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
12 CoreFoundation 0x1902b6120 __CFRunLoopRun + 2508
13 CoreFoundation 0x1902b521c CFRunLoopRunSpecific + 600
14 GraphicsServices 0x1a7e81784 GSEventRunModal + 164
15 UIKitCore 0x192cf5ee8 -[UIApplication _run] + 1072
16 UIKitCore 0x192cfb75c UIApplicationMain + 168
17 Trust 0x104537e30 main + 6 (AppDelegate.swift:6)
18 libdyld.dylib 0x18ff756b0 start + 4

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.2.1 20D74 darwin-x64, locale
en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.53.2)
[✓] Connected device (1 available)

• No issues found!

Device Details:
Screenshot 2021-02-22 at 9 12 19 AM

@imvasim777 imvasim777 changed the title It's crashing on iPad devices some time after you try to scan QR code. It's crashing on iPad and iPhone after you try to scan QR code. Feb 22, 2021
@imvasim777
Copy link
Author

@mikebuss Can you please check?

@mikebuss
Copy link
Owner

Hi @imvasim777. This library is not actively maintained. If you are experiencing issues with it, I would recommend using Apple’s AVFoundation framework directly, which MTBBarcodeScanner is built on top of.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants