Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 4.14.0

Pins the iOS and Android native SDKs exactly to 4.14.0.

No Dart API changes. The native changes below run inside the existing start-verification call and return the same `VerificationResult`.

- Both platforms: phone verification offers a voice call (a call that reads the code out) for countries that list it, with "Get a call instead", "Call me with the code" and "Call again".
- Both platforms: signing documents at the qualified level (QES) says the qualified trust service provider texted the code, shows "Send a new code" after a provider failure, "Signing has ended" for an identity the qualified level cannot use, its own screen for a document that is too large, and a test-signature screen in the sandbox.
- Both platforms: ConnectID's Representative model names the roles and the client's logo before the bank list, asks for an explicit consent, and ends on a "Verified with ConnectID" screen with the shared details.
- Both platforms: UAE PASS uses the official "Sign in with UAE PASS" button, its opening, checking and confirmed screens, and the mandated messages for a cancelled, failed or unverified sign-in.
- Both platforms: the "Asked to redo" screen matches the web flow and the email, with one "step: reason" line per step to redo and an "Already done" line, in all 54 languages.


## 4.13.2

Pins the iOS and Android native SDKs exactly to 4.13.2. Native 4.13.1 was an Android-only interim release with the welcome screen change below; this release brings it to iOS too.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ A Flutter plugin for Didit Identity Verification. Wraps the native iOS and Andro
| Dart | 3.11+ |
| iOS | 13.0+ (`all`/`nfc` variants require 15.0+) |
| Android | API 23+ (6.0 Marshmallow) |
| Android build toolchain | Kotlin 2.1.10+, Android Gradle Plugin 8.6.0+, Gradle 8.7+, JDK 17 (required by the native 4.13.2 artifacts) |
| Android build toolchain | Kotlin 2.1.10+, Android Gradle Plugin 8.6.0+, Gradle 8.7+, JDK 17 (required by the native 4.14.0 artifacts) |

## Installation

Add the dependency to your `pubspec.yaml`:

```yaml
dependencies:
didit_sdk: ^4.13.2
didit_sdk: ^4.14.0
```

Then run:
Expand Down Expand Up @@ -63,7 +63,7 @@ To use a smaller native SDK variant, depend on the matching variant package inst

```yaml
dependencies:
didit_sdk_core: ^4.13.2 # or didit_sdk_autodetection / didit_sdk_nfc
didit_sdk_core: ^4.14.0 # or didit_sdk_autodetection / didit_sdk_nfc
```

The `core` and `autodetection` variants allow an iOS 13.0 deployment target; `nfc` requires 15.0+ like the default.
Expand Down Expand Up @@ -94,7 +94,7 @@ didit_sdk_ios_pod = case $DiditSdkIosVariant
raise "Invalid $DiditSdkIosVariant '#{$DiditSdkIosVariant}'. Supported values: all, core, autodetection, nfc."
end
didit_sdk_ios_pod += '-Location' if $DiditSdkIosLocationEnabled # only for workflows with a Location step
didit_sdk_ios_podspec = 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.13.2/DiditSDK.podspec'
didit_sdk_ios_podspec = 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.14.0/DiditSDK.podspec'

target 'Runner' do
use_frameworks!
Expand Down Expand Up @@ -476,7 +476,7 @@ final result = await DiditSdk.startVerification(sessionToken);

