Closed grahaisw closed 2 years ago
Hello,
Thanks for reporting.
You can have a look at our demo project, and at the migration guide of native Android to find out which changes were made and apply them to your code.
If any help in migration is needed that isn't covered in the links above, please let us know. We'll be glad to help you.
Hi thank you for your replied, i have solved this issue and it's purely my mistake.
But i have found another issue, but i will close this one and write another.
Hi, can you help me, I have some issue on Android 12 when using this SDK with Flutter.
Actually I have no issue for using this SDK version 5.3.0 until Android 11, but there is some issue on Android 12, that my app was force close after scanning MRZ on e-passport.
So I tried to upgrade this SDK "flutter_document_reader_api" on "pubspec.yaml" (have tried from 5.7.0 to 6.4.0 version) and realized i need to change a little bit of my code because this migration version like below :
Scenario scenario = Scenario.fromJson...
into
DocumentReaderScenario scenario = DocumentReaderScenario.fromJson...
But after I applied the codes above, now the MRZ scanner have issue like below :
The errors above happened after I finish scan the MRZ on e-passport for Android version 12 and below.
So is there any code that I need to change or adjust for this migrate version?or is there any solution for using this SDK on Android 12?
Thank you and please let me know if you need any additional information about this issue.