Skip to content

Commit 7b1e27b

Browse files
committed
Enable spotlight in the sample app
1 parent fe1a2a8 commit 7b1e27b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

sentry-samples/sentry-samples-android/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ dependencies {
127127
implementation(projects.sentryCompose)
128128
implementation(projects.sentryKotlinExtensions)
129129
implementation(projects.sentryOkhttp)
130+
implementation(projects.sentrySpotlight)
130131

131132
// how to exclude androidx if release health feature is disabled
132133
// implementation(projects.sentryAndroid) {

sentry-samples/sentry-samples-android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,5 +203,6 @@
203203
<!-- Some random headers to extract. See TriggerHttpRequestActivity to set these on a test http request -->
204204
<meta-data android:name="io.sentry.session-replay.network-request-headers" android:value="Authorization,X-Custom-Header,X-Test-Request" />
205205
<meta-data android:name="io.sentry.session-replay.network-response-headers" android:value="X-Response-Time,X-Cache-Status,X-Test-Response" />
206+
<meta-data android:name="io.sentry.spotlight.enabled" android:value="true" />
206207
</application>
207208
</manifest>

0 commit comments

Comments
 (0)