@Nemo wrote:
Hi everyone,
I just started learning about Couchbase (and more generally, about PWAs and mobile local storage), so I hope that my question hasn’t been answered elsewhere and that its answer is not too obvious.My question is, can Couchbase use the localstorage API?
More background information: I am trying to make an os and devices agnostic application using Ionic and Stenciljs. I have no specific application in mind, however, I want it to be able to use a local database (such as with Couchbase Mobile) in order to sync data from multiple users and between multiple devices.
I would like the user to be able to choose between using a PWA application through a web browser, or a native version of the same application.
The problem is that I am not sure if Couchbase could be used in a PWA application using the localstorage API or if it can only be used in a native Android/iOS one as an installed application.
In the best world, I would have a unique source code that would allow porting to any kind of devices/os.I have checked all around and while there are some answers that seems to fit my question (such as this one: Couchbase Lite from desktop browser (REST API)), I am still confused.
As I can’t find a similar question anywhere, I feel like the answer is obvious and there is something I miss.
Thanks in advance.
Posts: 1
Participants: 1