-
Notifications
You must be signed in to change notification settings - Fork 294
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
BTThreeDSecureDriver crashes sometimes when user taps cancel #329
Comments
@meismyles is this related to a specific version of your app? I wonder if it is related to the updates we've made? Is the version of Drop-in also the same? Kinda strange that it just started. |
@dermerino we only just pushed payments live end of last week so it is unrelated to the changes you made as they won't be in our public build. Maybe not strange that it just started since it seems to be an intermittent issue and all other issues we have reported are from our internal testing. It's only just gone out to a larger number of users so probably why it has just started. |
@meismyles Okay, so to clarify - the version of the SDK that is |
Ok, looks like someone updated to 4.8.0 without me noticing haha. So the live version crashing is 4.8.0. When you say potential fixes for this issue - you don't mean the double callback issue do you? This is slightly different (but maybe related, not sure). |
Any update on this? |
@meismyles I haven't been able to reproduce it but I'm thinking that the callback block has already been executed once and it is somehow being called again (customer rapidly hitting cancel/done?). So I'm thinking we can check to ensure the callback block is only called once and doing nothing if it is called a 2nd time. I'll work on a PR next week. |
Hey @demerino, did a potential fix for this go into 4.8.1? |
@meismyles No - the fix didn't go out yet. We're looking to get it out in the next release which is coming out this week. |
@demerino Ok great thanks 👍 |
This issue should be fixed (and we've added some analytics to track when the issue occurs). https://github.com/braintree/braintree_ios/releases/tag/4.8.2 |
Add PayPal intent
General information
Issue description
Crash that started appearing in Fabric over the weekend. Seems to happen when users hit cancel during 3D Secure. Unable to re-create this ourselves as of yet, but based on the stack trace (see below) potentially looks like an issue where the completion block is called and
nil
passed back when it shouldn't be nil. See here.The text was updated successfully, but these errors were encountered: