CRUD operations in offline mode - Firestore - Android #5244
Replies: 1 comment 7 replies
-
This may be due to underlying platform differences - I strongly suspect it is actually. https://github.com/firebase/quickstart-ios/tree/master/firestore I strongly recommend checking both of those repo's issues list (especially android since that appears to be the platform not meeting expectations?) to see if they have anything. Also make absolutely sure you are on the most up to date react-native-firebase version so you have the updated native SDKs |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a where clause based on modified_date (firestore servertimestamp) field
where('md', '>=', last_fetch_firestore_timestamp)
, I get the document in IOS even when offline. The metadata.hasPendingWrites of the document would be true (even though the modified_date field value is now null) But the same scenario fails on android.
Note: where clause is required. Pl let me know what am I missing here. Thanks
Beta Was this translation helpful? Give feedback.
All reactions