regulaforensics / DocumentReader-iOS

iOS Framework for reading and validation of identification documents
58 stars 15 forks source link

prepareDatabase crash in 5.0.531 #26

Closed ievgenleichenko closed 4 years ago

ievgenleichenko commented 4 years ago

Hello,

The code that has been working before started crashing after update to 5.0.531.

Pods and their current versions:

DocumentReader - 5.0.531
DocumentReaderOCR - 5.0.1109

Crashing code:

documentReader.prepareDatabase(databaseID: "Full") { _, error in
            completion(error)
}

Error:

PassportScan_xcworkspace

Console output:

DocumentReader was compiled with optimization - stepping may behave oddly; variables may not be available.

Optimization is turned off for debug configuration. App is launched on simulator.

vyakimchik commented 4 years ago

Hello. The app crashes due to missed progressHandler. It'll be fixed in the next version of the SDK.

vyakimchik commented 4 years ago

Hello. We published the new version (5.1) where the issue was fixed.