I'm building an application in Angular 8 with PWA. It is a Travel Refund where the user sends pictures of his invoices through the app. Then saves in a database when online and if the user is offline, the app saves in IndexedDb. When online again, the app look for pending uploads in IDB and then does. I don't want to save the image itself 'cause IDB has a limit cache memory in some browsers, so I chose to save the image path so that the application could find it later.
That's when my problem appears, I try to save in IDB the image full path to get it later when online, but some browsers don't allow it for security reasons. So, there is another way to do it?