@react-native-firebase/analytics 23.1.2 → 23.2.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,12 @@
|
|
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.2.0](https://github.com/invertase/react-native-firebase/compare/v23.1.2...v23.2.0) (2025-08-29)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **analytics, ios:** reject getSessionId call if id is zero ([9d2a393](https://github.com/invertase/react-native-firebase/commit/9d2a393e1bcbb3fe9b577abc6892115acd2f78e1))
|
11
|
+
|
6
12
|
## [23.1.2](https://github.com/invertase/react-native-firebase/compare/v23.1.1...v23.1.2) (2025-08-25)
|
7
13
|
|
8
14
|
**Note:** Version bump only for package @react-native-firebase/analytics
|
@@ -129,6 +129,13 @@ RCT_EXPORT_METHOD(getSessionId
|
|
129
129
|
: (RCTPromiseResolveBlock)resolve rejecter
|
130
130
|
: (RCTPromiseRejectBlock)reject) {
|
131
131
|
[FIRAnalytics sessionIDWithCompletion:^(int64_t sessionID, NSError *_Nullable error) {
|
132
|
+
// Occasionally sessionID is 0 despite nil error, reject as if it were an error
|
133
|
+
// https://github.com/firebase/firebase-ios-sdk/issues/15258
|
134
|
+
if (!error && [NSNumber numberWithLongLong:sessionID] == 0) {
|
135
|
+
DLog(@"Error getting session ID: sessionID is zero despite nil error");
|
136
|
+
return resolve([NSNull null]);
|
137
|
+
}
|
138
|
+
|
132
139
|
if (error) {
|
133
140
|
DLog(@"Error getting session ID: %@", error);
|
134
141
|
return resolve([NSNull null]);
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '23.
|
2
|
+
module.exports = '23.2.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/analytics",
|
3
|
-
"version": "23.
|
3
|
+
"version": "23.2.0",
|
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": "lib/index.js",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"analytics"
|
23
23
|
],
|
24
24
|
"peerDependencies": {
|
25
|
-
"@react-native-firebase/app": "23.
|
25
|
+
"@react-native-firebase/app": "23.2.0"
|
26
26
|
},
|
27
27
|
"publishConfig": {
|
28
28
|
"access": "public",
|
@@ -31,5 +31,5 @@
|
|
31
31
|
"dependencies": {
|
32
32
|
"superstruct": "^2.0.2"
|
33
33
|
},
|
34
|
-
"gitHead": "
|
34
|
+
"gitHead": "7c862f8ac932bb7d32d29bc538e533f87dee9a10"
|
35
35
|
}
|