You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upgrading from 6.23.4 to 6.26.0 I saw that BTAppContextSwitcher.returnURLScheme is deprecated. I attempted to use BTVenmoClient.init(apiClient:, universalLink: URL) however I am getting the following error.
[BraintreeSDK] CRITICAL Venmo requires a return URL scheme to be configured via [BTAppContextSwitcher setReturnURLScheme:]
To reproduce
Initialize a BTVenmoClient without previously setting returnURLScheme.
Call BTVenmoClient.tokenize.
Observe Error
Expected behavior
If returnURLScheme is deprecated then universalLink should be a functioning alternative. Projects that treat warnings as errors cannot move forward with 6.26.0 as is. Alternatively, removing the deprecation warning temporarily until universalLink is implemented will resolve it.
Screenshots
No response
The text was updated successfully, but these errors were encountered:
Thanks for bringing this to our attention. We currently have PR #1503 up to resolve this issue. I will update you here once that PR has been merged and released.
Braintree SDK Version
6.26.0
Environment
Both
Xcode Version
Xcode 16.2
OS Version & Device
No response
Integration type
Prebuilt Binaries / Other
Development Processor
Apple Silicon (M-series chips)
Describe the bug
While upgrading from
6.23.4
to6.26.0
I saw thatBTAppContextSwitcher.returnURLScheme
is deprecated. I attempted to useBTVenmoClient.init(apiClient:, universalLink: URL)
however I am getting the following error.To reproduce
BTVenmoClient
without previously settingreturnURLScheme
.BTVenmoClient.tokenize
.Expected behavior
If
returnURLScheme
is deprecated thenuniversalLink
should be a functioning alternative. Projects that treat warnings as errors cannot move forward with6.26.0
as is. Alternatively, removing the deprecation warning temporarily untiluniversalLink
is implemented will resolve it.Screenshots
No response
The text was updated successfully, but these errors were encountered: