Repository navigation
Replies: 3 comments 1 reply
|
I found it, Storage.clear(). Still confused because on progressive web apps Storage falls back to localstorage and clear() does clear. What I do not yet understand is why IndexedDB still has entries and continues to record with every camera shot? Shouldn't this get cleared as well? |
0 replies
|
Can you elaborate on how you're taking photos? Share some code, which Capacitor plugins you're using, etc. |
1 reply
|
From the tutorial, we save the photos into the So that would explain why they don't exist. Now, the error you posted says that the Folder doesn't exist. Could that be because you're running this on the web? Does it work on mobile? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am creating an Ionic(Angular) app and taking photos with the camera that will ultimately be done with a mobile. I am wondering how can I clear the indexedDB with capacitorjs? Should I use something else that is also compatible with mobile or can I do it with capacitor?
Basically, what I want to achieve is upon each new photo taken with camera, the indexedDB would clear before storing a new photo.
Thanks
All reactions