bug: error preparing Blob/File data to be stored in object store
- Lingua principale
- JavaScript
- Stelle
- 17.6k
- Fork
- 1.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Issue
iOS + Capacitor + Pouch - attachments storage causes intermittent app crash:
> error preparing Blob/File data to be stored in object store
Related issues:
(latest): https://github.com/dexie/Dexie.js/issues/1919
https://github.com/dexie/Dexie.js/issues/1227
https://bugs.webkit.org/show_bug.cgi?id=188438
https://github.com/localForage/localForage/issues/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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando le issue correlate di Dexie.js, WebKit e localForage, quindi traccia il percorso dell’adapter IndexedDB di PouchDB per preparare i dati Blob/File. Un risultato utile sarebbe una riproduzione affidabile su Capacitor iOS e una correzione confermata oppure una soluzione alternativa documentata per i crash durante l’archiviazione degli allegati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- databases, mobile-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100