BlinkID / blinkid-flutter

ID scanning plugins for cross-platform apps built with Flutter.
80 stars 23 forks source link

Implementation for ios : not found object signResult, digitalSignature and digitalSignatureVersion #30

Closed mohachouch closed 1 year ago

mohachouch commented 2 years ago

Hello,

I try Blink on ios with flutter but I have the following errors :

[/Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:46:24](): error: property 'signResult' not found on object of type 'MBUsdlCombinedRecognizer ' [/Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:74:39](): error: property 'digitalSignature' not found on object of type 'MBUsdlCombinedRecognizerResult ' [/Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:75:74](): error: property 'digitalSignatureVersion' not found on object of type 'MBUsdlCombinedRecognizerResult *'

Thanks for your assistance

mparadina commented 2 years ago

Hi @mohachouch

Would you mind sharing the steps on how did you reproduce the mentioned exception?

Was the issue reproduced with our sample application, or when you tried to integrate the plugin into your project? Also, was the issue reproduced with the current latest version (v5.15)?

Regards, Milan

mohachouch commented 2 years ago

Thanks @mparadina for your response :

I integrated the tool in my application.

I use the following versions:

iOS Target 13 flutter 2.8.1 blinkid_flutter 5.15.1

Thanks

mohachouch commented 2 years ago

@mparadina The error is because of the new version 5.15.1, I forced the version to 5.15.0 and the compilation is ok.

image

volvicoasis commented 2 years ago

Hello, v5.15.0 is retracted from pub.dev, and v5.15.1 is not compiling (see logs above). Remarks pretty same same symptoms as @mohachouch, can you provide support, we can't build our product anymore. I precise that we have a valid licence (p42 company). We need last version wich include last id cards.

error.txt

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.2 20G95 darwin-x64, locale en-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)

mohachouch commented 2 years ago

@volvicoasis You can force the version of blink 5.15.0 in the podspec

image

volvicoasis commented 2 years ago

Thx dude @mohachouch , we use in our Podfile => pod 'PPBlinkID', '5.15.0'

anjapenic commented 2 years ago

Hi @volvicoasis,

Just to confirm, did @mohachouch's suggested solution solve the issue?

Regards, Anja

volvicoasis commented 2 years ago

Hello, yes, it is working in order to compile. But we are not happy at all. First this morning we understood that our contract will be more expensive for this year. Second we need the last version in order to manage a new id card from France.Please, try on your side with flutter 2.8.1 and the last version of v5.15.1 on ios. You will see that specifying podspec is not a good solution at all since we dont have new features.

KR, Jacques

anjapenic commented 2 years ago

Hi @volvicoasis,

We've added support for the new France ID in v5.15.0, so there should be no issues with that document when using v5.15.0. If you're experiencing any issues regarding the new France ID, please let us know so we could check it out. There were no major changes between v5.15.0 and v5.15.1, we've only updated our newly rebranded logo.

We're aware of the issue with BlinkID Flutter v5.15.1 and are working towards fixing it in v5.16.0. In the meantime, please use v5.15.0 and let us know if you encounter any issues.

Best regards, Anja

dev4jam commented 2 years ago

I have the same issue on both v5.15.0 and v5.15.1. Try to add and remove this plugin. Clean up the project. But still the same issue:

` Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

Semantic Issue (Xcode): Property 'signResult' not found on object of type 'MBUsdlCombinedRecognizer *' [/Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:45:23]()

Semantic Issue (Xcode): Property 'digitalSignature' not found on object of type 'MBUsdlCombinedRecognizerResult *' [/Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:73:38]()

Semantic Issue (Xcode): Property 'digitalSignatureVersion' not found on object of type 'MBUsdlCombinedRecognizerResult *' [/Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:74:73]() `

mohachouch commented 2 years ago

@dev4jam I think you update the pub file. Force the version in the iOS podfile.