Skip to content

Commit

Permalink
Update Gradle to 4.14.1 (#159)
Browse files Browse the repository at this point in the history
* update gradle, versionCode, and versionName

* update symbol to setOnErrorSampleRate
  • Loading branch information
sdzhong authored Jan 7, 2025
1 parent 9d5ca8c commit 5c8ae50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}

plugins {
id "io.sentry.android.gradle" version "4.10.0"
id "io.sentry.android.gradle" version "4.14.1"
id 'com.android.application'
id 'kotlin-android'
id 'com.ydq.android.gradle.native-aar.import'
Expand All @@ -38,8 +38,8 @@ android {
applicationId "com.example.vu.android"
minSdkVersion 21
targetSdkVersion 29
versionCode System.getenv('VERSION_CODE')?.toInteger() ?: 48
versionName System.getenv('VERSION_NAME') ?: "2.11.3"
versionCode System.getenv('VERSION_CODE')?.toInteger() ?: 241226
versionName System.getenv('VERSION_NAME') ?: "24.12.26"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void onCreate() {

// Currently under experimental options:
options.getExperimental().getSessionReplay().setSessionSampleRate(1.0);
options.getExperimental().getSessionReplay().setErrorSampleRate(1.0);
options.getExperimental().getSessionReplay().setOnErrorSampleRate(1.0);

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

Expand Down

0 comments on commit 5c8ae50

Please sign in to comment.