Skip to content

Commit

Permalink
Merge pull request #399 from onfido/release/30.4.0
Browse files Browse the repository at this point in the history
Release 30.4.0
  • Loading branch information
onfido-ios-release authored Jul 25, 2024
2 parents e5fb1dd + 84a3269 commit a458f84
Show file tree
Hide file tree
Showing 52 changed files with 1,380 additions and 1,369 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

**Note**: If the strings translations change it will result in a MINOR version change, therefore you are responsible for testing your translated layout in case you are using custom translations. [More on language localisation](README.md#language-customisation)

## [30.4.0] - 2024-07-18

### Added

- Added support for electronic ID verification (eID)
- Added a fallback for any unsupported Studio task to fallback to as a capture module
- Added support for Spanish Dominican Republic language (es_DO)

## [30.3.0] - 2024-06-28

### Added
Expand Down
31 changes: 16 additions & 15 deletions ONFIDO_STUDIO.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
## Overview
[Onfido Studio](https://documentation.onfido.com/getting-started/onfido-studio-product) is a drag and drop interface enabling you to build an optimised route to verify each end user, by defining and configuring different paths, as well as incorporating a combination of signals, in a single identity verification flow.

## Integrating with iOS SDK
The Onfido iOS SDK provides a drop-in set of screens and tools for iOS applications to capture identity documents and selfie photos and videos for the purpose of identity verification.
## Integrating with iOS SDK

The Onfido iOS SDK provides a drop-in set of screens and tools for iOS applications to capture identity documents and selfie photos and videos for the purpose of identity verification.

The SDK communicates directly and dynamically with active workflows to show the relevant screens to ensure the correct capture and upload of user information. As a result, the SDK flow will vary depending on the workflow configuration. You won't need to specify any steps directly in the SDK integration as these will be overridden when the workflow run ID is passed into the SDK initialisation.

> ℹ️
>
> ℹ️
>
> The following guide will help you to integrate with Onfido Studio.
> If you are looking for the standard integration using Onfido checks, please head to our [iOS reference](https://documentation.onfido.com/sdk/ios).
## Getting started
## Getting started

The SDK supports:

* iOS 11+
* SDK supports Xcode 14+\*
* SDK supports following presentation styles:
- iOS 13+
- SDK supports Xcode 15+\*
- SDK supports following presentation styles:
- Only full screen style for iPhones
- Full screen and form sheet styles for iPads

Expand All @@ -29,7 +30,7 @@ The SDK is available with Swift Package Manager and you can include it in your p

```swift
dependencies: [
.package(url: "https://github.com/onfido/onfido-ios-sdk.git", .branch("master"))
.package(url: "https://github.com/onfido/onfido-ios-sdk.git", .branch("master"))
]
```

Expand All @@ -51,7 +52,7 @@ To initiaise the SDK, you must provide a `workflowRunId`, obtained by [creating

```swift
let workflowConfiguration = WorkflowConfiguration(workflowRunId: "workflowRunId", sdkToken: "sdkToken")
```
```

#### Objective-C

Expand All @@ -68,7 +69,7 @@ let onfidoRun = OnfidoFlow(workflowConfiguration: orchestrationConfig)
let flowViewController = try onfidoRun.run()
yourViewController.present(flowViewController, animated: true, completion: nil)
// listen for the result
```
```

#### Objective-C

Expand All @@ -84,11 +85,11 @@ if (!flowRunError) {
completion:nil];
}
// listen for the result
```
```
## Handling callbacks
To receive the result from a completed workflow, you should pass a callback to the instance of `OnfidoFlow`. The following code is provided as an example:
To receive the result from a completed workflow, you should pass a callback to the instance of `OnfidoFlow`. The following code is provided as an example:
```swift
onfidoRun.with(responseHandler: { (response: OnfidoResponse) in
Expand All @@ -105,7 +106,7 @@ onfidoRun.with(responseHandler: { (response: OnfidoResponse) in
print(error)
}
}, dismissFlowOnCompletion: true)
}, dismissFlowOnCompletion: true)
// Dismiss the whole flow when the user completes it, and return back to the integrator view.
```

Expand Down Expand Up @@ -215,4 +216,4 @@ let workflowConfiguration = WorkflowConfiguration(workflowRunId: "workflowRunId"
workflowConfiguration.withCustomLocalization(withTableName: "Localizable.strings", in: Bundle.main)
```

You can find more information on how to use a custom language [here](https://documentation.onfido.com/sdk/ios/#custom-languages).
You can find more information on how to use a custom language [here](https://documentation.onfido.com/sdk/ios/#custom-languages).
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ let package = Package(

.binaryTarget(
name: "Onfido",
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v30.3.0.zip",
checksum: "3ad4e356ad4ceb30e459f83bb89d09294a53e96b313236e65d9369a1870e67ff"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v30.4.0.zip",
checksum: "06a1b4dce217d05f7abb9f1294275fba63dbeb86f81a16f4011e71a25a010536"
),


Expand Down
Loading

0 comments on commit a458f84

Please sign in to comment.