EvanBacon / expo-native-firebase

🔥 Native Firebase Expo App (iOS, Android) Demo for Firestore, Notifications, Analytics, Storage, Messaging, Database 🚨
211 stars 41 forks source link

Firestore - All dates are null #22

Closed benfontan closed 5 years ago

benfontan commented 5 years ago

I installed all expo firebase modules in version 2.0, and expo in version 31. I store document in firebase firestore and when loading them, all returned dates are null. I believe there was a recent change made in firestore SDK to manage timestamps. The exact same operation on the same firestore data directly loaded with Web SDK is working fine.

benfontan commented 5 years ago

I updated EXFirebaseFirestore.podspec to force 'Firebase/Firestore', '~> 5.15.0' instead of leaving version number empty. This 5.15.0 version number is specified in RN Firebase. Maybe this should be corrected on your side too, waiting for RN Firebase to support correctly those new timestamps.