Post

Replies

Boosts

Views

Activity

Comment on IndexedDB - Random dataloss on iOS
My solution is to check the connection to the database and retry 20 times, if its not working then I show the user a popup asking them to reload the app. Mainly this is needed when the user sends the app into background and put it in foreground. Thats why I attach to the event when the app is resumed and check a database entry.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’25