Skip to content
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

Crash on iOS Simulator: Unexpectedly found nil #159

Open
azhar-ba opened this issue Dec 16, 2020 · 0 comments
Open

Crash on iOS Simulator: Unexpectedly found nil #159

azhar-ba opened this issue Dec 16, 2020 · 0 comments

Comments

@azhar-ba
Copy link

Crash when running 1.0.2 on Simulator (iPhone 12 Pro):

Unexpectedly found nil while unwrapping an Optional value: file qr_mobile_vision/QrReader.swift, line 138

Flutter doctor:

[✓] Flutter (Channel master, 1.24.0-8.0.pre.17, on macOS 11.1 20C69 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] Connected device (4 available)

• No issues found!

Expected behaviour:

The simulators have no camera support so an error is expected. An error returned from the onError callback would be ideal.

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

No branches or pull requests

2 participants