Versions Compared

Key

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

Status

Status
colourYellow
titleto be reviewedin review

Approver

Nadzeya Karaban

Gini Capture SDK provides various features you can enable. All of them are configured through GiniConfiguration.shared instance. Specifically, the GiniConfiguration is used to configure the Gini Capture SDK. For Gini Capture SDK used GiniConfiguration.shared() singleton.

...

The GiniConfiguration class allows customizations to the enables customization of Gini Capture SDK’s look and feel of Gini Capture SDK. If there are limitations regarding which API can be used, this is clearly stated for the specific attribute.

...

Info

If there are conflicting pairs of image and text for an interface element (e.g. for example, navigationBarCameraTitleCloseButton) the image will always be preferred, while making sure the accessibility label is set.

...

Expand
titlebottomNavigationBarEnabled

Enable/disable deactivate the bottom navigation bar.

Code Block
languageswift
public var bottomNavigationBarEnabled: Bool

...

Expand
titlenavigationBarReviewTitleBackButton

Sets the back button text in the navigation bar on the review screen. Use this if you only want to show the title.

Code Block
languageswift
@objc
public var navigationBarReviewTitleBackButton: String
Expand
titlenavigationBarReviewTitleCloseButton

Sets the close button text in the navigation bar on the review screen. Use this if you only want to show the title.

Code Block
languageswift
@objc
public var navigationBarReviewTitleCloseButton: String
Expand
titlenavigationBarReviewTitleContinueButton

Sets the continue button text in the navigation bar on the review screen.

Code Block
languageswift
@objc
public var navigationBarReviewTitleContinueButton: String

...

Expand
titlebackToCameraButtonResource
Code Block
languageswift
@objc
public var backToCameraButtonResource: PreferredButtonResource?
Expand
titlebackToMenuButtonResource
Code Block
languageswift
@objc
public var backToMenuButtonResource: PreferredButtonResource?
Expand
titlenextButtonResource
Code Block
languageswift
@objc
public var nextButtonResource: PreferredButtonResource?

...

Expand
titleupdateFont(_:for:)

Allows setting Enables customization of a custom font for specific text styles. The change will affect affects all screens where a specific text style was is used.

Code Block
languageswift
public func updateFont(_ font: UIFont, for textStyle: UIFont.TextStyle)

Parameters

font

Font that is going to be assosiated with specific text style. You can use scaled font or scale your font with our util method UIFont.scaledFont(_ font: UIFont, textStyle: UIFont.TextStyle)

textStyle

Constants that describe the preferred styles for fonts. Please, find additional information here

Expand
titlecleanup(paymentRecipient:paymentReference:paymentPurpose:iban:bic:amountToPay:)

Functions for clean up

Code Block
languageswift
public func cleanup(paymentRecipient: String,
                    paymentReference: String,
                    paymentPurpose: String,
                    iban: String,
                    bic: String,
                    amountToPay: ExtractionAmount)

Parameters

paymentRecipient

paymentRecipient description

paymentReference

paymentReference description

iban

iban description

bic

bic description

amountToPay

amountToPay description

Here you can find Find an example implementation here.