|
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 Gini Capture SDK. For Gini Capture SDK used GiniConfiguration.shared()
singleton.
@objc public final class GiniConfiguration : NSObject |
The GiniConfiguration
class enables customization of Gini Capture SDK’s look and feel. If there are limitations regarding which API can be used, this is clearly stated for the specific attribute.
Text can also be set by using the appropriate keys in a Localizable.strings
file in the projects bundle. The library will prefer whatever value is set in the following order: attribute in configuration, key in strings file in project bundle, key in strings file in GiniCapture
bundle.
Text can also be set by using the appropriate keys in a Localizable.strings
file in the projects bundle. The library will prefer whatever value is set in the following order: attribute in configuration, key in strings file in project bundle, key in strings file in GiniCapture
bundle.
Images can only be set by providing images with the same filename in an assets file or as individual files in the projects bundle. The library will prefer whatever value is set in the following order: asset file in project bundle, asset file in GiniCapture
bundle.
Images can only be set by providing images with the same filename in an assets file or as individual files in the projects bundle. The library will prefer whatever value is set in the following order: asset file in project bundle, asset file in GiniCapture
bundle.
If there are conflicting pairs of image and text for an interface element (e.g. |
Makes configuration internally accessible in all classes of Gini Capture SDK.
|
Supported document types by Gini Capture SDK.
|
Sets custom validations that can be done apart from the default ones (file size, file type…). It should throw a
|
|
|
|
|
|
Sets the color of the loading indicator on the camera screen to the specified color.
|
Set the types supported by the file import feature.
|
Indicates whether the flash toggle should be shown on the camera screen.
|
When the flash toggle is enabled, this flag indicates if the flash is on by default.
|
Sets the close button text in the navigation bar on the camera screen.
|
Sets the help button text in the navigation bar on the camera screen.
|
Sets the continue button text in the navigation bar on the onboarding screen.
|
Indicates whether the onboarding screen should be presented at each start of Gini Capture SDK
|
Indicates whether the onboarding screen should be presented at the first start of the Gini Capture SDK. It is advised to do so. Overwrites Overwrites
|
Sets custom onboarding pages. For your convenience we provide the For your convenience we provide the
|
Enable/deactivate the bottom navigation bar.
|
Set an adapter implementation to show a custom bottom navigation bar on the help screens.
|
Set an adapter implementation to show a custom bottom navigation bar on the camera screen.
|
Set an adapter implementation to show a custom bottom navigation bar on the review screen.
|
Set an adapter implementation to show a custom bottom navigation bar on the image picker screen.
|
Set an adapter implementation to show a custom bottom navigation bar on the onboarding screen.
|
Set an adapter implementation to show a custom illustration on the “align corners” onboarding page.
|
Set an adapter implementation to show a custom illustration on the “lighting” onboarding page.
|
Set an adapter implementation to show a custom illustration on the “multi-page” onboarding page.
|
Set an adapter implementation to show a custom illustration on the “QR code” onboarding page.
|
Set an adapter implementation to show a custom loading indicator on the document analysis screen.
|
Set an adapter implementation to show a custom loading indicator on the buttons which support loading.
|
Sets the back button text in the navigation bar on the review screen. Use this if you only want to show the title.
|
Sets the close button text in the navigation bar on the review screen. Use this if you only want to show the title.
|
Sets the continue button text in the navigation bar on the review screen.
|
Sets the back button text in the navigation bar on the analysis screen. Use this if you only want to show the title.
|
Sets the back button text in the navigation bar on the help menu screen. Use this if you only want to show the title.
|
Sets the back button text in the navigation bar on the help screen. Use this if you only want to show the title.
|
Indicates whether the supported format screens should be shown. In case of
|
Sets the text of the app name for the Open with tutorial texts.
|
Sets if the Drag&Drop step should be shown in the Open with tutorial.
|
Set an array of additional custom help menu items . Those items will be presented as table view cells on the help menu screen. By selecting the cell the user will be redirected to the page, which represented by viewController provided by customer during the
|
Sets if the default error logging implementation is on.
|
Sets if the custom error logging is implemented.
|
Should be set if the default name “Localizable.strings” are not used.
|
|
|
|
|
|
|
Enables customization of a font for specific text styles. The change affects all screens where a specific text style is used.
Parameters
|
Functions for clean up
Parameters
|
Find an example implementation here.