Files
cnapp/index.js
T
2022-07-31 20:35:40 +02:00

14 lines
334 B
JavaScript

import { AppRegistry } from 'react-native';
import * as Sentry from '@sentry/react-native';
import Config from 'react-native-config';
import App from './src/App';
import { name as appName } from './app.json';
if (Config.SENTRY_DSN) {
Sentry.init({ dsn: Config.SENTRY_DSN });
}
AppRegistry.registerComponent(appName, () => App);