From 22ec947508c9a3c57fe25604d8867c61d66d7f01 Mon Sep 17 00:00:00 2001 From: jenly1314 Date: Mon, 25 Nov 2019 10:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B7=B7=E6=B7=86=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/proguard-rules.pro | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/proguard-rules.pro b/lib/proguard-rules.pro index 6e7ffa9..e786d4a 100644 --- a/lib/proguard-rules.pro +++ b/lib/proguard-rules.pro @@ -19,3 +19,16 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +#ZXingLite +-dontwarn com.king.zxing.** +-keep class com.king.zxing.**{ *;} +-keepattributes InnerClasses +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} + +#ZXing +-dontwarn com.google.zxing.** +-keep class com.google.zxing.**{ *;} \ No newline at end of file