mobile_scanner icon indicating copy to clipboard operation
mobile_scanner copied to clipboard

Recognation local picture error

Open xiaowei4554 opened this issue 2 years ago • 2 comments
trafficstars

hello.I used mobile_scanner in my project and I just want to recognition a barcode form my local picture, and there is an error occure.It can't work, there is an error code:_CastError (type '_Map<Object?, Object?>' is not a subtype of type 'List' in type cast). It in file of mobile_scanner_controller.dart at line 338.It worked with camera scan.And then I download your demo and run it. The same error occurred, I just want to know whether the return types of scan results obtained by these two methods are consistent,If not, please tell me the solution

xiaowei4554 avatar Feb 15 '23 12:02 xiaowei4554

Following - Facing same issue

loic-hamdi avatar Feb 15 '23 17:02 loic-hamdi

@xiaowei4554 Do you have a local sample to test with? Maybe there is indeed a case where the dat that we get back is not converted correctly.

navaronbracke avatar Mar 05 '24 11:03 navaronbracke