Skip to content

Commit 34aba08

Browse files
Bump android SDK to 6.19.0 & set native SDK name (#3086)
1 parent 2d06408 commit 34aba08

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- Bump JavaScript SDK from v7.52.0 to v7.52.1 ([#3071](https://github.com/getsentry/sentry-react-native/pull/3071))
88
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7521)
99
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.52.0...7.52.1)
10+
- Bump Android SDK from v6.18.1 to v6.19.0 ([#3086](https://github.com/getsentry/sentry-react-native/pull/3086))
11+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6190)
12+
- [diff](https://github.com/getsentry/sentry-java/compare/6.18.1...6.19.0)
1013

1114
## 5.5.0
1215

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ android {
4242

4343
dependencies {
4444
implementation 'com.facebook.react:react-native:+'
45-
api 'io.sentry:sentry-android:6.18.1'
45+
api 'io.sentry:sentry-android:6.19.0'
4646
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class RNSentryModuleImpl {
6868

6969
public static final String NAME = "RNSentry";
7070

71-
private static final String NATIVE_SDK_NAME = "sentry.native.android";
71+
private static final String NATIVE_SDK_NAME = "sentry.native.android.react-native";
7272
private static final String ANDROID_SDK_NAME = "sentry.java.android.react-native";
7373
private static final ILogger logger = new AndroidLogger(NAME);
7474
private static final BuildInfoProvider buildInfo = new BuildInfoProvider(logger);
@@ -113,6 +113,7 @@ public void initNativeSdk(final ReadableMap rnOptions, Promise promise) {
113113
}
114114

115115
options.setSentryClientName(sdkVersion.getName() + "/" + sdkVersion.getVersion());
116+
options.setNativeSdkName(NATIVE_SDK_NAME);
116117
options.setSdkVersion(sdkVersion);
117118

118119
if (rnOptions.hasKey("debug") && rnOptions.getBoolean("debug")) {

0 commit comments

Comments
 (0)