-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashes on Version 6.23.0..6.23.2 when adding account while timeouts on 6.23.3..6.23.4 #1422
Comments
Hello. Can you tell me exactly which function you are calling? Do you mean PayPal account tokenization? Please specify exactly which flow in our Braintree iOS SDK you are invoking. If you can reproduce this in our demo app and upload a video, it would be most helpful. The crashes in 6.23.2 is a known issue. We will try to see if we can reproduce the issue on 6.23.3+ with more information from you. Thank you! |
Hello, we use vaulting |
Thank you. A video of what happens in the demo app would be helpful as well. |
i am not able to reproduce it in the demo app but from debugging our app i got the following info The function getConfig() times out before completion, resulting in the following errors:
The error suggests that the NSURLSessionTask is resuming with a nil URL, which eventually causes the request to time out. |
Thank you for the information. That is very helpful. Does this only happen with vault operation in your app or also with other methods in your app like PayPal Checkout (tokenize with PayPalCheckoutRequest) or tokenize with Card? We are still working on reproducing this error with our demo app. |
Here's the pseudo-code showing how we initialize
This function is called after we've obtained a client token from our server:
|
Thank you. We are investigating. Would you be able to file this issue on https://developer.paypal.com/braintree/help as well so Also, are you using tokenization key or client token to initialize the BTAPIClient? |
sure i'll file the issue there. we use client token to initialize the BTAPIClient |
also we downgraded to 6.18.2 and its working for us there both on sandbox and production |
That's very helpful. Thank you for your patience. We will look out for your issue to track down your transaction in our logs. |
Braintree SDK Version
6.23.2
Environment
Sandbox
Xcode Version
Xcode 15.4
OS Version & Device
iPhone 15Pro 17.6
Integration type
CocoaPods
Development Processor
Apple Silicon (M-series chips)
Describe the bug
I am experiencing a critical issue with the Braintree iOS SDK versions 6.23.0 through 6.23.2, where the app crashes when attempting to add an account. The crash seems to be related to the analytics handling within the SDK, particularly in the sendQueuedAnalyticsEvents function.
Additionally, after upgrading to versions 6.23.3 and 6.23.4, I am encountering timeouts when performing similar operations, which prevents successful account addition.
To reproduce
Steps to Reproduce:
Expected behavior
Expected Behavior:
The app should allow for successful account addition without crashing or timing out.
Screenshots
No response
The text was updated successfully, but these errors were encountered: