woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
312 stars 112 forks source link

[Woo POS] Persistence of data outside of the current POS session #13142

Open iamgabrielma opened 4 months ago

iamgabrielma commented 4 months ago

Reference: pdfdoF-55G-p2

Caching the data in-memory for the POS session allows us to not delve into storage complexities right now, when it’s not necessary for the initial MVP iteration. It also solves the issue of when/how clear data, as this just happens with the normal lifecycle when the merchant leaves the POS mode. [...] the next iteration for this solution could be to keep them cached in memory even when the user leaves the POS, and clear them on app restart only.

dangermattic commented 4 months ago

Thanks for reporting! 👍