ecency-mobile/App.js
2019-05-14 23:14:18 +03:00

14 lines
378 B
JavaScript

import { Sentry } from 'react-native-sentry';
import codePush from 'react-native-code-push';
import App from './src/index';
Sentry.config('https://aeaa78debe6d428984f9823f4aee0681@sentry.io/1457345').install();
codePush.getUpdateMetadata().then((update) => {
if (update) {
Sentry.setVersion(`${update.appVersion}-codepush:${update.label}`);
}
});
export default App;