Skip to content

Commit 5c8ae50

Browse files
authored
Update Gradle to 4.14.1 (#159)
* update gradle, versionCode, and versionName * update symbol to setOnErrorSampleRate
1 parent 9d5ca8c commit 5c8ae50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
}
1313

1414
plugins {
15-
id "io.sentry.android.gradle" version "4.10.0"
15+
id "io.sentry.android.gradle" version "4.14.1"
1616
id 'com.android.application'
1717
id 'kotlin-android'
1818
id 'com.ydq.android.gradle.native-aar.import'
@@ -38,8 +38,8 @@ android {
3838
applicationId "com.example.vu.android"
3939
minSdkVersion 21
4040
targetSdkVersion 29
41-
versionCode System.getenv('VERSION_CODE')?.toInteger() ?: 48
42-
versionName System.getenv('VERSION_NAME') ?: "2.11.3"
41+
versionCode System.getenv('VERSION_CODE')?.toInteger() ?: 241226
42+
versionName System.getenv('VERSION_NAME') ?: "24.12.26"
4343

4444
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
4545
externalNativeBuild {

app/src/main/java/com/example/vu/android/MyApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void onCreate() {
7575

7676
// Currently under experimental options:
7777
options.getExperimental().getSessionReplay().setSessionSampleRate(1.0);
78-
options.getExperimental().getSessionReplay().setErrorSampleRate(1.0);
78+
options.getExperimental().getSessionReplay().setOnErrorSampleRate(1.0);
7979

8080
options.setBeforeSend((event, hint) -> {
8181

0 commit comments

Comments
 (0)