I work on a bare react-native project where i have to use firebase persistence. I use react-native-firebase package to do all my request.
When i write offline with react-native-firebase/firestore and then go online, it sync with backOffice.
firestore().collection(col).add(data)
When i update data with react-native-firebase/firestore and then go online, it sync with backOffice.
firestore().collection(col).doc(id).update(data)
But when i write offline and then update this new data (offline), when i go online data disapear like the pending request are not sync.
Any idea why ?
thanks