@react-native-firebase/perf 23.8.8 → 24.0.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,13 @@
|
|
|
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
|
+
## [24.0.0](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v24.0.0) (2026-04-01)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **messaging, expo:** retrieve expo-notification config if available, then deprecated notification ([#8663](https://github.com/invertase/react-native-firebase/issues/8663)) ([aa63174](https://github.com/invertase/react-native-firebase/commit/aa63174b997b62176964d9935929cb686b03f8b3))
|
|
11
|
+
- **perf, android:** gracefully handle metric/trace/screentrace nulls during module teardown ([#8946](https://github.com/invertase/react-native-firebase/issues/8946)) ([ded0be2](https://github.com/invertase/react-native-firebase/commit/ded0be2420e4b3bf0c2e51818f6f2d3c3bd502f6))
|
|
12
|
+
|
|
6
13
|
## [23.8.8](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.8) (2026-03-12)
|
|
7
14
|
|
|
8
15
|
### Bug Fixes
|
|
@@ -83,6 +83,10 @@ public class UniversalFirebasePerfModule extends UniversalFirebaseModule {
|
|
|
83
83
|
return Tasks.call(
|
|
84
84
|
() -> {
|
|
85
85
|
Trace trace = traces.get(id);
|
|
86
|
+
// Traces can be cleared during module teardown before JS stops them.
|
|
87
|
+
if (trace == null) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
86
90
|
|
|
87
91
|
Set<String> metricKeys = metrics.keySet();
|
|
88
92
|
Set<String> attributeKeys = attributes.keySet();
|
|
@@ -119,6 +123,10 @@ public class UniversalFirebasePerfModule extends UniversalFirebaseModule {
|
|
|
119
123
|
return Tasks.call(
|
|
120
124
|
() -> {
|
|
121
125
|
ScreenTrace trace = screenTraces.get(id);
|
|
126
|
+
// Screen traces can be cleared during module teardown before JS stops them.
|
|
127
|
+
if (trace == null) {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
122
130
|
trace.sendScreenTrace();
|
|
123
131
|
screenTraces.remove(id);
|
|
124
132
|
|
|
@@ -140,6 +148,10 @@ public class UniversalFirebasePerfModule extends UniversalFirebaseModule {
|
|
|
140
148
|
return Tasks.call(
|
|
141
149
|
() -> {
|
|
142
150
|
HttpMetric httpMetric = httpMetrics.get(id);
|
|
151
|
+
// HTTP metrics can be cleared during module teardown before JS stops them.
|
|
152
|
+
if (httpMetric == null) {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
143
155
|
|
|
144
156
|
if (httpMetricConfig.containsKey("httpResponseCode")) {
|
|
145
157
|
httpMetric.setHttpResponseCode((int) httpMetricConfig.getDouble("httpResponseCode"));
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '
|
|
2
|
+
module.exports = '24.0.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/perf",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration with Performance Monitoring to gain insight into key performance characteristics within your React Native application.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"performance monitoring"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@react-native-firebase/app": "
|
|
32
|
+
"@react-native-firebase/app": "24.0.0",
|
|
33
33
|
"expo": ">=47.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public",
|
|
45
45
|
"provenance": true
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "46c48499190be2dc9b9792d39c251db29495a607"
|
|
48
48
|
}
|