Closed iamgabrielma closed 1 week ago
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
App Name | WooCommerce iOS | |
Build Number | pr12653-94ce669 | |
Version | 18.5 | |
Bundle ID | com.automattic.alpha.woocommerce | |
Commit | 94ce669b8df1bea71c61818459f39c9db5fb616d | |
App Center Build | WooCommerce - Prototype Builds #8966 |
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
Thanks for the review!
During testing, I noticed that the POS menu item didn't appear right after turning on the feature switch and going back to the Menu tab. I had to switch to another tab then back to the Menu tab to see it
Yes, I found the same as well when testing, sorry I should have been clearer in the testing instructions:
- Go back to menu and switch stores (switch back or not), so the settings state reloads
This seems to happen for all experimental beta features that should show a new row within settings, in this case both IAP and POS toggle rows. I haven't look into it but perhaps because the app state is not refreshed properly and the rows not re-rendered with the new data just navigating to the settings view?
If we keep this entry point we can aim to resolve it sooner, for the moment I've logged it here: https://github.com/woocommerce/woocommerce-ios/issues/12660 🙇
Description
This PR adds a temporary entry point in the app for the POS feature. At the moment is simply a SwiftUI view with no content, and no ability to navigate back to the woo app via top or bottom navigation. It just to acts as a canvas for further work while further decisions are being made.
The entry point is located under Menu > Settings, and will only appear for debug builds that have the experimental toggle
Point Of Sale
enabled. This will also check if the current device is an iPad or iPhone and present a conditional view in each case.Testing instructions
Release
Release
configuration:Point Of Sale
Debug
Debug
configuration:On
WooCommerce Point Of Sale
text. No navigation view or app main tab bars.