Giter VIP home page Giter VIP logo

Comments (3)

gilf avatar gilf commented on August 19, 2024

Hi,
Is it something that happen on Mobile Safari?
There is a known problem with Mobile Safari, Blobs and IndexedDB - See this Stack Overflow question
Also, as a workaround you can try using ArrayBuffer instead of Blob.
Let me know if the answer helped you.

from angular2-indexeddb.

alex-milburn avatar alex-milburn commented on August 19, 2024

Hey Gilf, thanks for replying. I managed to get around this by using ArrayBuffers (not ideal as i have to do some extra processing). I managed to get blobs working on Desktop Safari (turns out there was a problem with the index key path that i was using).

However, on Mobile Safari i ran into the 'unknown error' when trying to save the blob to indexeddb.

Something to be aware of - in the guide you use 'id' as the index key path (although it's not an actual property on the store). This was causing me issues as i had just blindly followed your guide. It wasn't until later that i found my indexeddb had issues due to this (mostly my fault to be honest).

Alex.

from angular2-indexeddb.

gilf avatar gilf commented on August 19, 2024

@alex-milburn thanks for the comment!

from angular2-indexeddb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.