Skip to content

Commit

Permalink
Change to SENTRY_DNS env property as SENTRY_URL caused issues with se…
Browse files Browse the repository at this point in the history
…ntry upload when deploying the app to the app store
  • Loading branch information
chico committed Feb 10, 2020
1 parent 8e68b76 commit 446e944
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.beta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ENV=beta
SENTRY_URL=https://[email protected]/1867816
SENTRY_DNS=https://[email protected]/1867816
API_BASE_URL=
SOCKET_IO_URL=https://codeandrobots-simulator.herokuapp.com
FIREBASE_TOPIC=
Expand Down
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# ENV can either be dev, test, beta or production
ENV=dev

# SENTRY_URL is the https://<key>@sentry.io/<project> URL that the react-native-sentry library will use when communicating with Sentry
# SENTRY_DNS is the https://<key>@sentry.io/<project> DNS that the react-native-sentry library will use when communicating with Sentry
# See https://docs.sentry.io/clients/react-native/#configure
SENTRY_URL=
SENTRY_DNS=

# API_BASE_URL is the URL for making API calls. It can be left blank if the app does not rely on an API.
#
Expand Down
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ENV=production
SENTRY_URL=https://[email protected]/1867816
SENTRY_DNS=https://[email protected]/1867816
API_BASE_URL=
SOCKET_IO_URL=https://codeandrobots-simulator.herokuapp.com
FIREBASE_TOPIC=
Expand Down
2 changes: 1 addition & 1 deletion App/Services/CrashReporting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const isCrashReportingEnabled = () => {

export const initCrashReporting = () => {
if (isCrashReportingEnabled()) {
Sentry.init({dsn: Config.SENTRY_URL})
Sentry.init({dsn: Config.SENTRY_DNS})
}
}

Expand Down

0 comments on commit 446e944

Please sign in to comment.