Skip to content

Unable to use IdRecognizer with USDL #50

Description

@christinachimi

I am trying to update to 6.x but so far unable to. The USDL recognizer doesn't seem to work anymore (filed separate issue for that), so I thought I could use the IdBarcodeRecognizer. I'm not able to get that to work, due to this error

flutter: type '_Map<String, dynamic>' is not a subtype of type 'BarcodeElements?'
flutter:
#0      new IdBarcodeRecognizerResult
id_barcode_recognizer.dart:172
#1      IdBarcodeRecognizer.createResultFromNative
id_barcode_recognizer.dart:226
#2      MicroblinkScanner.scanWithCamera
microblink_scanner.dart:42
<asynchronous suspension>

I think you need a BarcodeElements(nativeResult["extendedElements"]) in the IdBarcodeRecognizerResult constructor.

Is there any way to get a patch change like this fast-tracked? I'm currently blocked on this update. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions