2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[firestore] Ignore timestampsInSnapshotsEnabled on iOS

This commit is contained in:
Chris Bianca 2018-04-13 10:10:05 +01:00
parent b0abf23c6d
commit feb1315f84

View File

@ -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);