Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified app-debug.apk
Binary file not shown.
Binary file modified app-release.apk
Binary file not shown.
4 changes: 3 additions & 1 deletion 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.14.1"
id "io.sentry.android.gradle" version "5.5.0"
id 'com.android.application'
id 'kotlin-android'
id 'com.ydq.android.gradle.native-aar.import'
Expand Down Expand Up @@ -83,6 +83,8 @@ android {
}

dependencies {
// This should be included by default in the Android SDK, but it seems to be a problem with v8+ of the SDK, so we have to manually add it
implementation 'io.sentry:sentry-native-ndk:0.8.3'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation group: 'androidx.constraintlayout', name: 'constraintlayout', version: '1.1.3'
Expand Down
6 changes: 2 additions & 4 deletions app/src/main/java/com/example/vu/android/MyApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ public void onCreate() {
options.setAttachThreads(true);
options.setEnableAppStartProfiling(true);
options.setEnablePerformanceV2(true);

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

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

Expand Down
Binary file modified release/app-release.apk
Binary file not shown.