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] Exit POS button sometimes re-opens the POS again #12026

Closed malinajirka closed 2 weeks ago

malinajirka commented 1 month ago

Describe the bug When the user taps on the Exit POS button and they confirm, the app sometimes navigates the user back to the POS (Jirka's note: Or the app actually crashes and there is another instance of the app right behind it).

To Reproduce Steps to reproduce the behavior:

  1. Go to More Menu -> POS
  2. Click on Exit POS
  3. Confirm
  4. Notice sometimes the POS is opened again.

Screenshots https://video.wordpress.com/v/LGwCyZTl

Expected behavior The app navigates the user to the More menu.

Mobile Environment Please include: Samsung Galaxy Tab S9 FE on Android 14

dangermattic commented 1 month ago

Thanks for reporting! 👍

backwardstruck commented 1 month ago

I know this was happening when building the app to launch directly to com.woocommerce.android.ui.woopos.root.WooPosActivity but you mean when opening the app, then navigating to POS through the more tab, right?

So far I can't reproduce on the emulator. I can try on my Samsung tablet next.

malinajirka commented 1 month ago

@lmischner experienced this behavior during the Test Charter testing - pdcxQM-3PY-p2#comment-3026. Lindsey, I assume you weren't using Android Studio to start the app on the POS screen right?

lmischner commented 1 month ago

@malinajirka -- Yes, can confirm, I was not building from Android studio. I was using this build

Let me know if any other info/help is needed!

backwardstruck commented 2 weeks ago

Still can't reproduce on emulator or tablet. I think it's either fixed or very rare. Also we have updated the UI, but I don't think that would have any effect:

Samsung Tab A9+ Screenshot_20240821_163437