IndexDB available: true
- Might not bother with offline support? Make network connection a requirement (cite many similar services; possibly our competitors?).
- Alternatively, have a standalone offline-only app which has a local Postgres database? Could we use Postgres replication to sync?
-
What really needs to sync while offline? Standard formula book is
one-way (server to client).
- Custom formulas being added/managed per store?
- Dispensing statistics (upload only)?
- How much data is a large formula book after it's been optimized? Can we store that much in a PWA? Look into Safari restrictions (deletes data after a certain period of time if the app isn't 'installed').
- Download data à la carte? https://medium.com/swlh/how-to-make-your-pwa-offline-on-demand-7566d2f59280
- Compare to competitors' offerings? (e.g. Corob pushing a modern UX)