Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourGreen
titleapproved

Approver

Nadzeya Karaban

To use the capture flow, do the followingIn order to launch Gini Capture SDK, follow these steps:

  1. Request camera access via configuring Info.plist in your project.

  2. Configure GiniBankConfiguration.shared. The Here is an implementation example can be found here.

  3. Present the UIViewController. You can find the example here Here is an example.

  4. Handle the extraction results .
    For handling the extraction results you need to implement GiniCaptureResultsDelegate. Further below you can find by implementing GiniCaptureResultsDelegate. There are more details about the delegate methods below and here you can find the is an implementation example.

  5. Cleanup configuration and resources while also providing the required extraction feedback to improve future extraction accuracy. Follow the recommendations below:

...

Code Block
languageswift
   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 an example app to see what an integration could look like.

...

Drawio
mVer2
zoom1
simple0
inComment0
custContentId12288218
pageId11796779
lbox1
diagramDisplayNameUntitled Diagram-1683895916012.drawio
contentVer3
revision3
baseUrlhttps://gini.atlassian.net/wiki
diagramNameUntitled Diagram-1683895916012.drawio
pCenter0
width860
links
tbstyle
height379.5

The Gini Capture SDK can return returns one of results by invoking the following GiniCaptureResultsDelegate methods:

...