Skip to content

Commit

Permalink
Bump android SDK to 6.19.0 & set native SDK name (#3086)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman authored May 24, 2023
1 parent 2d06408 commit 34aba08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
- Bump JavaScript SDK from v7.52.0 to v7.52.1 ([#3071](https://github.com/getsentry/sentry-react-native/pull/3071))
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#7521)
- [diff](https://github.com/getsentry/sentry-javascript/compare/7.52.0...7.52.1)
- Bump Android SDK from v6.18.1 to v6.19.0 ([#3086](https://github.com/getsentry/sentry-react-native/pull/3086))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6190)
- [diff](https://github.com/getsentry/sentry-java/compare/6.18.1...6.19.0)

## 5.5.0

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ android {

dependencies {
implementation 'com.facebook.react:react-native:+'
api 'io.sentry:sentry-android:6.18.1'
api 'io.sentry:sentry-android:6.19.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class RNSentryModuleImpl {

public static final String NAME = "RNSentry";

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

options.setSentryClientName(sdkVersion.getName() + "/" + sdkVersion.getVersion());
options.setNativeSdkName(NATIVE_SDK_NAME);
options.setSdkVersion(sdkVersion);

if (rnOptions.hasKey("debug") && rnOptions.getBoolean("debug")) {
Expand Down

0 comments on commit 34aba08

Please sign in to comment.