Skip to content

Commit 44bc02c

Browse files
authored
Bug fix: deepLinkFallbackUrlScheme null in deprecated VenmoClient constructor (#1376)
* add named parameters and changelog entry
1 parent 1da1b6d commit 44bc02c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Braintree Android SDK Release Notes
22

3+
## unreleased
4+
5+
* Venmo
6+
* Fixed bug in `VenmoClient` where `deepLinkFallbackUrlScheme` was not being set correctly in deprecated constructor
7+
38
## 5.14.0 (2025-07-23)
49

510
* PayPal

Venmo/src/main/java/com/braintreepayments/api/venmo/VenmoClient.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ class VenmoClient internal constructor(
9797
context: Context,
9898
authorization: String,
9999
returnUrlScheme: String? = null
100-
) : this(BraintreeClient(context, authorization, returnUrlScheme))
100+
) : this(
101+
BraintreeClient(
102+
context = context,
103+
authorization = authorization,
104+
deepLinkFallbackUrlScheme = returnUrlScheme
105+
)
106+
)
101107

102108
/**
103109
* Start the Pay With Venmo flow. This will return a [VenmoPaymentAuthRequestParams] that

0 commit comments

Comments
 (0)