Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@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 146,129 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 4 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.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.