1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26import React from 'react';
import App from './AppExports.js';
import {
sentryReactNative,
initiateSentry,
} from '../components/modules/Sentry.bs.js';
export { HeadlessApp } from './AppExports.js';
const NewApp = props => {
return (
<App
props={props.props}
rootTag={props.rootTag}
/>
);
};
const SentryApp = React.memo(props => {
initiateSentry(process.env.SENTRY_DSN, process.env.SENTRY_ENV);
return sentryReactNative.wrap(NewApp)(props);
});
export default (
SentryApp
);