juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples not functional anymore

Telly86 opened this issue · comments

Except for barcode_scanner_simple and barcode_scanner_pageview all examples give me the error:

'Generic Error: The scanner already started. Call stop() before calling start() again.'

I see what the problem is.
When we reverted the change to autoStart, the examples were not updated to use autoStart: false while they all use manual starts of the controller.

cc @juliansteenbakker

Example does not work at all after hot restart app, or close and open page again. Camera just do not shown but still can scan bar code.