FIX: bugsnag integration

This commit is contained in:
Overtorment 2021-09-20 14:13:17 +01:00
parent 8fb44adb75
commit 7f8a07d8d8
No known key found for this signature in database
GPG key ID: AB15F43F78CCBC06

View file

@ -1,11 +1,8 @@
import Bugsnag from '@bugsnag/react-native';
import React, { useEffect } from 'react';
import './shim.js';
import { AppRegistry } from 'react-native';
import App from './App';
import { BlueStorageProvider } from './blue_modules/storage-context';
Bugsnag.start();
const A = require('./blue_modules/analytics');
if (!Error.captureStackTrace) {
// captureStackTrace is only available when debugging