Skip to content

bug: error preparing Blob/File data to be stored in object store #9167

@PeterBaker0

Description

@PeterBaker0

Issue

iOS + Capacitor + Pouch - attachments storage causes intermittent app crash:

error preparing Blob/File data to be stored in object store

Related issues:

(latest): dexie/Dexie.js#1919
dexie/Dexie.js#1227
https://bugs.webkit.org/show_bug.cgi?id=188438
localForage/localForage#834

As in the top link, storing attachments into indexedDB as non blob e.g. B64 appears to resolve the issue (though less efficient). I cannot see an obvious way to more directly tell pouch in a given environment to not use blob storage.

Info

  • Environment: Capacitor iOS
  • Platform: Safari WebKit
  • Adapter: indexeddb (I think)
  • Server: CouchDB

Reproduce

We are seeing the issue intermittently and cannot reliably recreate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions