mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-13 22:43:06 +01:00
149c6be1bf
* Convert rest of fbcookie to suspended methods * Replace active checks with yield * Apply spotless * Switch cookie domain to exact url * Optimize imports and enable travis tests again * Update proguard rules * Remove unnecessary yield * Remove unused flyweight * Remove unused disposable and method * Use contexthelper instead of dispatcher main * Convert login activity to coroutines * Use kau helper methods for coroutines * Enhancement/offline site (#1288) * Begin conversion of offline site logic * Fix offline tests and add validation tests * Ignore cookie in jsoup if it is blank * Force load and zip to be in io * Use different zip files to fix tests * Log all test output * Do not log stdout * Allow test skip for fb offline
39 lines
1.4 KiB
Prolog
39 lines
1.4 KiB
Prolog
-ignorewarnings
|
|
-dontwarn kotlin.**
|
|
-keep class * extends com.raizlabs.android.dbflow.config.DatabaseHolder { *; }
|
|
-keepattributes *Annotation*
|
|
# Enums
|
|
#-keepclassmembers class * extends java.lang.Enum {
|
|
# public *;
|
|
# public static **[] values();
|
|
# public static ** valueOf(java.lang.String);
|
|
#}
|
|
# JavaScript Interface
|
|
-keepclassmembers class * {
|
|
@android.webkit.JavascriptInterface <methods>;
|
|
}
|
|
-keepattributes JavascriptInterface
|
|
# Jsoup
|
|
-keeppackagenames org.jsoup.nodes
|
|
# Glide
|
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
|
-keep public class * extends com.bumptech.glide.AppGlideModule
|
|
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
|
|
**[] $VALUES;
|
|
public *;
|
|
}
|
|
# Jackson
|
|
-keep @com.fasterxml.jackson.annotation.JsonIgnoreProperties class * { *; }
|
|
-keep @com.fasterxml.jackson.annotation.JsonCreator class * { *; }
|
|
-keep @com.fasterxml.jackson.annotation.JsonValue class * { *; }
|
|
-keep class com.fasterxml.** { *; }
|
|
-keepnames class com.fasterxml.jackson.** { *; }
|
|
-keepclassmembers public final enum com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility {
|
|
public static final com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility *;
|
|
}
|
|
# Kotlin coroutines
|
|
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
|
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
|
|
-keepclassmembernames class kotlinx.** {
|
|
volatile <fields>;
|
|
} |