ecency-mobile/App.js

14 lines
378 B
JavaScript
Raw Normal View History

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