Is it possible to use PouchDB with local sqlite in mobile project?

I trying to understand the options for PouchDB. It seems like it can be used for persistent storage for a browser.

I added the PouchDB component to a page.
image

I then tried to use an app flow to insert records into PouchDB, but it’s not working
image

I’m getting a few console errors.


image

Looks like something is expecting pouchdb.js instead of pouchdb.min.js. Wappler only included the minified file. After adding the pouchdb.js file the errors went away.

Do you have any other pouchdb includes in your page? there should be also a separated indexeddb include.

Yes, there is an indexeddb.min.js. The only file that was missing was pouchdb.js. Not sure why it would not recognize the pouchdb.min.js, but once I added pouchdb.js the errors went away.