apache / apache/pouchdb

Am I doing something terribly wrong or is PouchDB 8 not saving data quickly or reliably?

Open
#8,950 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### Issue
I've implemented a PouchDB database in the browser (it's an Android webview). I get very strange / unreliable results.
For example, when I save data for example strings to the database, the .get function sometimes returns all, sometimes it literally misses puts (retrieves less than what was inserted).
I thought maybe I made a mistake with my code, but strangely enough, if I close my app, reopen it which opens back the database, it has even less strings saved.
This was intended to be used entirely within browser and no sync.
Would that be why my results are inaccurate?

### Info
- Environment: Android WebView
- Platform: Android
- Adapter: None set, should I have explicitly set this?
- Server: None, is this a problem?

### Reproduce
Issues that others can reproduce are far easier to fix, we have a website that may help you provide a
live example of the bug @ https://pouchdb-bug-helper.glitch.me/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.