Skip to content

Commit

Permalink
changes for 29.1.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 Jun 26, 2023
1 parent 265c0a3 commit 6dfc6fe
Show file tree
Hide file tree
Showing 55 changed files with 25,004 additions and 154 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,29 @@ 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.1.0] - 2023-06-16

### Added

- Enable consent screen buttons only when user scrolls to bottom of text
- Added experimental feature to detect and validate document on device
- Add swipe gesture for navigating back to previous viewControllers
- Enabled NFC by default in `OnfidoConfig`. Added `disable()` for disabling it
- Deprecated `withNFCReadFeature()` in `OnfidoConfig`
- Combined NFC Intro & Read screens into single Scan screen
- Add back swipe gesture for Photo, Video and Motion capture screens

### Changed

- Enhanced security around payload tampering
- Removed Bitcode from binaries as it has been deprecated by Apple
- Document capture: Hide shutter button momentarily when automatic capture is enabled

### Fixed

- Fix capture screen squeezed button and title design issue
- Attempted fix for rare UI freeze and subsequent crash on Selfie step

## [29.0.0] - 2023-05-03

### Changed
Expand Down
89 changes: 89 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

These guides below are provided to ease the transition of existing applications using the Onfido SDK from one version to another that introduces breaking API changes.

* [Onfido iOS SDK 29.1.0 Migration Guide](#onfido-ios-sdk-2910-migration-guide)
* [Onfido iOS SDK 29.0.0 Migration Guide](#onfido-ios-sdk-2900-migration-guide)
* [Onfido iOS SDK 28.1.0 Migration Guide](#onfido-ios-sdk-2810-migration-guide)
* [Onfido iOS SDK 28.0.0 Migration Guide](#onfido-ios-sdk-2800-migration-guide)
Expand Down Expand Up @@ -60,6 +61,94 @@ These guides below are provided to ease the transition of existing applications
* [Onfido iOS SDK 4.0.0 Migration Guide](#onfido-sdk-400-migration-guide)
* [Onfido iOS SDK 3.0.0 Migration Guide](#onfido-sdk-300-migration-guide)

## Onfido iOS SDK 29.1.0 Migration Guide

### Deprecated API Changes

- Deprecated `withNFCReadFeature()` in `OnfidoConfig`, as NFC is now enabled by default. Use `disableNFC()` if you want to disable NFC
### String Changes

#### Added

The following string keys have been **added**:

- `onfido_doc_capture_alert_too_close_title` (en, fr, de, es, it, pt, nl)

- `onfido_doc_capture_alert_rotated_title` (en, fr, de, es, it, pt, nl)

- `onfido_doc_capture_alert_too_far_title` (en, fr, de, es, it, pt, nl)

- `onfido_doc_capture_alert_wrong_side_front_title` (en, fr, de, es, it, pt, nl)

- `onfido_doc_capture_alert_wrong_side_back_title` (en, fr, de, es, it, pt, nl)

- `onfido_doc_capture_alert_hold_still_title` (en, fr, de, es, it, pt, nl)


- `onfido_nfc_scan_welcome_card_title` ()

- `onfido_nfc_scan_welcome_card_subtitle` ()

- `onfido_nfc_scan_welcome_card_list_item` ()

- `onfido_nfc_scan_welcome_card_list_item_2` ()

- `onfido_nfc_scan_welcome_card_list_item_3` ()

- `onfido_nfc_scan_welcome_card_button_primary` ()

- `onfido_nfc_scan_welcome_card_secondary_button` ()

- `onfido_nfc_scan_error_inter_title` ()

- `onfido_nfc_scan_error_inter_list_item` ()

- `onfido_nfc_scan_error_inter_list_item_2` ()

- `onfido_nfc_scan_error_inter_primary_button` ()

- `onfido_nfc_scan_error_inter_secondary_button` ()

- `onfido_nfc_scan_error_final_title` ()

- `onfido_nfc_scan_error_final_subtitle` ()

- `onfido_nfc_scan_error_final_list_item` ()

- `onfido_nfc_scan_error_final_primary_button` ()

- `onfido_nfc_scan_error_final_secondary_button` ()

- `onfido_nfc_scan_welcome_passport_title` ()

- `onfido_nfc_scan_welcome_passport_subtitle` ()

- `onfido_nfc_scan_welcome_passport_list_item` ()

- `onfido_nfc_scan_welcome_passport_list_item_2` ()

- `onfido_nfc_scan_welcome_passport_list_item_3` ()

- `onfido_nfc_scan_welcome_passport_list_item_4` ()

- `onfido_nfc_scan_welcome_passport_list_item_5` ()

- `onfido_nfc_scan_welcome_passport_button_primary` ()

- `onfido_nfc_scan_welcome_passport_secondary_button` ()

- `onfido_nfc_scan_error_inter_passport_title` ()

- `onfido_nfc_scan_error_inter_passport_list_item` ()

- `onfido_nfc_scan_error_inter_passport_list_item_2` ()

- `onfido_nfc_scan_error_inter_passport_primary_button` ()

- `onfido_nfc_scan_error_inter_passport_secondary_button` ()



## Onfido iOS SDK 29.0.0 Migration Guide

### Breaking API Changes
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ let package = Package(

.binaryTarget(
name: "Onfido",
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v29.0.0.zip",
checksum: "532e85322980a2b10a49677f10c547875c405535ba679264693d3328460292a4"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v29.1.0.zip",
checksum: "cf1b1b6a542db624d88bdcaa3f1763082f8c273e4d4b5bdcc1fac64cba48181d"
),

.binaryTarget(
name: "OnfidoExtended",
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/OnfidoExtended-v29.0.0.zip",
checksum: "2f7e634a53569587c87ab2a5833ac5ce922a7fc8d7e914140786a90a068cb37b"
url: "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/OnfidoExtended-v29.1.0.zip",
checksum: "39ba0127c4f40df6dd91fa238b690d57f7867a7d6e5bf411d719eb2d0b139555"
),


Expand Down
62 changes: 18 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,13 @@ if (configError) {
}
```
### Enabling ePassport NFC extraction
### NFC capture
Recent passports, national identity cards and residence permits contain a chip that can be accessed using Near Field Communication (NFC).
The Onfido SDKs provide a set of screens and functionalities to extract this information, verify its authenticity and provide the results as part of a Document report.
With version [29.1.0] of the Onfido iOS SDK, NFC is enabled by default and offered to customer when both the document and the device support NFC.
For more information on how to configure NFC and the list of supported documents, please refer to the [NFC for Document Report](https://developers.onfido.com/guide/document-report-nfc) guide.
#### Pre-requisites
Expand All @@ -1135,38 +1141,6 @@ if (configError) {
<string>D2760000850101</string>
</array>
```
#### SDK integration
Some passports contain a chip which can be accessed using Near Field Communication. The SDK provides a set of screens to extract the information contained within the chip to verify the original document is present.
##### Swift
```swift
let config = try! OnfidoConfig.builder()
.withSDKToken("<YOUR_SDK_TOKEN_HERE>")
.withDocumentStep()
.withNFCReadFeatureEnabled()
.build()
```
##### Objective-C
```Objective-C
ONFlowConfigBuilder *configBuilder = [ONFlowConfig builder];

[configBuilder withSdkToken:@"YOUR_SDK_TOKEN_HERE"];
[configBuilder withWelcomeStep];
[configBuilder withDocumentStep];
[configBuilder withNFCReadFeatureEnabled];

NSError *configError = NULL;
ONFlowConfig *config = [configBuilder buildAndReturnError:&configError];

```
#### Creating checks with NFC
Please refer to our [NFC for document report guide in our developer hub](https://developers.onfido.com/guide/document-report-nfc) to learn [how to create a check containing a document report with nfc](https://developers.onfido.com/guide/document-report-nfc#create-a-check-containing-a-document-report-with-nfc).
### UI customization
Expand Down Expand Up @@ -1260,17 +1234,17 @@ The SDK supports and maintains the following 44 languages:
- Arabic: ar
- Armenian: hy
- Bulgarian: bg
- Chinese (Simplified): zh_Hans
- Chinese (Traditional): zh_Hant
- Chinese (Simplified): zh-Hans
- Chinese (Traditional): zh-Hant
- Croatian: hr
- Czech: cs
- Danish: da
- Dutch: nl
- English (United Kingdom): en_GB
- English (United States): en_US
- English (United Kingdom): en-GB
- English: en
- Estonian: et
- Finnish: fi
- French (Canadian): fr_CA
- French (Canadian): fr-CA
- French: fr
- German: de
- Greek: el
Expand All @@ -1284,17 +1258,17 @@ The SDK supports and maintains the following 44 languages:
- Latvian: lv
- Lithuanian: lt
- Malay: ms
- Norwegian: nb
- Norwegian (Bokmål): no
- Persian: fa
- Polish: pl
- Portuguese (Brazil): pt_BR
- Portuguese (Brazil): pt-BR
- Portuguese: pt
- Romanian: ro
- Russian: ru
- Serbian: sr_Latn
- Serbian (Latin): sr-Latn
- Slovak: sk
- Slovenian: sl
- Spanish (Latin America): es_419
- Spanish (Latin America): es-419
- Spanish: es
- Swedish: sv
- Thai: th
Expand Down Expand Up @@ -1453,8 +1427,8 @@ Check the following before you go live:
| User iOS Version | SDK Size Impact (MB) |
|------------------|-----------------------------------|
| 12.2 and above | 9.904|
| Below 12.2 | up to 9.904* or up to 19.161**|
| 12.2 and above | 9.979|
| Below 12.2 | up to 9.979* or up to 19.236**|
**\*** 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.0.0'
pod 'Onfido', '29.1.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.0.0'
pod 'Onfido', '29.1.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.
Binary file modified assets/generic_docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/selection1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/selection2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/supported_documents_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6dfc6fe

Please sign in to comment.