mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
Disabled development errors for bugsnag
This commit is contained in:
parent
4536cdcb93
commit
6ed2b977ba
@ -1,5 +1,10 @@
|
||||
import { Client } from 'bugsnag-react-native';
|
||||
import { Client, Configuration } from 'bugsnag-react-native';
|
||||
import Config from 'react-native-config';
|
||||
|
||||
const client = new Client(Config.BUGSNAG_API_KEY);
|
||||
const configuration = new Configuration();
|
||||
configuration.apiKey = Config.BUGSNAG_API_KEY;
|
||||
configuration.consoleBreadcrumbsEnabled = true;
|
||||
configuration.notifyReleaseStages = ['beta', 'production'];
|
||||
|
||||
const client = new Client(configuration);
|
||||
export default client;
|
||||
|
Loading…
Reference in New Issue
Block a user