woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
276 stars 134 forks source link

[Woo POS] Flow broken when Activity dies #12027

Closed malinajirka closed 3 weeks ago

malinajirka commented 1 month ago

Describe the bug When the user is located on the product selection screen, they put the app into the background and the activity dies, the recreated state doesn't have checkout button (it seems to be in the checkout stage even though the rest of the screen is still in the product selection stage). To Reproduce Steps to reproduce the behavior:

  1. Enable 'Don't keep activities' in dev settings
  2. Open POS
  3. Select a product
  4. Put the app into the background
  5. Bring it back to the front
  6. Notice "Checkout button" is missing and the cart has "back" arrow.

Screenshots image

Expected behavior The state should be identical even after recreation - teh checkout button should be visible and back arrow on the cart should be hidden.

dangermattic commented 1 month ago

Thanks for reporting! 👍