Skip to content

Commit

Permalink
Merge pull request #226 from cornejobarraza/fix/proguard-rules
Browse files Browse the repository at this point in the history
Add ProGuard rule to fix missing LibVLC error
razorRun authored Jan 15, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 48bab50 + e4a616a commit 9288402
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ android {
targetSdkVersion 31
versionCode 1
versionName "1.0"
consumerProguardFiles("proguard-rules.pro")
ndk {
abiFilters 'armeabi-v7a','x86_64','arm64-v8a','x86'
}
4 changes: 4 additions & 0 deletions android/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -23,3 +23,7 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# https://github.com/pedroSG94/vlc-example-streamplayer/issues/28

-keep class org.videolan.libvlc.** { *; }

0 comments on commit 9288402

Please sign in to comment.