We would like Cashtab to be available as a mobile app. Currently, it is available as a webapp and a browser extension.
Both the extension and the webapp are using indexedDb, i.e. web storage. This is the best we can do with a web browser for a web app. However, we want to support native mobile storage for mobile apps, and we also want to support the chrome storage API for the extension (which is persistent).
In this diff, we init an abstraction layer for Cashtab's storage. For now we only support the extension. We migrate web storage to extension storage API.
After this, we will add support for iOS and Android native storage for capacitor.