Skip to content

Commit 58dd944

Browse files
committed
Set release automatically rather than manually
1 parent 72f7f71 commit 58dd944

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import CheckoutScreen from './screens/CheckoutScreen';
2121
import Toast from 'react-native-toast-message';
2222

2323
import {store} from './reduxApp';
24-
import {version as packageVersion} from '../package.json';
2524
import {DSN} from './config';
2625

2726
const reactNavigationV5Instrumentation = new Sentry.ReactNavigationV5Instrumentation(
@@ -33,7 +32,6 @@ const reactNavigationV5Instrumentation = new Sentry.ReactNavigationV5Instrumenta
3332

3433
Sentry.init({
3534
dsn: DSN,
36-
release: packageVersion,
3735
environment: "dev",
3836
beforeSend: (e) => {
3937
return e;
@@ -57,7 +55,6 @@ Sentry.init({
5755
sessionTrackingIntervalMillis: 5000,
5856
maxBreadcrumbs: 150, // Extend from the default 100 breadcrumbs.
5957
// debug: true
60-
// dist: `${packageVersion}.0`, // optional.. Make sure this matches EXACTLY with the values on your sourcemaps
6158
});
6259

6360
const Stack = createStackNavigator();

0 commit comments

Comments
 (0)