Skip to content

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 argument cameraMode:YES, now use the new method recognizeVideoFrame:completion:
  • Removed deprecated method showScanner:completion: Use the new method showScannerFromPresenter:config:completion: instead.

RGLRFIDSessionData

  • Removed deprecated property sessionDataStatus. Use the DocumentReaderResults's property status.detailsRFID instead.

RGLDocumentReaderResults

  • Removed deprecated property overallResult. Use status.overallStatus instead.

RGLDocumentReaderValue

  • Removed deprecated property validity. Use RGLDocumentReaderTextField's property validityList instead.
  • Removed deprecated property comparision. Use RGLDocumentReaderTextField's property comparisonList instead.

RGLRFIDScenario

  • Removed property reprocParams. Use RGLBackendProcessingConfig's property rfidServerSideChipVerfification instead.

Additional Resources