Versions Compared

Key

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

Status

Status
colourYellowGreen
titlefor reviewapproved

Approver

Nadzeya Karaban

To use the capture flow, do the following:

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

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

  3. Present the UIViewController. You can find the example here.

  4. Handle the extraction results.
    For handling the extraction results you need to implement GiniCaptureResultsDelegate. Here you can find the implementation example.

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

...

The diagram below shows the interaction between your app and the SDK:

Drawio
lbox
mVer2
simple0
zoom1
simple0
inComment0
pageId11796779
custContentId122882181
diagramDisplayNameUntitled Diagram-1683895916012.drawio
lbox1
contentVer12
revision12
baseUrlhttps://gini.atlassian.net/wiki
diagramNameUntitled Diagram-1683895916012.drawio
pCenter0
width862
links
tbstyle
height379.5