mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[firestore] Ignore timestampsInSnapshotsEnabled on iOS
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user