@react-native-firebase/firestore 19.3.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [20.1.0](https://github.com/invertase/react-native-firebase/compare/v20.0.0...v20.1.0) (2024-06-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/firestore
|
|
9
|
+
|
|
10
|
+
## [20.0.0](https://github.com/invertase/react-native-firebase/compare/v19.3.0...v20.0.0) (2024-05-20)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **firestore, android:** remove usage of Guava library ([d6f62a3](https://github.com/invertase/react-native-firebase/commit/d6f62a3b374e321a86d97cd2765cc91b1f006e29))
|
|
15
|
+
|
|
6
16
|
## [19.3.0](https://github.com/invertase/react-native-firebase/compare/v19.2.2...v19.3.0) (2024-05-20)
|
|
7
17
|
|
|
8
18
|
### Features
|
package/android/build.gradle
CHANGED
|
@@ -28,7 +28,6 @@ import com.facebook.react.bridge.ReadableMap;
|
|
|
28
28
|
import com.facebook.react.bridge.ReadableMapKeySetIterator;
|
|
29
29
|
import com.facebook.react.bridge.WritableArray;
|
|
30
30
|
import com.facebook.react.bridge.WritableMap;
|
|
31
|
-
import com.google.common.collect.Iterables;
|
|
32
31
|
import com.google.firebase.Timestamp;
|
|
33
32
|
import com.google.firebase.firestore.Blob;
|
|
34
33
|
import com.google.firebase.firestore.DocumentChange;
|
|
@@ -199,10 +198,12 @@ public class ReactNativeFirebaseFirestoreSerialize {
|
|
|
199
198
|
boolean isMetadataChange = false;
|
|
200
199
|
if (checkIfMetadataChange) {
|
|
201
200
|
int hashCode = documentChange.hashCode();
|
|
202
|
-
DocumentChange exists =
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
DocumentChange exists = null;
|
|
202
|
+
for (DocumentChange docChange : comparableDocumentChanges) {
|
|
203
|
+
if (docChange.hashCode() == hashCode) {
|
|
204
|
+
exists = docChange;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
206
207
|
|
|
207
208
|
// Exists in docChanges with meta, but doesnt exist in docChanges without meta
|
|
208
209
|
if (exists == null) {
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '
|
|
2
|
+
module.exports = '20.1.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/firestore",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.1.0",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline capabilities.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"firestore"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@react-native-firebase/app": "
|
|
30
|
+
"@react-native-firebase/app": "20.1.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "99819b9cef23ac46080cbffe50cc85083305d04c"
|
|
36
36
|
}
|