mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-28 20:25:41 +08:00
[firestore][tests] Tests for most of the current functionality
This commit is contained in:
@@ -31,7 +31,9 @@ public class FirestoreSerialize {
|
||||
WritableMap documentMap = Arguments.createMap();
|
||||
|
||||
documentMap.putString(KEY_PATH, documentSnapshot.getReference().getPath());
|
||||
documentMap.putMap(KEY_DATA, objectMapToWritable(documentSnapshot.getData()));
|
||||
if (documentSnapshot.exists()) {
|
||||
documentMap.putMap(KEY_DATA, objectMapToWritable(documentSnapshot.getData()));
|
||||
}
|
||||
// Missing fields from web SDK
|
||||
// createTime
|
||||
// readTime
|
||||
|
||||
Reference in New Issue
Block a user