Skip to content

Commit 07851c7

Browse files
authored
Fix sdk name for replay tags (#4428)
* Fix sdk name for replay tags * Changelog
1 parent 5f03ae9 commit 07851c7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
99
## Unreleased
1010

11+
### Fixes
12+
13+
- Use proper SDK name for Session Replay tags ([#4428](https://github.com/getsentry/sentry-react-native/pull/4428))
14+
1115
### Changes
1216

1317
- Rename `navigation.processing` span to more expressive `Navigation dispatch to screen A mounted/navigation cancelled` ([#4423](https://github.com/getsentry/sentry-react-native/pull/4423))

packages/core/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ private boolean isReplayEnabled(SentryReplayOptions replayOptions) {
340340
private SentryReplayOptions getReplayOptions(@NotNull ReadableMap rnOptions) {
341341
final SdkVersion replaySdkVersion =
342342
new SdkVersion(
343-
RNSentryVersion.REACT_NATIVE_SDK_PACKAGE_NAME,
343+
RNSentryVersion.REACT_NATIVE_SDK_NAME,
344344
RNSentryVersion.REACT_NATIVE_SDK_PACKAGE_VERSION);
345345
@NotNull
346346
final SentryReplayOptions androidReplayOptions =

packages/core/android/src/main/java/io/sentry/react/RNSentryVersion.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ class RNSentryVersion {
55
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "6.5.0";
66
static final String NATIVE_SDK_NAME = "sentry.native.android.react-native";
77
static final String ANDROID_SDK_NAME = "sentry.java.android.react-native";
8+
static final String REACT_NATIVE_SDK_NAME = "sentry.javascript.react-native";
89
}

0 commit comments

Comments
 (0)