@react-native-firebase/crashlytics 21.10.0 → 21.11.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 +10 -0
- package/lib/handlers.js +3 -2
- package/lib/version.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@
|
|
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
|
+
## [21.11.0](https://github.com/invertase/react-native-firebase/compare/v21.10.1...v21.11.0) (2025-02-20)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- **crashlytics:** convert internal API usage to modular ([b462330](https://github.com/invertase/react-native-firebase/commit/b46233049396764b68c6108e5b886628613f2620))
|
11
|
+
|
12
|
+
## [21.10.1](https://github.com/invertase/react-native-firebase/compare/v21.10.0...v21.10.1) (2025-02-18)
|
13
|
+
|
14
|
+
**Note:** Version bump only for package @react-native-firebase/crashlytics
|
15
|
+
|
6
16
|
## [21.10.0](https://github.com/invertase/react-native-firebase/compare/v21.9.0...v21.10.0) (2025-02-11)
|
7
17
|
|
8
18
|
**Note:** Version bump only for package @react-native-firebase/crashlytics
|
package/lib/handlers.js
CHANGED
@@ -15,8 +15,8 @@
|
|
15
15
|
*
|
16
16
|
*/
|
17
17
|
|
18
|
-
import { firebase } from '@react-native-firebase/app';
|
19
18
|
import { isError, once } from '@react-native-firebase/app/lib/common';
|
19
|
+
import { getAnalytics, logEvent } from '@react-native-firebase/analytics';
|
20
20
|
import tracking from 'promise/setimmediate/rejection-tracking';
|
21
21
|
import StackTrace from 'stacktrace-js';
|
22
22
|
|
@@ -96,7 +96,8 @@ export const setGlobalErrorHandler = once(nativeModule => {
|
|
96
96
|
|
97
97
|
// Notify analytics, if it exists - throws error if not
|
98
98
|
try {
|
99
|
-
await
|
99
|
+
await logEvent(
|
100
|
+
getAnalytics(),
|
100
101
|
'app_exception', // 'app_exception' is reserved but we make an exception for JS->fatal transforms
|
101
102
|
{
|
102
103
|
fatal: 1, // as in firebase-android-sdk
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '21.
|
2
|
+
module.exports = '21.11.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/crashlytics",
|
3
|
-
"version": "21.
|
3
|
+
"version": "21.11.0",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. React Native Firebase provides automatic crash reporting for both native and JavaScript errors, including unhandled promise rejections.",
|
6
6
|
"main": "lib/index.js",
|
@@ -29,14 +29,14 @@
|
|
29
29
|
"crashlytics"
|
30
30
|
],
|
31
31
|
"peerDependencies": {
|
32
|
-
"@react-native-firebase/app": "21.
|
32
|
+
"@react-native-firebase/app": "21.11.0",
|
33
33
|
"expo": ">=47.0.0"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
36
|
"stacktrace-js": "^2.0.2"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"expo": "^52.0.
|
39
|
+
"expo": "^52.0.35"
|
40
40
|
},
|
41
41
|
"peerDependenciesMeta": {
|
42
42
|
"expo": {
|
@@ -46,5 +46,5 @@
|
|
46
46
|
"publishConfig": {
|
47
47
|
"access": "public"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "082a1e496cb1f8496f53869d9ab9e6f88ecbdc00"
|
50
50
|
}
|