/
androidos
/
androidify
Обзор
Документация
Войти
/
androidos
/
androidify
Код
Пакеты
0
Релизы
0
Аналитика
main
app/proguard-rules.pro
66 строк
2 KB
Rebecca Franks
Exclude workmanager
28 май 2026, 18:41
28 май 2026, 18:41
0b614f8
Код
Авторство
О чём код?
# 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 # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile -keep class com.firebase.** { *; } -keep interface com.firebase.** { *; } -keep class org.apache.** { *; } -keepnames class com.fasterxml.jackson.** { *; } -keepnames class javax.servlet.** { *; } -keepnames class org.ietf.jgss.** { *; } -dontwarn org.w3c.dom.** -dontwarn org.joda.time.** -dontwarn org.shaded.apache.** -dontwarn org.ietf.jgss.** -keepattributes Signature -keepattributes *Annotation* -keepattributes InnerClasses # Ignore missing Java SE image classes from TwelveMonkeys ImageIO -dontwarn javax.imageio.** # Ignore missing Java SE XML classes from Xerces and other XML processors -dontwarn org.apache.xml.resolver.** -dontwarn org.eclipse.wst.xml.xpath2.processor.** # Ignore missing Java SE annotation processing classes, often from libraries like AutoValue -dontwarn javax.lang.model.** # OkHttp -keep class okhttp3.** { *; } -keep interface okhttp3.** { *; } -dontwarn okhttp3.** # Ignore SAX parser warning -dontwarn org.xml.sax.** # WorkManager / Room R8 Full Mode keep rules -keep class androidx.work.impl.WorkDatabase_Impl { *; } -keep class androidx.work.impl.** { *; } -dontwarn androidx.work.impl.** # Keep list of constructors used by reflection (Workers) -keep class * extends androidx.work.ListenableWorker { <init>(android.content.Context, androidx.work.WorkerParameters); } -keep class * extends androidx.work.Worker { <init>(android.content.Context, androidx.work.WorkerParameters); }