From 21239d3e302398ff6f066afa54aef74dde99e8ec Mon Sep 17 00:00:00 2001 From: Maxime <12084893+maxgenest@users.noreply.github.com> Date: Fri, 20 Nov 2026 14:38:30 +0100 Subject: [PATCH] fix(ios): upgrade the DocuSign iOS SDK to 4.4.0 For some accounts, DocuSign returns recipient view URLs such as https://apps-d.docusign.com/authenticate?code=... instead of a Signing/MTRedeem URL. DocuSign 4.3.0 rejected them, and presentCaptiveSigningWithUrl failed with "invalid captive signing url". The 4.3.0 binary only knows the signing/mtredeem/ path; 4.4.0 also knows docusign.com/authenticate, and its release notes list "Captive (embedded) signing fails to launch for certain accounts" as fixed. DSMManager.h, DSMEnvelopesManager.h and DSMNotificationCodes.h are byte-identical, and so are the setup keys the module reads. DSMErrorCodes.h only appends offline signing codes from 1074 up, so existing native.code values do not move. Packaging is unchanged: the same two vendored xcframeworks, with privacy manifests. The SDK minimum moves from iOS 12.0 to 15.0, below this module's 15.1. Verified in an Expo SDK 57 app on an iOS simulator, against a DocuSign demo account that returns apps-d.docusign.com/authenticate URLs: 4.3.0 rejected the URL, 4.4.0 opened the signing ceremony. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 ++++++ README.md | 6 +++--- ios/ReactNativeDocuSign.podspec | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9f30b2..30ff212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Next + +### Native SDKs + +- **iOS**: DocuSign iOS SDK 4.3.0 to 4.4.0. For some accounts, DocuSign now returns recipient view URLs such as `https://apps-d.docusign.com/authenticate?code=...` instead of a `Signing/MTRedeem` URL. DocuSign 4.3.0 only opens `Signing/MTRedeem` URLs, so `presentCaptiveSigningWithUrl` rejected these with a `DocuSignError` whose message contains `has invalid captive signing url`. DocuSign 4.4.0 opens both, and lists the fix as "Captive (embedded) signing fails to launch for certain accounts". It raises the SDK's minimum to iOS 15.0, below this module's 15.1. A project with a committed `Podfile.lock` needs `pod update DocuSign`. + ## 2.0.1 ### Fixes diff --git a/README.md b/README.md index 17237fb..efd9ed3 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ The React Native layer never renders any of the signing UI. It only triggers the | Platform | Minimum OS | SDK version | Language | | -------- | -------------------- | -------------------------- | ----------- | -| iOS | 15.1 | DocuSign iOS SDK 4.3.0 | Swift 5.9 | +| iOS | 15.1 | DocuSign iOS SDK 4.4.0 | Swift 5.9 | | Android | API 24 (Android 7.0) | DocuSign Android SDK 2.1.7 | Kotlin 2.1+ | **Runtime requirements:** @@ -107,7 +107,7 @@ The React Native layer never renders any of the signing UI. It only triggers the The DocuSign native SDKs are **NOT bundled** inside this npm package. They are declared as external dependencies and resolved at consumer build time: -- **iOS**: the `DocuSign` pod (`~> 4.3.0`) from the public CocoaPods trunk, declared by this package's podspec +- **iOS**: the `DocuSign` pod (`~> 4.4.0`) from the public CocoaPods trunk, declared by this package's podspec - **Android**: `com.docusign:androidsdk:2.1.7` from DocuSign's Maven repository (the config plugin adds the repo automatically) ### Android Glide collision workaround @@ -959,7 +959,7 @@ The module uses `appContext.activityProvider.currentActivity` to get the current | This package version | Expo SDK | React Native | iOS SDK | Android SDK | | -------------------- | -------- | ------------ | ------------------ | ---------------------- | | 1.0.x | 55.x | 0.82.x | DocuSign iOS 4.1.1 | DocuSign Android 2.1.4 | -| 2.0.x | 55.x+ | 0.85.x+ | DocuSign iOS 4.3.0 | DocuSign Android 2.1.7 | +| 2.0.x | 55.x+ | 0.85.x+ | DocuSign iOS 4.4.0 | DocuSign Android 2.1.7 | ## Limitations diff --git a/ios/ReactNativeDocuSign.podspec b/ios/ReactNativeDocuSign.podspec index 9c1a0d9..1ba4594 100644 --- a/ios/ReactNativeDocuSign.podspec +++ b/ios/ReactNativeDocuSign.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.static_framework = true s.dependency 'ExpoModulesCore' - s.dependency 'DocuSign', '~> 4.3.0' + s.dependency 'DocuSign', '~> 4.4.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES',