In my Ionic 3 PWA, the user can take many photos (while offline). I’m successfully capturing the image data (as a base64-encoded string). Once they’re back online, they can tap a button to upload the photos to the server.
My question: what’s the best way to store this image data locally, until the user is ready to upload? I’m using IndexedDB to store other local data, but it doesn’t seem like a good option for large binaries.
ETA: if there’s a suitable API that’s only supported by particular browsers, I can require my users to install the PWA via that browser. I’ve already decided that I’ll need to require Android (for separate reasons).