Closed francescocervone closed 2 months ago
Hi @francescocervone - Thanks for reporting this issue. We are actively investigating this and will post here when we have an update!
Hi @sarahkoop is there any update about this issue? It's our top issue with hundreds of crashes every month. Thanks.
Hello all. Please see version 4.48.0. We found a race condition recently where we were calling a CardinalSDK "cleanup" method too early, and applied a patch to resolve it. Feel free to re-open if the problem persists.
Braintree SDK Version
4.45.0
Environment
Production
Android Version & Device
No response
Braintree dependencies
Describe the bug
We are getting few crashes in production caused by
com.cardinalcommerce.shared.userinterfaces.ProgressDialog
. We had this crash since forever, but it seems to be increased starting from Braintree 4.43 (I'll attach screenshots below). Here you can find the stacktrace:For what it's worth, by reading our logs, it seems to be happening always after a 3D secure failure, usually with this stacktrace:
It does not happen on a particular device (we have Xiaomi, Samsung, Motorola, Huawei,...) or an OS version (we have almost all of them, from 7 to 14)
It's just a guess, but it might be probably related to the memory leak mentioned here? https://github.com/braintree/braintree_android/issues/898
To reproduce
Unfortunately I'm not able to reproduce the issue on the sandbox. Tested with some of the cards here and "Don't keep activities" flag on/off (which sometimes may cause issues like this).
Expected behavior
The app doesn't crash.
Screenshots