Skip to content

Commit 316f7ad

Browse files
committed
chore: disable sentry auto upload
1 parent ce3ae2f commit 316f7ad

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424

2525
# build for ios if platform is ios or all, or if triggered by a release
2626
if: github.event_name == 'release' || inputs.buildPlatform == 'all' || inputs.buildPlatform == 'ios'
27+
env:
28+
SENTRY_DISABLE_AUTO_UPLOAD: true
2729

2830
steps:
2931
- name: List Xcode Installs
@@ -80,6 +82,9 @@ jobs:
8082
# build for android if platform is android or all, or if triggered by a release
8183
if: github.event_name == 'release' || inputs.buildPlatform == 'all' || inputs.buildPlatform == 'android'
8284

85+
env:
86+
SENTRY_DISABLE_AUTO_UPLOAD: true
87+
8388
steps:
8489
- name: Checkout Repository
8590
uses: actions/checkout@v4

app.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,15 @@
111111
}
112112
],
113113
"expo-font",
114-
"expo-router"
114+
"expo-router",
115+
[
116+
"@sentry/react-native/expo",
117+
{
118+
"url": "https://bugsink.maroonrides.app",
119+
"project": "maroon-rides-app",
120+
"organization": "maroon-rides"
121+
}
122+
]
115123
]
116124
}
117125
}

metro.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Learn more https://docs.expo.io/guides/customizing-metro
2-
const { getDefaultConfig } = require('expo/metro-config');
1+
const { getSentryExpoConfig } = require('@sentry/react-native/metro');
32

4-
module.exports = getDefaultConfig(__dirname);
3+
module.exports = getSentryExpoConfig(__dirname);

0 commit comments

Comments
 (0)