Source Code added
Some checks are pending
Repo / Label merge conflict / Triage (push) Waiting to run
Some checks are pending
Repo / Label merge conflict / Triage (push) Waiting to run
This commit is contained in:
parent
ac679f452a
commit
3f20680501
477 changed files with 25051 additions and 2 deletions
34
app/proguard-rules.pro
vendored
Normal file
34
app/proguard-rules.pro
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# Keep names of all Jellyfin classes
|
||||
-keepnames class org.jellyfin.mobile.**.* { *; }
|
||||
-keepnames interface org.jellyfin.mobile.**.* { *; }
|
||||
|
||||
# Keep WebView JS interfaces
|
||||
-keepclassmembers class org.jellyfin.mobile.bridge.* {
|
||||
@android.webkit.JavascriptInterface public *;
|
||||
}
|
||||
|
||||
# Keep Chromecast methods
|
||||
-keepclassmembers class org.jellyfin.mobile.player.cast.Chromecast {
|
||||
public *;
|
||||
}
|
||||
|
||||
# Keep file names/line numbers
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# Keep custom exceptions
|
||||
-keep public class * extends java.lang.Exception
|
||||
|
||||
# Keep AndroidX ComponentFactory
|
||||
-keep class androidx.core.app.CoreComponentFactory { *; }
|
||||
|
||||
# Assume SDK >= 21 to remove unnecessary compat code
|
||||
-assumevalues class android.os.Build$VERSION {
|
||||
int SDK_INT return 21..2147483647;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue