Skip to content

StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.

fix: Retain MD4 support for SMB recording setup on authenticated shares in release builds

David Nashash077397679460
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 897e9da7..a87f9c1a 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -118,5 +118,10 @@
-renamesourcefileattribute SourceFile
-keepattributes RuntimeVisibleAnnotations,RuntimeVisibleParameterAnnotations
+# jcifs-ng loads these Bouncy Castle MD4 classes by name during NTLM authentication.
+-keepnames class org.bouncycastle.jcajce.provider.digest.MD4
+-keep class org.bouncycastle.jcajce.provider.digest.MD4$Mappings { *; }
+-keep class org.bouncycastle.jcajce.provider.digest.MD4$Digest { *; }
+
# SLF4J's binding is optional; jcifs-ng uses the API without bundling a backend.
-dontwarn org.slf4j.impl.StaticLoggerBinder
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 6390646c..bf859772 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -49,6 +49,7 @@ All notable product changes are recorded in this document.
- Fixed live streams remaining stuck before the first frame by allowing one recovery attempt and reporting failure if startup still cannot complete, including Android TV-input playback.
- Added one bounded recovery attempt when an eligible live MPEG-TS stream ends unexpectedly, including Android TV-input playback, while preserving normal end-of-playback behavior for finite content.
- Fixed shared HLS recording restarts losing required encryption keys or initialization data.
+- Fixed SMB recording setup failing on authenticated shares in release builds by retaining the MD4 support required by NTLM during code shrinking.
## [1.2.2]