Workflows can include a Bank verification step and a Location verification step. The native SDKs draw both screens, so there is no Dart API to call: start the verification as usual and handle the same [`VerificationResult`](#verification-results), in the language set by [`languageCode`](#languagecode).

> **Availability:** these steps ship with native SDK 4.13.2, which this release pins. They run inside the existing start-verification call: there is no new Dart API.
> **Availability:** these steps ship with native SDK 4.14.0, which this release pins. They run inside the existing start-verification call: there is no new Dart API.

- **Location:** the SDK explains why it needs the position, asks for location permission, reads the position once while the step is on screen and never tracks it in the background. On iOS it needs the opt-in `$DiditSdkIosLocationEnabled` flag and usage strings from [Location Configuration](#location-configuration-for-the-location-verification-step); on Android `didit-sdk-core` declares the location permissions and they are merged into your app (see [Android](#android); remove them with `tools:node="remove"` if you never run the step). Without the iOS flag or usage string, or with the Android permissions removed, the step shows no prompt: it reports that the device cannot place the person and the workflow's own settings decide what happens next.
- **Bank:** the person picks their bank and the SDK opens the bank's page (or a page Didit hosts) in the system browser, then returns to the SDK, which reads the outcome from Didit. Your app needs no setup, permission, URL scheme or intent filter for it.
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = "me.didit.sdk.sdk_flutter"
version = "1.0-SNAPSHOT"

val diditSdkAndroidVersion = "4.13.2"
val diditSdkAndroidVersion = "4.14.0"
val diditSdkAndroidVariant = (
rootProject.findProperty("diditSdkAndroidVariant")
?: findProperty("diditSdkAndroidVariant")
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ didit_sdk_ios_pod = case $DiditSdkIosVariant
didit_sdk_ios_pod += '-Location' if $DiditSdkIosLocationEnabled
didit_sdk_ios_podspec = ENV.fetch(
'DIDIT_SDK_IOS_PODSPEC',
'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.13.2/DiditSDK.podspec'
'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.14.0/DiditSDK.podspec'
)
# Optional: the path to a DiditSDK source tree (the directory holding DiditSDK.podspec)
# to build the native SDK from source instead; its podspec has the same subspec names,
Expand Down
16 changes: 8 additions & 8 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
PODS:
- didit_sdk (4.13.2):
- DiditSDK/All (= 4.13.2)
- didit_sdk (4.14.0):
- DiditSDK/All (= 4.14.0)
- Flutter
- DiditSDK/All (4.13.2)
- DiditSDK/All (4.14.0)
- Flutter (1.0.0)
- integration_test (0.0.1):
- Flutter

DEPENDENCIES:
- didit_sdk (from `.symlinks/plugins/didit_sdk/ios`)
- DiditSDK/All (from `https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.13.2/DiditSDK.podspec`)
- DiditSDK/All (from `https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.14.0/DiditSDK.podspec`)
- Flutter (from `Flutter`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)

EXTERNAL SOURCES:
didit_sdk:
:path: ".symlinks/plugins/didit_sdk/ios"
DiditSDK:
:podspec: https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.13.2/DiditSDK.podspec
:podspec: https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.14.0/DiditSDK.podspec
Flutter:
:path: Flutter
integration_test:
:path: ".symlinks/plugins/integration_test/ios"

SPEC CHECKSUMS:
didit_sdk: bf50daa465024d22e7e58afb8e60f920a3163c8f
DiditSDK: c8586d390d677631fca65897a4d70e1c6d1609f3
didit_sdk: b87057813cf6cb5eda2caba5c5522f919304ff9d
DiditSDK: 00ef7e0d8caf93ce1b78e672d73a426f79a21fdf
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e

PODFILE CHECKSUM: 2ba4ca2a616fb8102182f134d54f2cc28256c629
PODFILE CHECKSUM: e122c0930a760c80d41eabd484ed73bdaf61c110

COCOAPODS: 1.16.2
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ packages:
path: ".."
relative: true
source: path
version: "4.13.2"
version: "4.14.0"
fake_async:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions ios/didit_sdk.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'didit_sdk'
s.version = '4.13.2'
s.version = '4.14.0'
s.summary = 'Didit Identity Verification SDK for Flutter'
s.description = <<-DESC
Flutter plugin wrapping the native DiditSDK for identity verification
Expand Down Expand Up @@ -38,7 +38,7 @@ with document scanning, NFC passport reading, and liveness detection.
# its -Location twin (All-Location, Core-Location, NFC-Location).
didit_sdk_ios_location = (defined?($DiditSdkIosLocationEnabled) && !$DiditSdkIosLocationEnabled.nil? ? $DiditSdkIosLocationEnabled : ENV.fetch('DIDIT_SDK_IOS_LOCATION_ENABLED', 'false')).to_s.downcase == 'true'
didit_sdk_ios_pod += '-Location' if didit_sdk_ios_location
s.dependency didit_sdk_ios_pod, '4.13.2'
s.dependency didit_sdk_ios_pod, '4.14.0'

s.platform = :ios, '13.0'
s.static_framework = true
Expand Down
2 changes: 1 addition & 1 deletion ios/didit_sdk/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
.library(name: "didit-sdk", targets: ["didit_sdk"])
],
dependencies: [
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.13.2")
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.14.0")
],
targets: [
.target(
Expand Down
13 changes: 13 additions & 0 deletions packages/didit_sdk_autodetection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 4.14.0

Pins the iOS and Android native SDKs exactly to 4.14.0.

No Dart API changes. The native changes below run inside the existing start-verification call and return the same `VerificationResult`.

- Both platforms: phone verification offers a voice call (a call that reads the code out) for countries that list it, with "Get a call instead", "Call me with the code" and "Call again".
- Both platforms: signing documents at the qualified level (QES) says the qualified trust service provider texted the code, shows "Send a new code" after a provider failure, "Signing has ended" for an identity the qualified level cannot use, its own screen for a document that is too large, and a test-signature screen in the sandbox.
- Both platforms: ConnectID's Representative model names the roles and the client's logo before the bank list, asks for an explicit consent, and ends on a "Verified with ConnectID" screen with the shared details.
- Both platforms: UAE PASS uses the official "Sign in with UAE PASS" button, its opening, checking and confirmed screens, and the mandated messages for a cancelled, failed or unverified sign-in.
- Both platforms: the "Asked to redo" screen matches the web flow and the email, with one "step: reason" line per step to redo and an "Already done" line, in all 54 languages.


## 4.13.2

Pins the iOS and Android native SDKs exactly to 4.13.2. Native 4.13.1 was an Android-only interim release with the welcome screen change below; this release brings it to iOS too.
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_autodetection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Depend on exactly one of the `didit_sdk` packages:

```yaml
dependencies:
didit_sdk_autodetection: ^4.13.2
didit_sdk_autodetection: ^4.14.0
```

```dart
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_autodetection/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = "me.didit.sdk.sdk_flutter"
version = "1.0-SNAPSHOT"

val diditSdkAndroidVersion = "4.13.2"
val diditSdkAndroidVersion = "4.14.0"
val diditSdkAndroidVariant = (
rootProject.findProperty("diditSdkAndroidVariant")
?: findProperty("diditSdkAndroidVariant")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'didit_sdk_autodetection'
s.version = '4.13.2'
s.version = '4.14.0'
s.summary = 'Didit Identity Verification SDK for Flutter - autodetection variant'
s.description = <<-DESC
Didit identity verification Flutter plugin pinned to the DiditSDK/Core native SDK
Expand All @@ -20,7 +20,7 @@ variant (identical to didit_sdk_core). Generated from didit_sdk.
# through $DiditSdkIosLocationEnabled (or DIDIT_SDK_IOS_LOCATION_ENABLED=true),
# which swaps the subspec for its -Location twin (DiditSDK/Core-Location).
didit_sdk_ios_location = (defined?($DiditSdkIosLocationEnabled) && !$DiditSdkIosLocationEnabled.nil? ? $DiditSdkIosLocationEnabled : ENV.fetch('DIDIT_SDK_IOS_LOCATION_ENABLED', 'false')).to_s.downcase == 'true'
s.dependency "DiditSDK/Core#{'-Location' if didit_sdk_ios_location}", '4.13.2'
s.dependency "DiditSDK/Core#{'-Location' if didit_sdk_ios_location}", '4.14.0'

s.platform = :ios, '13.0'
s.static_framework = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.library(name: "didit-sdk-autodetection", targets: ["didit_sdk_autodetection"])
],
dependencies: [
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.13.2")
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.14.0")
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_autodetection/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: didit_sdk_autodetection
description: Deprecated, identical to didit_sdk_core - switch to didit_sdk_core. Didit Identity Verification SDK for Flutter, pinned to the autodetection native SDK variant (identical to didit_sdk_core). Same Dart API as didit_sdk - depend on exactly one of the didit_sdk packages. Generated from didit_sdk - do not edit by hand.
version: 4.13.2
version: 4.14.0
homepage: https://didit.me
repository: https://github.com/didit-protocol/sdk-flutter
issue_tracker: https://github.com/didit-protocol/sdk-flutter/issues
Expand Down
13 changes: 13 additions & 0 deletions packages/didit_sdk_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 4.14.0

Pins the iOS and Android native SDKs exactly to 4.14.0.

No Dart API changes. The native changes below run inside the existing start-verification call and return the same `VerificationResult`.

- Both platforms: phone verification offers a voice call (a call that reads the code out) for countries that list it, with "Get a call instead", "Call me with the code" and "Call again".
- Both platforms: signing documents at the qualified level (QES) says the qualified trust service provider texted the code, shows "Send a new code" after a provider failure, "Signing has ended" for an identity the qualified level cannot use, its own screen for a document that is too large, and a test-signature screen in the sandbox.
- Both platforms: ConnectID's Representative model names the roles and the client's logo before the bank list, asks for an explicit consent, and ends on a "Verified with ConnectID" screen with the shared details.
- Both platforms: UAE PASS uses the official "Sign in with UAE PASS" button, its opening, checking and confirmed screens, and the mandated messages for a cancelled, failed or unverified sign-in.
- Both platforms: the "Asked to redo" screen matches the web flow and the email, with one "step: reason" line per step to redo and an "Already done" line, in all 54 languages.


## 4.13.2

Pins the iOS and Android native SDKs exactly to 4.13.2. Native 4.13.1 was an Android-only interim release with the welcome screen change below; this release brings it to iOS too.
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Depend on exactly one of the `didit_sdk` packages:

```yaml
dependencies:
didit_sdk_core: ^4.13.2
didit_sdk_core: ^4.14.0
```

```dart
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_core/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = "me.didit.sdk.sdk_flutter"
version = "1.0-SNAPSHOT"

val diditSdkAndroidVersion = "4.13.2"
val diditSdkAndroidVersion = "4.14.0"
val diditSdkAndroidVariant = (
rootProject.findProperty("diditSdkAndroidVariant")
?: findProperty("diditSdkAndroidVariant")
Expand Down
4 changes: 2 additions & 2 deletions packages/didit_sdk_core/ios/didit_sdk_core.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'didit_sdk_core'
s.version = '4.13.2'
s.version = '4.14.0'
s.summary = 'Didit Identity Verification SDK for Flutter - core variant'
s.description = <<-DESC
Didit identity verification Flutter plugin pinned to the DiditSDK/Core native SDK
Expand All @@ -20,7 +20,7 @@ variant (automatic capture, no NFC). Generated from didit_sdk.
# through $DiditSdkIosLocationEnabled (or DIDIT_SDK_IOS_LOCATION_ENABLED=true),
# which swaps the subspec for its -Location twin (DiditSDK/Core-Location).
didit_sdk_ios_location = (defined?($DiditSdkIosLocationEnabled) && !$DiditSdkIosLocationEnabled.nil? ? $DiditSdkIosLocationEnabled : ENV.fetch('DIDIT_SDK_IOS_LOCATION_ENABLED', 'false')).to_s.downcase == 'true'
s.dependency "DiditSDK/Core#{'-Location' if didit_sdk_ios_location}", '4.13.2'
s.dependency "DiditSDK/Core#{'-Location' if didit_sdk_ios_location}", '4.14.0'

s.platform = :ios, '13.0'
s.static_framework = true
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_core/ios/didit_sdk_core/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.library(name: "didit-sdk-core", targets: ["didit_sdk_core"])
],
dependencies: [
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.13.2")
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.14.0")
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: didit_sdk_core
description: Didit Identity Verification SDK for Flutter, pinned to the core native SDK variant (automatic capture, no NFC). Same Dart API as didit_sdk - depend on exactly one of the didit_sdk packages. Generated from didit_sdk - do not edit by hand.
version: 4.13.2
version: 4.14.0
homepage: https://didit.me
repository: https://github.com/didit-protocol/sdk-flutter
issue_tracker: https://github.com/didit-protocol/sdk-flutter/issues
Expand Down
13 changes: 13 additions & 0 deletions packages/didit_sdk_nfc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 4.14.0

Pins the iOS and Android native SDKs exactly to 4.14.0.

No Dart API changes. The native changes below run inside the existing start-verification call and return the same `VerificationResult`.

- Both platforms: phone verification offers a voice call (a call that reads the code out) for countries that list it, with "Get a call instead", "Call me with the code" and "Call again".
- Both platforms: signing documents at the qualified level (QES) says the qualified trust service provider texted the code, shows "Send a new code" after a provider failure, "Signing has ended" for an identity the qualified level cannot use, its own screen for a document that is too large, and a test-signature screen in the sandbox.
- Both platforms: ConnectID's Representative model names the roles and the client's logo before the bank list, asks for an explicit consent, and ends on a "Verified with ConnectID" screen with the shared details.
- Both platforms: UAE PASS uses the official "Sign in with UAE PASS" button, its opening, checking and confirmed screens, and the mandated messages for a cancelled, failed or unverified sign-in.
- Both platforms: the "Asked to redo" screen matches the web flow and the email, with one "step: reason" line per step to redo and an "Already done" line, in all 54 languages.


## 4.13.2

Pins the iOS and Android native SDKs exactly to 4.13.2. Native 4.13.1 was an Android-only interim release with the welcome screen change below; this release brings it to iOS too.
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_nfc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Depend on exactly one of the `didit_sdk` packages:

```yaml
dependencies:
didit_sdk_nfc: ^4.13.2
didit_sdk_nfc: ^4.14.0
```

```dart
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_nfc/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = "me.didit.sdk.sdk_flutter"
version = "1.0-SNAPSHOT"

val diditSdkAndroidVersion = "4.13.2"
val diditSdkAndroidVersion = "4.14.0"
val diditSdkAndroidVariant = (
rootProject.findProperty("diditSdkAndroidVariant")
?: findProperty("diditSdkAndroidVariant")
Expand Down
4 changes: 2 additions & 2 deletions packages/didit_sdk_nfc/ios/didit_sdk_nfc.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'didit_sdk_nfc'
s.version = '4.13.2'
s.version = '4.14.0'
s.summary = 'Didit Identity Verification SDK for Flutter - nfc variant'
s.description = <<-DESC
Didit identity verification Flutter plugin pinned to the DiditSDK/NFC native SDK
Expand All @@ -20,7 +20,7 @@ variant (automatic capture and NFC passport reading). Generated from didit_sdk.
# through $DiditSdkIosLocationEnabled (or DIDIT_SDK_IOS_LOCATION_ENABLED=true),
# which swaps the subspec for its -Location twin (DiditSDK/NFC-Location).
didit_sdk_ios_location = (defined?($DiditSdkIosLocationEnabled) && !$DiditSdkIosLocationEnabled.nil? ? $DiditSdkIosLocationEnabled : ENV.fetch('DIDIT_SDK_IOS_LOCATION_ENABLED', 'false')).to_s.downcase == 'true'
s.dependency "DiditSDK/NFC#{'-Location' if didit_sdk_ios_location}", '4.13.2'
s.dependency "DiditSDK/NFC#{'-Location' if didit_sdk_ios_location}", '4.14.0'

s.platform = :ios, '15.0'
s.static_framework = true
Expand Down
2 changes: 1 addition & 1 deletion packages/didit_sdk_nfc/ios/didit_sdk_nfc/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
.library(name: "didit-sdk-nfc", targets: ["didit_sdk_nfc"])
],
dependencies: [
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.13.2")
.package(url: "https://github.com/didit-protocol/sdk-ios.git", exact: "4.14.0")
],
targets: [
.target(
Expand Down
Loading
Loading