How to avoid data corruption when syncing in background React Native iOS, limited to 30 sec? #1722
bluepuma77
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We did some research, so far very little seems to be posted about WatermelonDB corrupting data (in extreme situations).
Our use case seems a bit special, we would like to send silent push notifications to React Native on iOS to trigger a DB sync. The challenge we might find is that iOS will pause/kill those background-jobs after about 30 seconds. They might be resumed when starting the app.
How can we ensure that the WatermelonDB will not be corrupted by our background processing?
Beta Was this translation helpful? Give feedback.
All reactions