Skip to content

Commit a415905

Browse files
authored
fix(screenshot): Add dontwarn replay rules to sentry-android-core (#5153)
* fix(screenshot): Add dontwarn replay rules to sentry-android-core * Changelog * Changelog
1 parent 83884a0 commit a415905

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Android: Add proguard rules to prevent error about missing Replay classes ([#5153](https://github.com/getsentry/sentry-java/pull/5153))
8+
39
## 8.34.0
410

511
### Features

sentry-android-core/proguard-rules.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@
8080
##---------------Begin: proguard configuration for sentry-android-replay ----------
8181
-dontwarn io.sentry.android.replay.ReplayIntegration
8282
-dontwarn io.sentry.android.replay.DefaultReplayBreadcrumbConverter
83+
-dontwarn io.sentry.android.replay.util.MaskRenderer
84+
-dontwarn io.sentry.android.replay.util.ViewsKt
85+
-dontwarn io.sentry.android.replay.viewhierarchy.ViewHierarchyNode$Companion
86+
-dontwarn io.sentry.android.replay.viewhierarchy.ViewHierarchyNode
8387
-keepnames class io.sentry.android.replay.ReplayIntegration
8488
##---------------End: proguard configuration for sentry-android-replay ----------
8589

sentry-android-integration-tests/sentry-uitest-android/proguard-rules.pro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,4 @@
4040
-dontwarn org.mockito.internal.**
4141
-dontwarn org.jetbrains.annotations.**
4242
-dontwarn io.sentry.android.replay.ReplayIntegration
43-
-dontwarn io.sentry.android.replay.util.MaskRenderer
44-
-dontwarn io.sentry.android.replay.util.ViewsKt
45-
-dontwarn io.sentry.android.replay.viewhierarchy.ViewHierarchyNode$Companion
46-
-dontwarn io.sentry.android.replay.viewhierarchy.ViewHierarchyNode
4743
-keep class curtains.** { *; }

0 commit comments

Comments
 (0)