Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sentry-demos/android
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 24.12.15
Choose a base ref
...
head repository: sentry-demos/android
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 7, 2025

  1. Update Gradle to 4.14.1 (#159)

    * update gradle, versionCode, and versionName
    
    * update symbol to setOnErrorSampleRate
    sdzhong authored Jan 7, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    GCdePaula Gabriel Coutinho de Paula
    Copy the full SHA
    5c8ae50 View commit details
Showing with 4 additions and 4 deletions.
  1. +3 −3 app/build.gradle
  2. +1 −1 app/src/main/java/com/example/vu/android/MyApplication.java
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
@@ -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 {
Original file line number Diff line number Diff line change
@@ -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) -> {