mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +03:00
Merge pull request #1097 from esteemapp/bugfix/bugsnag-development
Disabled development errors for bugsnag
This commit is contained in:
commit
cf05b05750
@ -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