diff --git a/CHANGELOG.md b/CHANGELOG.md index 892a3c0..215fe1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/Package.swift b/Package.swift index 2002ee6..3466d45 100644 --- a/Package.swift +++ b/Package.swift @@ -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" ) ] ) diff --git a/README.md b/README.md index e5ff621..d17f7c2 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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** @@ -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. @@ -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. @@ -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). @@ -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) @@ -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 diff --git a/SampleApp/Podfile b/SampleApp/Podfile index fca1bf6..bd9aa95 100644 --- a/SampleApp/Podfile +++ b/SampleApp/Podfile @@ -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 diff --git a/SampleAppObjC/Podfile b/SampleAppObjC/Podfile index d6d8286..5d4dfb8 100644 --- a/SampleAppObjC/Podfile +++ b/SampleAppObjC/Podfile @@ -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 diff --git a/assets/Overview.png b/assets/Overview.png index c92c806..628bfa7 100644 Binary files a/assets/Overview.png and b/assets/Overview.png differ diff --git a/localization/Localizable_DE.strings b/localization/Localizable_DE.strings index 726b10d..adce54b 100644 --- a/localization/Localizable_DE.strings +++ b/localization/Localizable_DE.strings @@ -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" = ""; diff --git a/onfido-carthage-spec.json b/onfido-carthage-spec.json deleted file mode 100644 index bfed82e..0000000 --- a/onfido-carthage-spec.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "15.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v15.0.0.zip", - "14.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v14.0.0.zip", - "14.0.0-rc": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v14.0.0-rc.zip", - "14.0.0-beta": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v14.0.0-beta.zip", - "13.2.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v13.2.0.zip", - "13.1.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v13.1.0.zip", - "13.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v13.0.0.zip", - "12.2.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v12.2.0.zip", - "12.1.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v12.1.0.zip", - "12.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v12.0.0.zip", - "11.1.2": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v11.1.2.zip", - "11.1.1": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v11.1.1.zip", - "11.1.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-Debug-v11.1.0.zip", - "16.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v16.0.0.zip", - "16.2.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v16.2.0.zip", - "17.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v17.0.0.zip", - "18.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.0.0.zip", - "18.1.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.1.0.zip", - "18.1.1": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.1.1.zip", - "18.2.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.2.0.zip", - "18.1.2": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.1.2.zip", - "18.3.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.3.0.zip", - "18.3.1": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.3.1.zip", - "18.3.2": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.3.2.zip", - "18.3.3": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.3.3.zip", - "18.4.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.4.0.zip", - "18.5.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.5.0.zip", - "18.6.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.6.0.zip", - "18.7.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.7.0.zip", - "18.8.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.8.0.zip", - "18.8.1": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.8.1.zip", - "18.9.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.9.0.zip", - "18.10.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.10.0.zip", - "18.10.1": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v18.10.1.zip", - "19.0.0": "https://s3-eu-west-1.amazonaws.com/onfido-sdks/ios/Onfido-v19.0.0.zip" -}