Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
To use the capture flow, do the following:
Request camera access via configuring
Info.plist
in your project.Configure
GiniBankConfiguration.shared
. The implementation example can be found here.Present the
UIViewController
. You can find the example here.Handle the extraction results.
For handling the extraction results you need to implementGiniCaptureResultsDelegate
. Here you can find the implementation example.Cleanup configuration and resources while also providing the required extraction feedback to improve future extraction accuracy. You don’t need to implement any extra steps, just follow the recommendations below:
...
Code Block | ||
---|---|---|
| ||
GiniBankConfiguration.shared.cleanup(paymentRecipient: "Payment Recipient", paymentReference: "Payment Reference", paymentPurpose: "Payment Purpose", iban: "IBAN", bic: "BIC", amountToPay: ExtractionAmount(value: 10.242, currency: .EUR)) |
Check out the example app to see what an integration could look like.
...
The diagram below shows the interaction between your app and the SDK:
Drawio | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|