mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +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;
|