-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal Exception: NSInvalidArgumentException #1297
Comments
What version of On the dev branch (so anything that is a version 7.0.0 beta) we do catch said error: On the current 6.0.x branch, we also catch said error and forward it. See https://github.com/juliansteenbakker/mobile_scanner/blob/master/ios/Classes/MobileScanner.swift#L229-L234 |
Hmm, maybe we should guard this with https://developer.apple.com/documentation/avfoundation/avcapturesession/canaddinput(_:) Worth investigating, though. |
Hey @navaronbracke, sorry forgot to actually mention the library version. The version that reported this issue to Crashlytics is 6.0.1. If you guys are handling this issue, awesome. 🙌 |
The bug itself might be tricky to reproduce, but I think that Apple's guidance on the API is what we should follow to fix it. I'll look into fixing it for an upcoming release shortly (will be OOO for the rest of the day though) |
@vlazdra I did put up a fix for this issue, so you can expect this in an upcoming release, pending potential cherry picks to |
@navaronbracke Awesome to hear that. Thank you for the effort! 🙌 |
Hi, I'm getting this crash report in Crashlytics. There aren't that many events, so just sharing if it's of any value to maybe take a look.
Device data
The text was updated successfully, but these errors were encountered: