Use RELEASE_VERSION instead of package.json
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user