Skip to content

Commit

Permalink
Release version 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Team Mobile Schorsch committed May 31, 2023
1 parent 2a1a059 commit 2a2e91b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down
4 changes: 1 addition & 3 deletions Sources/GiniCaptureSDKPinning/GiniCapture+Pinning.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Created by Nadya Karaban on 29.10.21.
//

public let GiniCaptureSDKPinningVersion = "1.13.0"
public let GiniCaptureSDKPinningVersion = "3.1.1"

0 comments on commit 2a2e91b

Please sign in to comment.