Skip to content

Commit

Permalink
changes for 29.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/) committed Aug 24, 2023
1 parent 690e67c commit 94de5ee
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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(

.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"
),


Expand Down
28 changes: 12 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ The following document types are supported:
| Document Type | Configuration Class | Configurable Properties |
|----------------------|-------------------------------|----------------------------|
| passport | PassportConfiguration | |
| passport | PassportConfiguration | - country |
| drivingLicence | DrivingLicenceConfiguration | - country<br> - documentFormat |
| nationalIdentityCard | NationalIdentityConfiguration | - country<br> - documentFormat |
| residencePermit | ResidencePermitConfiguration | - country |
Expand Down Expand Up @@ -1159,7 +1159,7 @@ appearance.backgroundColor = <DESIRED_UI_COLOR_HERE>;
appearance.buttonCornerRadius = <DESIRED_CGFLOAT_BORDER_RADIUS_HERE>;
appearance.fontRegular = <DESIRED_FONT_NAME_HERE>;
appearance.fontBold = <DESIRED_FONT_NAME_HERE>;
[appearance setUserInterfaceStyle: <UIUserInterfaceStyleUnspecified | UIUserInterfaceStyleLight | UIUserInterfaceStyleDark>];
[appearance setUserInterfaceStyle: <.unspecified | .light | .dark>];
appearance.captureSuccessColors = <CaptureSuccessColors object>;
```
Expand All @@ -1172,34 +1172,30 @@ appearance.captureSuccessColors = <CaptureSuccessColors object>;
- `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
Expand Down Expand Up @@ -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
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', '29.3.0'
pod 'Onfido', '29.4.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', '29.3.0'
pod 'Onfido', '29.4.0'
end

target 'SampleAppObjC' do
Expand Down

0 comments on commit 94de5ee

Please sign in to comment.