From 87f4093bdc246400cb082c5f192167ac31676ad7 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Thu, 3 Sep 2020 13:19:57 +0200 Subject: [PATCH] fix: enable session tracking by default on sample --- sentry-samples/sentry-samples-android/build.gradle.kts | 6 ++++-- .../sentry-samples-android/src/main/AndroidManifest.xml | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sentry-samples/sentry-samples-android/build.gradle.kts b/sentry-samples/sentry-samples-android/build.gradle.kts index 5c293457a..fd3b53bae 100644 --- a/sentry-samples/sentry-samples-android/build.gradle.kts +++ b/sentry-samples/sentry-samples-android/build.gradle.kts @@ -66,7 +66,8 @@ android { buildTypes { getByName("debug") { manifestPlaceholders = mapOf( - "sentryDebug" to true + "sentryDebug" to true, + "sentryEnvironment" to "debug" ) } getByName("release") { @@ -76,7 +77,8 @@ android { isShrinkResources = true manifestPlaceholders = mapOf( - "sentryDebug" to false + "sentryDebug" to false, + "sentryEnvironment" to "release" ) } } diff --git a/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml b/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml index dc9962982..6caf842bb 100644 --- a/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml +++ b/sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml @@ -57,13 +57,13 @@ - + - + - +