Closed Chaos2805 closed 1 year ago
Hi @Chaos2805 thanks for using the Braintree SDK. For context, we stopped lowercasing the applicationId
used for creating a custom URL scheme because capital letters are still valid URL characters according to RFC 2396.
Can you provide a snippet of your AndroidManifest.xml
?
Original code before upgrade to 6.11.0
After upgrade to 6.11.0, it able redirect back to app after adding paypal but always return UserCanceled error.
And the main root cause i found is deeplink url = "com.project.whitecoat.braintree://onetouch/v1/success?token=EC-6FR52205SB437450R&ba_token=BA-1P1504025R832413F" and matchDeepLinkUrlScheme function using package name which is "com.project.WhiteCoat.braintree"
I wonder where to change the deeplink url return.
The success-url paased into browserSwitchRequest was with capped
but returned deeplink url was in small capital letter
@sshropshire
@sshropshire any update and able to fix it shortly? As we need update our app this week. Playstore required com.braintreepayments.api:data-collector update to atleast v4.31.0, but hit this issue after update it and make PayPal unable to function properly
@sarahkoop can you assist on this?
@Chaos2805 We are working on a fix for this issue. We will post an update here when it's available.
@sshropshire @sarahkoop Can I get updates for this issue?
@Chaos2805 thanks for your patience. We'll be providing an update soon. In the meantime, you can preview our 4.37.1-SNAPSHOT release to ensure that the issue is resolved.
Hi @sshropshire , I tried 4.37.1-SNAPSHOT release and it working now
Hi @Chaos2805 - This fix has been released in version 4.38.2
of the Braintree Android SDK and version 6.13.0
of the Drop-in SDK. Closing this as resolved but please re-open if you continue to experience issues!
Braintree SDK Version
6.11.0
Environment
Sandbox
Android Version & Device
No response
Braintree dependencies
[NA](com.braintreepayments.api:drop-in:6.11.0
Describe the bug
For my case, I upgrade drop-in SDK from 6.5.0 to 6.11.0, and i found that previously BraintreeClient will convert default params to lowercase, and now it removed. In my application the applicationId contains capital letter, I think the scheme is not accepting capital case, since it prompt AppLinkUrlError if I put capital for android:scheme.
I found the BrainTreeClient constructor able to pass the custom url scheme, but on top DropInClient not able to modify the setting of BrainTreeClient
To reproduce
Expected behavior
Should able back to app
Screenshots
No response