Skip to content

Commit

Permalink
Merge pull request #22 from getyoti/release/DEP-492-5.1.2
Browse files Browse the repository at this point in the history
[Release] DEP-492: v5.1.2
  • Loading branch information
asklausen authored May 13, 2024
2 parents c2287b7 + c50b710 commit 217692f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# ChangeLog

## Version 5.1.2

Adds support for Swift Package Manager.

## Version 5.1.1

Fixes [#20](https://github.com/getyoti/yoti-face-capture-ios/issues/20).

## Version 5.1.0

Enabled landscape modes
Enabled landscape modes.

## Version 5.0.1

Expand Down
17 changes: 17 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// swift-tools-version: 5.5

import PackageDescription

let package = Package(
name: "YotiFaceCapture",
products: [
.library(name: "YotiFaceCapture", targets: ["YotiFaceCapture"]),
],
targets: [
.binaryTarget(
name: "YotiFaceCapture",
url: "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.2/YotiFaceCapture.zip",
checksum: "ad8fa97c5f4e24ee87dd6670b4c7c82c2724802b71c8ecf5a39d090cbc3164ac"
)
]
)
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ YotiFaceCapture provides a simplified way of capturing a face. It performs face
- ~75KB • YotiFaceCapture uses native APIs for feature detection and image processing, thus keeping our library small

## Installation
Make sure you've installed and are running the latest version of:
- [CocoaPods](https://guides.cocoapods.org/using/getting-started.html) (Optional)
- [Carthage](https://github.com/Carthage/Carthage) (Optional)
### Swift Package Manager
Add the following line to your `Package.swift` file:
```swift
.package(url: "https://github.com/getyoti/yoti-face-capture-ios.git", from: "5.0.0")
```
...or add our package in Xcode via `File -> Swift Packages -> Add Package Dependency...` using the URL of this repository.

### CocoaPods
Add the following to your [`Podfile`](https://guides.cocoapods.org/using/the-podfile.html) and run `pod install` from its directory:
Expand Down Expand Up @@ -162,5 +165,4 @@ case environmentTooDark
```

## Support
If you have any other questions please do not hesitate to contact us here: https://support.yoti.com
Once we have answered your question we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail us.
For any questions or support please contact us [here](https://support.yoti.com). Once we have answered your question, we may contact you again to discuss Yoti products and services. If you'd prefer us not to do this, please let us know when you e-mail.
2 changes: 2 additions & 0 deletions Specs/Carthage/YotiFaceCapture.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
"5.0.0": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.0.0/YotiFaceCapture.zip",
"5.0.1": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.0.1/YotiFaceCapture.zip",
"5.1.0": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.0/YotiFaceCapture.zip",
"5.1.1": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.1/YotiFaceCapture.zip",
"5.1.2": "https://github.com/getyoti/yoti-face-capture-ios/releases/download/v5.1.2/YotiFaceCapture.zip",
}

0 comments on commit 217692f

Please sign in to comment.