Getting started

Requirements

  • The minimum iOS version supported 12+.

In addition to the minimum iOS version we also have hardware requirements to ensure the best possible analysis results:

  • Back-facing camera with auto-focus and flash (iPhone).
  • 8MP+ camera resolution. You can find the specification here

Installation

Gini Capture SDK can either be installed by using Swift Package Manager or by manually dragging the required XCFrameworks to your project.

Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. Once you have your Swift package set up, adding GiniCaptureSDK as a dependency is as easy as adding it to the dependencies value of your Package.swift

dependencies: [
    .package(url: "https://github.com/gini/capture-sdk-ios.git", .exact("3.2.0"))
]

In case that you want to use the certificate pinning in the library, add GiniCaptureSDKPinning:

dependencies: [
    .package(url: "https://github.com/gini/capture-sdk-pinning-ios.git", .exact("3.2.0"))
]

XCFrameworks

If you prefer not to use a dependency management tool, you can integrate the Gini Capture SDK into your project manually. To do so add the following frameworks into your project:

  • GiniBankAPILibrary.xcframework
  • GiniCaptureSDK.xcframework.

In case that you want to use the certificate pinning you need to add the following frameworks:

  • GiniBankAPILibrary.xcframework
  • GiniBankAPILibraryPinning.xcframework
  • GiniCaptureSDK.xcframework
  • GiniCaptureSDKPinning.xcframework
  • TrustKit.xcframework

The latest version of the frameworks is available on github.