Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ android {
defaultConfig {
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
consumerProguardFiles "consumer-rules.pro"
}

buildFeatures {
Expand Down
4 changes: 4 additions & 0 deletions android/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Keep DownloadHelper and its Callback to prevent AbstractMethodError in release builds
# This ensures that the Callback interface and DownloadHelper methods are not stripped or renamed incorrectly by R8
-keep class androidx.media3.exoplayer.offline.DownloadHelper { public *; }
-keep interface androidx.media3.exoplayer.offline.DownloadHelper$Callback { *; }
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Tpstreams_minSdkVersion=24
Tpstreams_targetSdkVersion=34
Tpstreams_compileSdkVersion=35
Tpstreams_ndkVersion=27.1.12297006
Tpstreams_tpstreamsAndroidPlayerVersion=1.1.7
Tpstreams_tpstreamsAndroidPlayerVersion=1.1.8
Loading