@react-native-firebase/analytics 23.8.6 → 23.8.8
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,18 @@
|
|
|
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
|
+
## [23.8.8](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.8) (2026-03-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **analytics, android:** use Parcelable for items serialization in logEvent ([#8879](https://github.com/invertase/react-native-firebase/issues/8879)) ([1fa290f](https://github.com/invertase/react-native-firebase/commit/1fa290f9a6a9f6e5b27e0d7ccd4a7b57cee7453b))
|
|
11
|
+
|
|
12
|
+
## [23.8.7](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.7) (2026-03-12)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **analytics, android:** use Parcelable for items serialization in logEvent ([#8879](https://github.com/invertase/react-native-firebase/issues/8879)) ([1fa290f](https://github.com/invertase/react-native-firebase/commit/1fa290f9a6a9f6e5b27e0d7ccd4a7b57cee7453b))
|
|
17
|
+
|
|
6
18
|
## [23.8.6](https://github.com/invertase/react-native-firebase/compare/v23.8.5...v23.8.6) (2026-02-03)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
|
@@ -197,13 +197,28 @@ public class ReactNativeFirebaseAnalyticsModule extends ReactNativeFirebaseModul
|
|
|
197
197
|
if (bundle == null) {
|
|
198
198
|
return null;
|
|
199
199
|
}
|
|
200
|
+
|
|
200
201
|
ArrayList itemsArray = (ArrayList) bundle.getSerializable(FirebaseAnalytics.Param.ITEMS);
|
|
201
|
-
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
if (itemsArray != null) {
|
|
203
|
+
if (itemsArray.isEmpty()) {
|
|
204
|
+
bundle.putParcelableArray(FirebaseAnalytics.Param.ITEMS, new Bundle[0]);
|
|
205
|
+
} else {
|
|
206
|
+
ArrayList<Bundle> validBundles = new ArrayList<>();
|
|
207
|
+
for (Object item : itemsArray) {
|
|
208
|
+
if (item instanceof Bundle) {
|
|
209
|
+
Bundle itemBundle = (Bundle) item;
|
|
210
|
+
if (itemBundle.containsKey(FirebaseAnalytics.Param.QUANTITY)) {
|
|
211
|
+
double number = itemBundle.getDouble(FirebaseAnalytics.Param.QUANTITY);
|
|
212
|
+
itemBundle.putInt(FirebaseAnalytics.Param.QUANTITY, (int) number);
|
|
213
|
+
}
|
|
214
|
+
validBundles.add(itemBundle);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
bundle.putParcelableArray(
|
|
218
|
+
FirebaseAnalytics.Param.ITEMS, validBundles.toArray(new Bundle[0]));
|
|
205
219
|
}
|
|
206
220
|
}
|
|
221
|
+
|
|
207
222
|
if (bundle.containsKey(FirebaseAnalytics.Param.EXTEND_SESSION)) {
|
|
208
223
|
double number = bundle.getDouble(FirebaseAnalytics.Param.EXTEND_SESSION);
|
|
209
224
|
bundle.putLong(FirebaseAnalytics.Param.EXTEND_SESSION, (long) number);
|
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "23.8.
|
|
1
|
+
export declare const version = "23.8.8";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/lib/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '23.8.
|
|
2
|
+
export const version = '23.8.8';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/analytics",
|
|
3
|
-
"version": "23.8.
|
|
3
|
+
"version": "23.8.8",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
|
|
6
6
|
"main": "./dist/module/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"analytics"
|
|
24
24
|
],
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@react-native-firebase/app": "23.8.
|
|
26
|
+
"@react-native-firebase/app": "23.8.8"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"node_modules/",
|
|
66
66
|
"dist/"
|
|
67
67
|
],
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "d17b898bee0be82259fc1b88f46106a927bf81aa"
|
|
69
69
|
}
|