Closed paolomanca closed 2 years ago
@paolomanca thanks for using the Braintree SDK for Android and for filing this bug! This is a great catch, there was an oversight with the unit test scaffolding. We've created a PR and hope to have this fix out soon.
Hi @sshropshire, do you have an ETA for a release?
@paolomanca thank you for your patience. We don't have an exact ETA but there are some additional fixes we're looking to get merged in. Once those are approved/merged we'll push a release.
General information
Issue description
On version 6.1.0 I don't receive any result when the user dismisses the drop in. I think the intended behaviour was to return a
DropInResult
withUserCanceledException
fromDropInListener#onDropInFailure
. However, inDropInActivityResultContract#parseResult
this logic is conditioned tointent != null
, which is always false forRESULT_CANCELED
, leading to no result being produced.