braintree / braintree_ios

Braintree SDK for iOS
https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5
MIT License
560 stars 296 forks source link

App Crashes on Version 6.23.0..6.23.2 when adding account while timeouts on 6.23.3..6.23.4 #1422

Open initishbhatt opened 1 week ago

initishbhatt commented 1 week ago

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

KunJeongPark commented 1 week ago

Hello. Can you tell me exactly which function you are calling? Do you mean PayPal account tokenization? Checkout or vaulting (saving payment method)? Code snippets you used from our SDK would be helpful.

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. Also output warnings or error outputs you have would also be helpful in trying to identify the issue.

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!

initishbhatt commented 4 days ago

Hello, we use vaulting BTPayPalVaultRequest. the issue occurs with tokenising BTPayPalClient. i'll try with the demo app to try and reproduce the issue and also get some output logs from our app

KunJeongPark commented 4 days ago

Thank you. A video of what happens in the demo app would be helpful as well.