cordova-plugin-firebasex-firestore 2.0.1 → 2.0.3
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 +6 -0
- package/package.json +2 -1
- package/plugin.xml +2 -2
- package/src/ios/FirebasexFirestorePlugin.m +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# Version 2.0.3
|
|
2
|
+
- (ios) bugfix: fix boolean filter values in `fetchFirestoreCollection`/`listenToFirestoreCollection` being evaluated incorrectly (always `true`) due to an incorrect `NSNumber`-to-`BOOL` conversion in `getFilterValueAsType:valueIndex:typeIndex:`.
|
|
3
|
+
|
|
4
|
+
# Version 2.0.2
|
|
5
|
+
- fix: pin core plugin dependency to v2
|
|
6
|
+
|
|
1
7
|
# Version 2.0.1
|
|
2
8
|
- (ios) bugfix: pin `cordova-plugin-firebasex-core@^2.0.0` to ensure SPM version is available for `cordova-ios@8+`.
|
|
3
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cordova-plugin-firebasex-firestore",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Firestore module for cordova-plugin-firebasex",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "cordova-plugin-firebasex-firestore",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"keywords": ["cordova", "firebase", "firestore"],
|
|
23
23
|
"author": "Dave Alden",
|
|
24
24
|
"license": "MIT",
|
|
25
|
+
"types": "types/index.d.ts",
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"cordova-plugin-firebasex-core": "^2.0.0"
|
|
27
28
|
},
|
package/plugin.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
2
|
<plugin id="cordova-plugin-firebasex-firestore"
|
|
3
|
-
version="2.0.
|
|
3
|
+
version="2.0.3"
|
|
4
4
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
5
5
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<engine name="cordova-ios" version=">=7.0.0" />
|
|
16
16
|
</engines>
|
|
17
17
|
|
|
18
|
-
<dependency id="cordova-plugin-firebasex-core" />
|
|
18
|
+
<dependency id="cordova-plugin-firebasex-core" version="^2.0.0" />
|
|
19
19
|
|
|
20
20
|
<preference name="IOS_USE_PRECOMPILED_FIRESTORE_POD" default="false" />
|
|
21
21
|
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
|
|
191
191
|
if ([type isEqual:@"boolean"]) {
|
|
192
192
|
if ([typedValue isKindOfClass:[NSNumber class]]) {
|
|
193
|
-
typedValue = [NSNumber numberWithBool:typedValue];
|
|
193
|
+
typedValue = [NSNumber numberWithBool:[typedValue boolValue]];
|
|
194
194
|
} else if ([typedValue isKindOfClass:[NSString class]]) {
|
|
195
195
|
bool boolValue = [typedValue boolValue];
|
|
196
196
|
typedValue = [NSNumber numberWithBool:boolValue];
|