This PR extracts Cardinal cleanup functionality into it's own CardinalClient method
Calling CardinalClient.cleanup() in ThreeDSecureActivity gives the Cardinal SDK enough time to finish it's async method invocations before injecting the ProgressDialog into the merchant UI
Potential fix for #982
Checklist
[x] Added a changelog entry
[x] Relevant test coverage
Authors
List GitHub usernames for everyone who contributed to this pull request.
Summary of changes
CardinalClient
methodCardinalClient.cleanup()
inThreeDSecureActivity
gives the Cardinal SDK enough time to finish it's async method invocations before injecting the ProgressDialog into the merchant UIChecklist
Authors