From feb1315f84b558ce2696e6fed89e0e6b8663da5c Mon Sep 17 00:00:00 2001 From: Chris Bianca Date: Fri, 13 Apr 2018 10:10:05 +0100 Subject: [PATCH] [firestore] Ignore timestampsInSnapshotsEnabled on iOS --- ios/RNFirebase/firestore/RNFirebaseFirestore.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/RNFirebase/firestore/RNFirebaseFirestore.m b/ios/RNFirebase/firestore/RNFirebaseFirestore.m index f3a53bd4..e6fbf9f5 100644 --- a/ios/RNFirebase/firestore/RNFirebaseFirestore.m +++ b/ios/RNFirebase/firestore/RNFirebaseFirestore.m @@ -354,7 +354,8 @@ RCT_EXPORT_METHOD(settings:(NSString *)appDisplayName firestoreSettings.sslEnabled = settings[@"ssl"]; } if (settings[@"timestampsInSnapshots"]) { - firestoreSettings.timestampsInSnapshotsEnabled = settings[@"timestampsInSnapshots"]; + // TODO: Enable when available on Android + // firestoreSettings.timestampsInSnapshotsEnabled = settings[@"timestampsInSnapshots"]; } [firestore setSettings:firestoreSettings]; resolve(nil);