Skip to content

fix(replays): Handle sentry.java.android.unreal in configureReplayCard - #120704

Draft
sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/replay-android-unreal-platform
Draft

fix(replays): Handle sentry.java.android.unreal in configureReplayCard#120704
sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/replay-android-unreal-platform

Conversation

@sentry

@sentry sentry Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This PR addresses JAVASCRIPT-39ZF by adding a specific case for sentry.java.android.unreal to the getPath() function in static/app/components/replays/header/configureReplayCard.tsx.

Previously, when a replay from an Unreal Engine game on Android (using the Java Android SDK) was viewed, the sdkName sentry.java.android.unreal was not recognized by the switch statement. This caused it to fall into the default branch, triggering a Sentry.captureMessage('Unknown mobile platform in configure card: ...') error and preventing the "Configure Replay" card from displaying the correct documentation link.

The fix adds case 'sentry.java.android.unreal': to correctly map this SDK name to the 'android' documentation path, consistent with how sentry.cocoa.unreal is handled for iOS.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Fixes JAVASCRIPT-39ZF

Comment @sentry <feedback> on this PR to have Autofix iterate on the changes.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants