mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-22 14:18:32 +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;
|