@react-native-firebase/perf 23.8.6 → 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,25 @@
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
+
13
+ ## [23.8.8](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.8) (2026-03-12)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **messaging, expo:** retrieve expo-notification config if available, then deprecated notification ([#8663](https://github.com/invertase/react-native-firebase/issues/8663)) ([eb90301](https://github.com/invertase/react-native-firebase/commit/eb90301c49af807c4bd3eecadd9a67364c4a30a4))
18
+
19
+ ## [23.8.7](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.7) (2026-03-12)
20
+
21
+ ### Bug Fixes
22
+
23
+ - **messaging, expo:** retrieve expo-notification config if available, then deprecated notification ([#8663](https://github.com/invertase/react-native-firebase/issues/8663)) ([eb90301](https://github.com/invertase/react-native-firebase/commit/eb90301c49af807c4bd3eecadd9a67364c4a30a4))
24
+
6
25
  ## [23.8.6](https://github.com/invertase/react-native-firebase/compare/v23.8.5...v23.8.6) (2026-02-03)
7
26
 
8
27
  **Note:** Version bump only for package @react-native-firebase/perf
@@ -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 = '23.8.6';
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": "23.8.6",
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,11 +29,11 @@
29
29
  "performance monitoring"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@react-native-firebase/app": "23.8.6",
32
+ "@react-native-firebase/app": "24.0.0",
33
33
  "expo": ">=47.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "expo": "^54.0.27"
36
+ "expo": "^55.0.5"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "expo": {
@@ -44,5 +44,5 @@
44
44
  "access": "public",
45
45
  "provenance": true
46
46
  },
47
- "gitHead": "9c71040bb28a0eb93c7f0b7bc9afce8d2c8d3cbb"
47
+ "gitHead": "46c48499190be2dc9b9792d39c251db29495a607"
48
48
  }