Can I just check/confirm whether react-native-firebase, used in react-native (for IOS & Android app development) supports online/offline feature mentioned at https://firebase.google.com/docs/firestore/manage-data/enable-offline?
I note the google firestore page it says "Note: Offline persistence is supported only in Android, iOS, and web apps.", and doesn't mention Node or give any node examples (like it does for other features). So questions I guess are:
thanks
@callagga by default for the native android and iOS SDK's (which we use internally) offline persistence is already pre-enabled, so there's nothing you need to do your end, things will automatically persist / work offline.
1 - Web SDK + we also have reference docs for the API: https://rnfirebase.io/docs/v3.0.*/firestore/reference/firestore
2 - Yes, see first statement.
3 - Code is exactly the same, nothing different needed for offline persistence. We have a walk through on a basic todo app using firestore if it helps: https://medium.com/@elliothesp/b338fb6525b9
4 - N/A
Hey Salakar.
I'm looking for disabling 'offline persistence' for my react-native-firestore.
So it's not possible at this time?
Most helpful comment
Hey Salakar.
I'm looking for disabling 'offline persistence' for my react-native-firestore.
So it's not possible at this time?