Skip to content

Commit 5aec2e6

Browse files
committed
chore: add note on XR development to sentry doc
1 parent 4299e84 commit 5aec2e6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/guide/crash-reporting-sentry.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ SENTRY_AUTH_TOKEN=your-auth-token
4545

4646
Replace the above placeholders with your actual Sentry details.
4747

48+
::: tip
49+
If you are also doing XR development with Vision Pro or Meta Quest, you may want to additionally setup `SENTRY_PROJECT_SLUG_VISIONOS`, `SENTRY_DSN_VISIONOS`, `SENTRY_PROJECT_SLUG_QUEST`, and `SENTRY_DSN_QUEST`. The bundling config below demonstrates using a visionOS version string as an example. Meta Quest would use the standard Android versioning location of app.gradle.
50+
:::
51+
4852
## Step 4: Configure Webpack
4953

5054
We will use Webpack to manage environment variables and source maps with plugins:
@@ -89,7 +93,10 @@ module.exports = (env) => {
8993
).match(/versionName\s+"([^"]+)"/)[1]
9094
: parse(
9195
readFileSync(
92-
resolve(__dirname, 'App_Resources/iOS/Info.plist'),
96+
resolve(
97+
__dirname,
98+
`App_Resources/${platform === 'visionos' ? 'visionOS' : 'iOS'}/Info.plist`,
99+
),
93100
'utf8',
94101
),
95102
)['CFBundleShortVersionString']

0 commit comments

Comments
 (0)