From eddff09d448e63f1f56e43b59df90ee99f639b09 Mon Sep 17 00:00:00 2001 From: Alejandro Rosas Date: Tue, 3 Nov 2026 18:17:49 +0400 Subject: [PATCH] Release React Native 4.12.0 with native SDK 4.12.0 pins Co-Authored-By: Claude Opus 5.5 (1M context) --- README.md | 4 ++-- example-expo/ios/Podfile | 2 +- package.json | 6 +++--- release-notes/4.11.0.md | 20 -------------------- release-notes/4.12.0.md | 9 +++++++++ 5 files changed, 15 insertions(+), 26 deletions(-) delete mode 100644 release-notes/4.11.0.md create mode 100644 release-notes/4.12.0.md diff --git a/README.md b/README.md index bd52fd1..6923068 100644 --- a/README.md +++ b/README.md @@ -236,7 +236,7 @@ The iOS podspec URL is derived from the native SDK version this package pins (`d [ "@didit-protocol/sdk-react-native", { - "iosPodspecUrl": "https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.11.0/DiditSDK.podspec" + "iosPodspecUrl": "https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.12.0/DiditSDK.podspec" } ] ``` @@ -277,7 +277,7 @@ didit_sdk_subspec = case $DiditSdkIosVariant else raise "Invalid $DiditSdkIosVariant '#{$DiditSdkIosVariant}'. Supported values: all, core, autodetection, nfc." end -pod didit_sdk_subspec, :podspec => 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.11.0/DiditSDK.podspec' +pod didit_sdk_subspec, :podspec => 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.12.0/DiditSDK.podspec' ``` ##### Swift Package Manager (optional) diff --git a/example-expo/ios/Podfile b/example-expo/ios/Podfile index b44b362..9247eed 100644 --- a/example-expo/ios/Podfile +++ b/example-expo/ios/Podfile @@ -33,7 +33,7 @@ target 'DiditExpoExample' do else raise "Invalid $DiditSdkIosVariant '#{$DiditSdkIosVariant}'. Supported values: all, core, autodetection, nfc." end - pod didit_sdk_subspec, :podspec => 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.11.0/DiditSDK.podspec' + pod didit_sdk_subspec, :podspec => 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/4.12.0/DiditSDK.podspec' # @generated end didit-sdk-react-native-pod use_expo_modules! diff --git a/package.json b/package.json index b9ab0b5..e4e5830 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@didit-protocol/sdk-react-native", - "version": "4.11.0", + "version": "4.12.0", "diditNativeSdkVersions": { - "ios": "4.11.0", - "android": "4.11.0" + "ios": "4.12.0", + "android": "4.12.0" }, "description": "React Native wrapper for Didit Identity Verification SDK", "main": "./lib/commonjs/index.js", diff --git a/release-notes/4.11.0.md b/release-notes/4.11.0.md deleted file mode 100644 index 725704a..0000000 --- a/release-notes/4.11.0.md +++ /dev/null @@ -1,20 +0,0 @@ -Pins the iOS and Android native SDKs exactly to 4.11.0. This release also carries everything planned for 4.10.0, which was never published to npm. - -No JavaScript / TypeScript API changes. The new steps below run inside `startVerification()` / `startVerificationWithWorkflow()` and return the same `VerificationResult`. - -- Both platforms: the redesigned flow shell, with a new top bar, progress in words, a rebuilt welcome screen and clearer error messages. -- Both platforms: Bank verification never ends in a dead end. Countries without a bank route offer a statement upload or continuing without a bank, and an account check counts its own attempts. -- iOS: document capture focuses reliably on close-up cards. -- Both platforms: automatic capture is available in every variant, powered by Didit's own lightweight detectors. TensorFlow Lite on iOS and MediaPipe on Android are removed. The `autodetection` variant is deprecated and identical to `core`, and the Android `didit-sdk-autodetection-play` artifact is no longer published. -- Both platforms: Bank verification step. No setup. The native SDKs open the bank's page (or a page Didit hosts) in the system browser. -- Both platforms: Location verification step. - - iOS: Location is opt-in through complete Location variants (`DiditSDK/Core-Location`, `DiditSDK/NFC-Location`, `DiditSDK/All-Location`, and the SwiftPM products `DiditSDKCoreLocation`, `DiditSDKNFCLocation`, `DiditSDKLocation`). Set `$DiditSdkIosLocationEnabled = true` (or `iosLocationEnabled: true` in the Expo plugin) and this package selects the matching variant. CocoaPods and SwiftPM are both supported. The separate `DiditSDK/Location` add-on is no longer used. - - Android: `didit-sdk-core` declares `ACCESS_FINE_LOCATION` and `ACCESS_COARSE_LOCATION`. Remove them with `tools:node="remove"` if your app never runs the step. -- Both platforms: electronic signature step (Sign documents). -- Both platforms: biometric consent screen when Didit's backend requires it for the workflow. -- Both platforms: a "No camera found" screen with a Copy link action to continue on another device. -- Both platforms: verification steps the installed SDK does not support show update-app guidance and return a failed result instead of stalling. -- Android: active liveness recovers after an interrupted or failed attempt. -- iOS: smaller framework, with translations moved out of the binary. -- Android toolchain: native 4.11.0 requires Kotlin 2.1.10+, Android Gradle Plugin 8.6.0+, Gradle 8.7+ and JDK 17. The wrapper's default Kotlin version is now 2.1.20. -- Development builds: the temporary native source pin used during development is removed. The package resolves released native 4.11.0 binaries only. diff --git a/release-notes/4.12.0.md b/release-notes/4.12.0.md new file mode 100644 index 0000000..32ca43d --- /dev/null +++ b/release-notes/4.12.0.md @@ -0,0 +1,9 @@ +Pins the iOS and Android native SDKs exactly to 4.12.0. + +No JavaScript / TypeScript API changes. The changes below run inside `startVerification()` / `startVerificationWithWorkflow()` and return the same `VerificationResult`. + +- Both platforms: wallet logos for every digital ID wallet the web flow shows (Mobile-ID, ConnectID, FTN, OneID, Bank iD, MojeID, FranceConnect, Auðkenni, the Estonian ID-card, GOV.UK Wallet), on the same white or black plate as the web. +- Both platforms: capture hints that say what to do when auto-capture is not running, a selfie detector that gives up shows the shutter at once, the welcome keeps its legal sentence pinned at large text sizes, the step label stays on one line, and a refused session start no longer offers a retry that cannot work. +- Both platforms: Switch camera beside the shutter on the document and selfie cameras, with Upload moved into Tips; the selfie camera gets the document camera's shutter row with Tips, the hint above the row and "Step 2 of 4 · Selfie". +- Android: the Select camera sheet names cameras "Front camera" and "Back camera", numbered "Back camera 2" when a side has several, in every language. +- Both platforms: nothing is captured automatically while a sheet is open over the document or selfie camera (Tips, Select camera, the exit confirmation). Detection pauses, and a capture needs the full stable hold again once the sheet closes.