You can also provide your own networking by implementing the GiniCaptureNetworkService
and GiniCaptureResultsDelegate
protocols. Pass your instances to the UIViewController
initializer of GiniCapture
as shown below.
let viewController = GiniCapture.viewController(importedDocuments: visionDocuments, configuration: visionConfiguration, resultsDelegate: resultsDelegate, documentMetadata: documentMetadata, trackingDelegate: trackingDelegate, networkingService: networkingService) present(viewController, animated: true, completion: nil)
You may also use Gini Bank API Library or implement the communication with Gini Bank API yourself.