Closed edpatrick closed 2 years ago
Could this happen if the user clears their storage while an IDB connection is open?
It could be, I couldn't replicate that though. We ended up stripping out idb and using an alternative approach. I'll close this issue now if it isn't a problem for others.
Thanks for this package, it's great!
I'm having this error "UnknownError: Database deleted by request of the user" reported to our error reporting system and I'm having trouble replicating. I suspect the issue may be with the Safari implementation of indexedDB but posting here in case anyone has any suggestions or has encountered anything similar.
It seems to affect only users on:
I think the source of the error is this line in webkit https://github.com/WebKit/WebKit/blob/e98ff129bc8eba06ac17105f19c5f0e142aab853/Source/WebCore/Modules/indexeddb/shared/IDBError.h#L40
It seems to relate to the server connection closing.
A simplified version of our implementation:
Some of the things I have tried to replicate (on iOS 14.7.1):
Appreciate this might not be the right forum as it is likely not an issue with this package but, if anyone has any ideas or has come across this error before, any suggestions welcome!