Skip to content

Commit 426fbfd

Browse files
authored
Apply proguard rules to debug builds as well (#3339)
* Apply proguard rules to debug builds as well * Update CHANGELOG * Update CHANGELOG * Update ProGuard rules for debug builds Added `consumerProguardFiles 'proguard-rules.pro'` to the debug build configuration to ensure ProGuard rules are consistently applied across both release and debug variants.
1 parent 331c3d9 commit 426fbfd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Fixes
6+
7+
- Added `consumerProguardFiles 'proguard-rules.pro'` to the debug build configuration to ensure ProGuard rules are consistently applied across both release and debug variants. ([#3339](https://github.com/getsentry/sentry-dart/pull/3339))
8+
59
### Enhancements
610

711
- Refactor `captureReplay` and `setReplayConfig` to use FFI/JNI ([#3318](https://github.com/getsentry/sentry-dart/pull/3318))

packages/flutter/android/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ android {
4747
release {
4848
consumerProguardFiles 'proguard-rules.pro'
4949
}
50+
debug {
51+
consumerProguardFiles 'proguard-rules.pro'
52+
}
5053
}
5154

5255
compileOptions {

0 commit comments

Comments
 (0)