diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a34102..b4243e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ 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) +## [29.4.0] - 2023-08-08 + +### Changed + +- Changed Face step border success colour in Video Step + +### Fixed + +- Fixed the issue that causes some documents to stuck on uploading screen + ## [29.3.0] - 2023-07-25 ### Added diff --git a/Package.swift b/Package.swift index 7d36f40..d17141a 100644 --- a/Package.swift +++ b/Package.swift @@ -17,8 +17,8 @@ let package = Package( .binaryTarget( name: "Onfido", - url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v29.3.0.zip", - checksum: "f0f92144eaa004de214b67a6fa9a70456f5623a8bd5f11403656f96fe7b1ccc4" + url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v29.4.0.zip", + checksum: "bf3bda8fa2eadcab8d8ad2de293d101a400ae1d0f542d40eac25d76a7eab1406" ), diff --git a/README.md b/README.md index f057920..516dffa 100644 --- a/README.md +++ b/README.md @@ -745,7 +745,7 @@ The following document types are supported: | Document Type | Configuration Class | Configurable Properties | |----------------------|-------------------------------|----------------------------| -| passport | PassportConfiguration | | +| passport | PassportConfiguration | - country | | drivingLicence | DrivingLicenceConfiguration | - country
- documentFormat | | nationalIdentityCard | NationalIdentityConfiguration | - country
- documentFormat | | residencePermit | ResidencePermitConfiguration | - country | @@ -1159,7 +1159,7 @@ appearance.backgroundColor = ; appearance.buttonCornerRadius = ; appearance.fontRegular = ; appearance.fontBold = ; -[appearance setUserInterfaceStyle: ]; +[appearance setUserInterfaceStyle: <.unspecified | .light | .dark>]; appearance.captureSuccessColors = ; ``` @@ -1172,34 +1172,30 @@ appearance.captureSuccessColors = ; - `borderCornerRadius`: Defined border corner radius for all the buttons (default 5.0) - `fontRegular`: Defines the custom font name for the regular style labels - `fontBold`: Defines the custom font name for the bold style labels -- `interfaceStyle`: Defines the interface style +- `interfaceStyle`: Defines the interface style. The value is unspecified by default. **Note:** This property is applicable only for Xcode 11 and above built apps and devices running on iOS 13 and above - `captureSuccessColors`: Defines the color values for the capture screen success auto capture state - `borderColor`: Defines the border color of the area of interest in capture screen - `tickViewImageTintColor`: Defines the tick icon's tint color shown in capture screen after auto capture happens - `tickViewBackgroundColor`: Defines the tick icon's background color shown in capture screen after auto capture happens -**Dark Mode Customization** +**Dark Mode only UI customisation** -`interfaceStyle` allows you to force light or dark mode via `.dark` and `.light` respectively. By default it is set to `.unspecified`, which will follow the system's interface style. - -**Note:** -The previous attribute `supportDarkMode` is now deprecated. Please use `interfaceStyle` instead. - -For example, to set the interface style to `.dark`, you can use the code below: +To just change the user interface style to `.dark`, you can use initialiser below: ##### Swift ```Swift -let appearance = Appearance() -appearance.setUserInterfaceStyle(.dark) +let appearance = Appearance(interfaceStyle: .dark) +let configBuilder = OnfidoConfig.builder() +configBuilder.withAppearance(appearance) ``` ##### Objective-C ```Objective-C -ONAppearance *appearance = [ONAppearance new]; -[appearance setUserInterfaceStyle:UIUserInterfaceStyleDark]; +ONAppearance *appearance = [[ONAppearance alloc] initWithInterfaceStyle:<.light|.dark|.unspecified>]; + ``` #### Applying the Appearance object @@ -1419,8 +1415,8 @@ Check the following before you go live: | User iOS Version | SDK Size Impact (MB) | |------------------|-----------------------------------| -| 12.2 and above | 10.07| -| Below 12.2 | up to 10.07* or up to 19.327**| +| 12.2 and above | $SIZE_IMPACT_TEXT_1| +| Below 12.2 | $SIZE_IMPACT_TEXT_2| **\*** If the application is in Swift but doesn't include any Swift libraries that Onfido iOS SDK requires diff --git a/SampleApp/Podfile b/SampleApp/Podfile index 2afca26..2ab78dd 100644 --- a/SampleApp/Podfile +++ b/SampleApp/Podfile @@ -4,7 +4,7 @@ def setup_shared_pods use_frameworks! inhibit_all_warnings! - pod 'Onfido', '29.3.0' + pod 'Onfido', '29.4.0' end target 'SampleApp' do diff --git a/SampleAppObjC/Podfile b/SampleAppObjC/Podfile index 9c39717..e043956 100644 --- a/SampleAppObjC/Podfile +++ b/SampleAppObjC/Podfile @@ -4,7 +4,7 @@ def setup_shared_pods use_frameworks! inhibit_all_warnings! - pod 'Onfido', '29.3.0' + pod 'Onfido', '29.4.0' end target 'SampleAppObjC' do