apache / apache/pouchdb

Attachments are less stable when switching from idb to indexeddb adapter.

Open
#9,073 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

I have an Ionic/Angular application built for ios devices which works with text data and images (stored as attachments). Recently, we've switched from using the idb adapter to the indexeddb adapter to gain access to the purge function, but we're now noticing errors related to attachments which we hadn't encountered when using the idb adapter. Mainly, when using the ```put``` or ```bulkDocs``` functions to update attachments, we'll sometimes get the error: "Error preparing Blob/File data to be stored in object store". Does anyone have thoughts/ideas on why this is happening? Thanks in advance.

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.