Use RELEASE_VERSION instead of package.json

This commit is contained in:
Eric Bailey
2025-07-28 21:48:17 -05:00
parent 4c76fe9b6f
commit ca337479ba
+1 -2
View File
@@ -1,6 +1,5 @@
import {init} from '@sentry/react-native' import {init} from '@sentry/react-native'
import pkgJson from '#/../package.json'
import * as env from '#/env' import * as env from '#/env'
init({ init({
@@ -10,7 +9,7 @@ init({
debug: false, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production debug: false, // If `true`, Sentry will try to print out useful debugging information if something goes wrong with sending the event. Set it to `false` in production
environment: env.ENV, environment: env.ENV,
dist: env.BUNDLE_IDENTIFIER, dist: env.BUNDLE_IDENTIFIER,
release: pkgJson.version, release: env.RELEASE_VERSION,
ignoreErrors: [ ignoreErrors: [
/* /*
* Unknown internals errors * Unknown internals errors