Skip to content

Commit

Permalink
Merge pull request #320 from onfido/release/26.0.0
Browse files Browse the repository at this point in the history
Release 26.0.0
  • Loading branch information
ivan-onfido authored Sep 6, 2022
2 parents d0d4f3b + c037703 commit f443d8b
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 60 deletions.
28 changes: 18 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,31 @@ 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)

## [25.2.0] - 2022-08-01
## [26.0.0] - 2022-08-10

### Added

- Public: Expose Enterprise Features through WorkflowConfig
- Public: Combined country and document type selection in one single screen (country first, document type second)
- Public: Set secondary button border color to equal secondaryTitleColor

### Fixed

- Public: Fix missing (Visa, Work permit, Generic) document types for customized withDocumentStep API
- Public: Fix crashing at end of the Orchestration flow in loading screen
- Public: Correct unable to add audio output when throws the missing media type connection
- UI: Fixed the issue which causes to show standard font despite custom font feature is enabled
- Public: Fixed wrong screen being displayed and no error being returned after microphone permission denied
- Public: Fix not possible to dismiss SDK after consent screen shown
- Public: Fix response handle doesn't fire in the iOS release 25.1.0

## [25.2.0] - 2022-07-22

### Added

- Public: Exposed Enterprise Features through WorkflowConfig

### Fixed

- Public: Fixed crashing at end of the Studio flow in loading screen
- Public: Fixed error message to give a more accurate reason to the user when there is a missing media type connection error
- UI: Fixed the issue which caused standard font to be shown even when the custom font feature was enabled
- Public: Fixed wrong screen being displayed and no error being returned after microphone permission denied
- Public: Fixed the issue where it was not possible to dismiss the SDK after the consent screen was shown
- Public: Fixed missing document types (Visa, Work permit, Generic) for customized `withDocumentStep` API

## [25.1.1] - 2022-07-13

### Added
Expand Down Expand Up @@ -66,7 +74,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- UI: Fixed the missing body label in the CaptureConfirmationScreen
- Public: NFC: Fixed the intro screen layout and user interaction
- Public: NFC: Fixed the intro screen layout and user interaction
- UI: Fixed iOS crashes on Obj-C interface

