Skip to content

Commit 03e6ede

Browse files
reflogclaude
andcommitted
stealth(foundation): address review comments
- Always include core-ktx / lifecycle-livedata-ktx / work-runtime-ktx: these are used by the real app code (VPN status, logs, background work) in stealth builds too, not just regular builds. - Drop the dangling proguard-stealth-novpn.pro reference; the existing proguard-rules.pro applies to all release variants (incl. stealth-novpn). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d14dad2 commit 03e6ede

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

android/app/build.gradle

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,6 @@ android {
458458
}
459459
buildConfigField "boolean", "DEVELOPMENT_MODE", "false"
460460
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
461-
if (stealthNoVpn) {
462-
proguardFiles 'proguard-stealth-novpn.pro'
463-
}
464461
}
465462
}
466463

@@ -521,10 +518,10 @@ flutter {
521518
dependencies {
522519
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
523520
implementation fileTree(dir: "libs", include: "liblantern.aar")
524-
if (!stealthMode) {
525-
implementation 'androidx.core:core-ktx:1.15.0'
526-
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.8.7'
527-
implementation 'androidx.work:work-runtime-ktx:2.10.0'
528-
}
521+
// Used by the real app code (VPN status, logs, background work) in both
522+
// stealth and regular builds, so these are always included.
523+
implementation 'androidx.core:core-ktx:1.15.0'
524+
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.8.7'
525+
implementation 'androidx.work:work-runtime-ktx:2.10.0'
529526
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
530527
}

0 commit comments

Comments
 (0)