Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@react-native-firebase/crashlytics
Advanced tools
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 Jav
@react-native-firebase/crashlytics is a React Native library that provides integration with Firebase Crashlytics, a real-time crash reporting tool. It helps developers track, prioritize, and fix stability issues that erode app quality, in real-time.
Crash Reporting
This feature allows you to report crashes to Firebase Crashlytics. The code sample demonstrates how to force a crash for testing purposes.
import crashlytics from '@react-native-firebase/crashlytics';
// Force a crash for testing purposes
crashlytics().crash();
Log Custom Events
This feature allows you to log custom events that can help you understand the sequence of actions leading up to a crash. The code sample shows how to log a custom event.
import crashlytics from '@react-native-firebase/crashlytics';
// Log a custom event
crashlytics().log('User clicked on the purchase button');
Set User Identifiers
This feature allows you to set user identifiers to help you understand which users are affected by crashes. The code sample demonstrates how to set a user identifier.
import crashlytics from '@react-native-firebase/crashlytics';
// Set user identifier
crashlytics().setUserId('12345');
Set Custom Keys
This feature allows you to set custom keys to provide additional context about the crash. The code sample shows how to set a custom key.
import crashlytics from '@react-native-firebase/crashlytics';
// Set custom keys
crashlytics().setAttribute('role', 'admin');
Record Non-Fatal Errors
This feature allows you to record non-fatal errors that do not crash the app but are still important to track. The code sample demonstrates how to record a non-fatal error.
import crashlytics from '@react-native-firebase/crashlytics';
// Record a non-fatal error
try {
throw new Error('Test non-fatal error');
} catch (error) {
crashlytics().recordError(error);
}
Bugsnag provides real-time error monitoring and crash reporting for mobile apps. It offers similar functionalities to Firebase Crashlytics, such as automatic crash reporting, custom event logging, and user identification. Bugsnag also provides additional features like session tracking and breadcrumb logging.
Instabug provides in-app feedback and bug reporting for mobile apps. It offers crash reporting, user feedback, and detailed bug reports with screenshots and device logs. Instabug is more focused on user feedback and bug reporting compared to Firebase Crashlytics, which is primarily focused on crash reporting.
Firebase Crashlytics helps you track, prioritize, and fix stability issues that erode app quality, in realtime. Spend less time triaging and troubleshooting crashes and more time building app features that delight users.
Requires @react-native-firebase/app
to be installed.
yarn add @react-native-firebase/crashlytics
Built and maintained with 💛 by Invertase.
FAQs
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 Jav
The npm package @react-native-firebase/crashlytics receives a total of 145,320 weekly downloads. As such, @react-native-firebase/crashlytics popularity was classified as popular.
We found that @react-native-firebase/crashlytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.