Skip to content

indexeddb issue on iOS 18+ #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vladansaracpv opened this issue Apr 10, 2025 · 2 comments
Open

indexeddb issue on iOS 18+ #324

vladansaracpv opened this issue Apr 10, 2025 · 2 comments

Comments

@vladansaracpv
Copy link

Is anyone aware of any issues regarding the ionic/storage-angular with indexeddb?

I have seen lately a lot of issues with my customers on iOS 18+.

It looks as if the storage.create method returns early - as if the storage is not properly initialized yet. Or if the db connection is being lost.

It resembles issues reported here:
https://bugs.webkit.org/show_bug.cgi?id=277615
https://bugs.webkit.org/show_bug.cgi?id=282093
https://bugs.webkit.org/show_bug.cgi?id=197050

@jmonloop
Copy link

jmonloop commented May 8, 2025

We are not getting any errors but when storing a File on iOS and retrieving it, it gets corrupted. The metadata is kept but the internal data gets broken and the File is no longer working. When sending it within a FormData through an http request, the Content-Length header value is too small, which is a syntom of the File data being wrong.

It works when storing it on Android and Web though but can't make it work on iOS

@vladansaracpv
Copy link
Author

We're getting these kind of errors:

Uncaught (in promise): UnknownError: Connection to Indexed Database server lost. Refresh the page to try again

Re-creating storage doesn't help, so the only solution is to restart the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants