From 2a2e91b1f83655d9bef019bde138d9de62ac5713 Mon Sep 17 00:00:00 2001 From: Team Mobile Schorsch Date: Wed, 31 May 2023 15:34:50 +0000 Subject: [PATCH] Release version 3.1.1 --- Package.swift | 4 ++-- README.md | 13 ++++--------- .../GiniCaptureSDKPinning/GiniCapture+Pinning.swift | 4 +--- .../GiniCaptureSDKPinningVersion.swift | 2 +- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Package.swift b/Package.swift index 1a7599e..72e59cd 100644 --- a/Package.swift +++ b/Package.swift @@ -16,8 +16,8 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(name: "GiniBankAPILibraryPinning", url: "https://github.com/gini/bank-api-library-pinning-ios.git", .exact("1.5.0")), - .package(name: "GiniCaptureSDK", url: "https://github.com/gini/capture-sdk-ios.git", .exact("1.13.0")), + .package(name: "GiniBankAPILibraryPinning", url: "https://github.com/gini/bank-api-library-pinning-ios.git", .exact("3.1.0")), + .package(name: "GiniCaptureSDK", url: "https://github.com/gini/capture-sdk-ios.git", .exact("3.1.1")), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/README.md b/README.md index dc93b12..1da94e7 100644 --- a/README.md +++ b/README.md @@ -9,24 +9,19 @@ [![Swift version](https://img.shields.io/badge/swift-5.0-orange.svg)]() [![Swift package manager](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)]() - The Gini Capture SDK Pinning provides components for capturing, reviewing and analyzing photos of invoices and remittance slips. The sdk supports certificate pinning. -By integrating this sdk into your application you can allow your users to easily take a picture of a document, review it and get analysis results from the Gini backend. +By integrating this SDK into your application you can allow your users to easily take a picture of a document, review it and getting analysis results from the Gini backend. -The Gini Capture SDK Pinning can be integrated in two ways, either by using the *Screen API* or the *Component API*. In the Screen API we provide pre-defined screens that can be customized in a limited way. The screen and configuration design is based on our long-lasting experience with integration in customer apps. In the Component API, we provide independent views so you can design your own application as you wish. We strongly recommend keeping in mind our UI/UX guidelines, however. +We provide pre-defined screens that can be customized in a limited way. The screen and configuration design is based on our long-lasting experience with integration in customer apps. -On *iPhone*, the Gini Capture SDK Pinning has been designed for portrait orientation. In the Screen API, orientation is automatically forced to portrait when being displayed. In case you use the Component API, you should limit the view controllers orientation hosting the Component API's views to portrait orientation. This is specifically true for the camera view. +On *iPhone*, the Gini Capture SDK has been designed for portrait orientation. +On *iPad* we support portrait and landscape orientations. ## Documentation Further documentation with installation, integration or customization guides can be found in our [website](https://developer.gini.net/gini-mobile-ios/GiniCaptureSDK/). -## Example - -We are providing example apps for Swift. These apps demonstrate how to integrate the Gini Capture SDK Pinning with the Screen API and Component API. To run the example project, clone the repo and run `pod install` from the Example directory first. -To inject your API credentials into the Example app, just add to the Example directory the `Credentials.plist` file. - ## Requirements - iOS 12+ diff --git a/Sources/GiniCaptureSDKPinning/GiniCapture+Pinning.swift b/Sources/GiniCaptureSDKPinning/GiniCapture+Pinning.swift index f59f5e0..a7197a8 100644 --- a/Sources/GiniCaptureSDKPinning/GiniCapture+Pinning.swift +++ b/Sources/GiniCaptureSDKPinning/GiniCapture+Pinning.swift @@ -23,9 +23,7 @@ extension GiniCapture { There should be either images or one PDF, and they should be validated before calling this method. - parameter resultsDelegate: Results delegate object where you can get the results of the analysis. - parameter publicKeyPinningConfig: Public key pinning configuration. - - - note: Screen API only. - + - returns: A presentable view controller. */ diff --git a/Sources/GiniCaptureSDKPinning/GiniCaptureSDKPinningVersion.swift b/Sources/GiniCaptureSDKPinning/GiniCaptureSDKPinningVersion.swift index 67158d0..c92fe88 100644 --- a/Sources/GiniCaptureSDKPinning/GiniCaptureSDKPinningVersion.swift +++ b/Sources/GiniCaptureSDKPinning/GiniCaptureSDKPinningVersion.swift @@ -5,4 +5,4 @@ // Created by Nadya Karaban on 29.10.21. // -public let GiniCaptureSDKPinningVersion = "1.13.0" +public let GiniCaptureSDKPinningVersion = "3.1.1"