How to use the react-native-firebase.fabric function in react-native-firebase

To help you get started, we’ve selected a few react-native-firebase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lopespm / arxiv-papers-mobile / js / modules / shared / errorReporter.js View on Github external
export const reportNonFatal = (label, error) => {
    if (__DEV__) {
        console.warn(buildMessage(label, error));
    } else {
        firebase.fabric.crashlytics().recordError(0, buildMessage(label, error));
    }
};