mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
Added sentry configuration
This commit is contained in:
parent
1e4171109d
commit
904f7f0feb
9
App.js
9
App.js
@ -1,8 +1,13 @@
|
||||
import { Sentry } from 'react-native-sentry';
|
||||
import { Sentry, SentryLog } from 'react-native-sentry';
|
||||
import codePush from 'react-native-code-push';
|
||||
import App from './src/index';
|
||||
|
||||
Sentry.config('https://aeaa78debe6d428984f9823f4aee0681@sentry.io/1457345').install();
|
||||
Sentry.config('https://aeaa78debe6d428984f9823f4aee0681@sentry.io/1457345', {
|
||||
deactivateStacktraceMerging: false,
|
||||
logLevel: SentryLog.Verbose,
|
||||
disableNativeIntegration: false,
|
||||
handlePromiseRejection: true,
|
||||
}).install();
|
||||
codePush.getUpdateMetadata().then((update) => {
|
||||
if (update) {
|
||||
Sentry.setVersion(`${update.appVersion}-codepush:${update.label}`);
|
||||
|
Loading…
Reference in New Issue
Block a user