Closed malinajirka closed 1 month ago
Thanks for reporting! 👍
We should definitely debounce the button taps. I was able to get it frozen in this state before connecting the reader:
Draft PR is here: https://github.com/woocommerce/woocommerce-android/pull/12177
Describe the bug When I click on the 'Collect payment' button multiple times, the app starts multiple card reader connection flows => when I attempt to cancel them, the app sometimes crash.
To Reproduce Steps to reproduce the behavior:
Expected behavior Multiple clicks on the collect payment button should still start only a single connection flow.
Logs