## [24.4.0] - 2022-03-03
Expand Down
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(
targets: [
.binaryTarget(
name: "Onfido",
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v25.2.0.zip",
checksum: "03f6cb00cba2bab02f8d5a7c670a346d160e82787298b41010ddaff9f340b8d3"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v26.0.0.zip",
checksum: "05aa8971072e8c8c7d84dbc8e07f8402a6160dc1655eaf29518feb4e94c03353"
)
]
)
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ After receiving the user data from the SDK, you can choose to create a check wit
Please see our [API documentation](https://documentation.onfido.com/#create-check) for more information on how to create a check.
## Customizing SDK
The iOS SDK has multiple customizable options. You can also read our [SDK customization guide](https://developers.onfido.com/guide/sdk-customization).
Expand Down Expand Up @@ -682,9 +683,9 @@ if (configError) {
#### Document step
In the Document step, a user can pick the type of document to capture and its issuing country before capturing it with their phone camera. Document selection and country selection are both optional screens. These screens will only show to the end user if specific options are not configured to the SDK.
In the Document step, a user can select the issuing country and document type before taking the photo. This selection screen is optional, and will only show to the end user if a specific country and document type is not configured for the SDK.
You can configure the Document step to capture single document types with specific properties.
You can configure the Document step to capture single document types with specific properties, as well as customize the screen to display only a limited list of document types:
- **Document type**
Expand All @@ -704,11 +705,11 @@ The following document types are supported:
**Note**: `Generic` document type doesn't offer an optimized capture experience for a desired document type.
**Note:** If only one document type is specified, users will not see the document selection screen or country selection screen and will be taken directly to the capture screen.
**Note:** If only one document type is specified, users will not see the selection screen and will be taken directly to the capture screen. Please see a more detailed guide [here](https://documentation.onfido.com/sdk/android/#document-capture-step) for Android, and [here](https://documentation.onfido.com/sdk/ios/#document-step) for iOS
- **Document country**
Country configuration allows you to specify the country of origin of the document. If a document country is specified for a document type the country selection screen is not displayed.
Country configuration allows you to specify the country of origin of the document. If issuing country is specified for a particular document type, the selection screen is not displayed.
You'll need to pass the corresponding [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) 3 letter country code to the SDK.
Expand Down Expand Up @@ -803,9 +804,9 @@ if (documentVariantError) {

```
- **Customize the document type selection screen**
- **Customize the issuing country and document type selection screen**
You can customize the screen to display a limited list of documents for a user to select from, using the configuration function to specify only the document types you want to show.
You can also customize the screen to display only a limited list of document types, using the configuration function to specify the ones you want to show.
⚠️ Currently you can only include `passport`, `identityCard`, `drivingLicence`, `residencePermit` in the list.
Expand Down Expand Up @@ -1011,6 +1012,7 @@ ONFlowConfig *config = [configBuilder buildAndReturnError:&configError];

```
### UI customization
The iOS SDK supports the customization of colors, fonts and strings used in the SDK flow. For visualizations of the available options please see our [SDK customization guide](https://developers.onfido.com/guide/sdk-customization#ios).
Expand Down Expand Up @@ -1053,7 +1055,7 @@ ONFlowConfigBuilder *configBuilder = [ONFlowConfig builder];
- `primaryColor`: Defines the icon background color, button color and back navigation button color
- `primaryTitleColor`: Defines the primary button text color
- `secondaryTitleColor`: Defines the secondary button text color
- `secondaryTitleColor`: Defines the secondary button text and border color
- `primaryBackgroundPressedColor`: Defines the primary button pressed state color
- `secondaryBackgroundPressedColor`: Defines the secondary button pressed state color
- `borderCornerRadius`: Defined border corner radius for all the buttons (default 5.0)
Expand Down Expand Up @@ -1245,8 +1247,8 @@ Check the following before you go live:
| User iOS Version | SDK Size Impact (MB) |
|------------------|-----------------------------------|
| 12.2 and above | 6.311|
| Below 12.2 | up to 6.311* or up to 15.669**|
| 12.2 and above | 6.343|
| Below 12.2 | up to 6.343* or up to 15.7**|
**\*** If the application is in Swift but doesn't include any Swift libraries that Onfido iOS SDK requires
Expand Down
2 changes: 1 addition & 1 deletion SampleApp/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '25.2.0'
pod 'Onfido', '26.0.0'
end

target 'SampleApp' do
Expand Down
2 changes: 1 addition & 1 deletion SampleAppObjC/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def setup_shared_pods
use_frameworks!
inhibit_all_warnings!

pod 'Onfido', '25.2.0'
pod 'Onfido', '26.0.0'
end

target 'SampleAppObjC' do
Expand Down
Binary file modified assets/Overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions localization/Localizable_DE.strings
Original file line number Diff line number Diff line change
Expand Up @@ -438,3 +438,12 @@
"onfido_doc_capture_frame_accessibility_pp_cover_manual" = "Ansicht der Kamera. Positionieren Sie das Deckblatt Ihres Dokuments im Rahmen und tippen Sie dann auf den Auslöser";
"onfido_welcome_list_header_doc_video" = "Nutzen Sie Ihr Gerät um Folgendes aufzunehmen:";
"onfido_welcome_list_item_face_generic" = "Scannen Sie Ihr Gesicht";
"onfido_doc_select_subtitle_country" = "Wählen Sie das ausstellende Land aus, um zu sehen, welche Dokumente wir akzeptieren";
"onfido_doc_select_section_header_country" = "Ausstellendes Land";
"onfido_doc_select_section_header_doc_type" = "Akzeptierte Dokumente";
"onfido_doc_select_section_input_country_not_found" = "";
"onfido_doc_select_subtitle_entire_page" = "Ganze Seite";
"onfido_doc_select_subtitle_photo_page" = "Fotoseite";
"onfido_doc_select_subtitle_front_back" = "Vorne und Hinten";
"onfido_doc_select_section_input_placeholder_country_copy" = "Ausstellungsland auswählen";
"onfido_doc_select_section_input_country_not_found" = "";
37 changes: 0 additions & 37 deletions onfido-carthage-spec.json

This file was deleted.

0 comments on commit f443d8b

Please sign in to comment.