mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 20:31:37 +03:00
14 lines
378 B
JavaScript
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;
|