Skip to content

Commit a2ccf92

Browse files
committed
#471 修复R8 full mode下,通过匿名内部类,使用任意继承TypeParser的类,闪退报Missing type parameter.问题
1 parent f1cc71a commit a2ccf92

File tree

1 file changed

+3
-0
lines changed
  • rxhttp/src/main/resources/META-INF/proguard

1 file changed

+3
-0
lines changed

rxhttp/src/main/resources/META-INF/proguard/rxhttp.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@
2424
public okhttp3.internal.cache.DiskLruCache create(
2525
okhttp3.internal.io.FileSystem, java.io.File, int, int, long);
2626
}
27+
28+
# With R8 full mode generic signatures are stripped for classes that are not kept.
29+
-keep,allowobfuscation,allowshrinking class * extends rxhttp.wrapper.parse.TypeParser

0 commit comments

Comments
 (0)