From 7c61455ca39d41d0eb93a2027c48db5c78698704 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Fri, 28 Aug 2020 12:53:33 -0300 Subject: [PATCH] [FIX] Crashlytics reportError not working after #2171 (#2436) --- app/utils/log/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/log/index.js b/app/utils/log/index.js index 0b67bf575..da1be54a9 100644 --- a/app/utils/log/index.js +++ b/app/utils/log/index.js @@ -9,7 +9,7 @@ let crashlytics; if (!isFDroidBuild) { const { Client } = require('bugsnag-react-native'); - crashlytics = require('@react-native-firebase/crashlytics'); + crashlytics = require('@react-native-firebase/crashlytics').default; bugsnag = new Client(config.BUGSNAG_API_KEY); }