mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
11 lines
369 B
JavaScript
11 lines
369 B
JavaScript
import { Client, Configuration } from 'bugsnag-react-native';
|
|
import Config from 'react-native-config';
|
|
|
|
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;
|