File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
docs/platforms/android/session-replay Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,29 @@ If you have the SDK installed without the Sentry Gradle Plugin, you can update t
3737
3838``` groovy {filename:app/build.gradle}
3939dependencies {
40- implementation 'io.sentry:sentry-android:{{@inject packages.version('sentry.java.android', '7.12.0') }}'
40+ implementation 'io.sentry:sentry-android:{{@inject packages.version('sentry.java.android', '7.12.0') }}'
4141}
4242```
4343
4444``` kotlin {filename:app/build.gradle.kts}
4545dependencies {
46- implementation(" io.sentry:sentry-android:{{@inject packages.version('sentry.java.android', '7.12.0') }}" )
46+ implementation(" io.sentry:sentry-android:{{@inject packages.version('sentry.java.android', '7.12.0') }}" )
47+ }
48+ ```
49+
50+ If you're not using the ` sentry-android ` dependency, you'd need to specify the Session Replay module directly in the ` build.gradle ` through:
51+
52+ ``` groovy {filename:app/build.gradle}
53+ dependencies {
54+ implementation 'io.sentry:sentry-android-core:{{@inject packages.version('sentry.java.android', '7.12.0') }}'
55+ implementation 'io.sentry:sentry-android-replay:{{@inject packages.version('sentry.java.android', '7.12.0') }}'
56+ }
57+ ```
58+
59+ ``` kotlin {filename:app/build.gradle.kts}
60+ dependencies {
61+ implementation(" io.sentry:sentry-android-core:{{@inject packages.version('sentry.java.android', '7.12.0') }}" )
62+ implementation(" io.sentry:sentry-android-replay:{{@inject packages.version('sentry.java.android', '7.12.0') }}" )
4763}
4864```
4965
You can’t perform that action at this time.
0 commit comments