Migration Guide: From 6.x To 7.x
From v7.1 To v7.2
RGLScannerConfig
Scenario
is now the required parameter for ScannerConfig
object. See the examples below.
Before release 7.2:
let config = DocReader.ScannerConfig()
Starting from release 7.2:
let config = DocReader.ScannerConfig(scenario: RGL_SCENARIO_FULL_AUTH)
From v6.9 To v7.1
Warning
All items that were marked as deprecated
by the time of release 7.1 are now removed. This applies to classes, interfaces, fields, methods, etc. If you're still using any of them, consider the current alternatives. See details below.
RGLDocReader
- Removed deprecated methods:
[recognizeImage:completion:]
[recognizeImages:completion:]
[recognizeImagesWithImageInputs:completion:]
[recognizeData:completion:]
[recognizeImageFromPresenter:image:completion:]
[recognizeImage:cameraMode:completion:]
Use the new method recognizeWithConfig:completion:
instead.
- Instead of using the method
[recognizeImage:cameraMode:completion:]
with the argumentcameraMode:YES
, now use the new methodrecognizeVideoFrame:completion:
- Removed deprecated method
showScanner:completion:
Use the new methodshowScannerFromPresenter:config:completion:
instead.
RGLRFIDSessionData
- Removed deprecated property
sessionDataStatus
. Use theDocumentReaderResults
's propertystatus.detailsRFID
instead.
RGLDocumentReaderResults
- Removed deprecated property
overallResult
. Usestatus.overallStatus
instead.
RGLDocumentReaderValue
- Removed deprecated property
validity
. UseRGLDocumentReaderTextField
's propertyvalidityList
instead. - Removed deprecated property
comparision
. UseRGLDocumentReaderTextField
's propertycomparisonList
instead.
RGLRFIDScenario
- Removed property
reprocParams
. UseRGLBackendProcessingConfig
's propertyrfidServerSideChipVerfification
instead.
Additional Resources
- For more information about the most current functionality, see iOS API Reference Documentation.