From 83fd2ddfec07d0b171cc18adc0d557c60d901122 Mon Sep 17 00:00:00 2001 From: ocean <503259349@qq.com> Date: Thu, 4 Dec 2025 10:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=AF=E8=83=BD=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E7=9A=84pdf=E6=9F=A5=E7=9C=8B=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 244735a..d5a4fd6 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -20,7 +20,13 @@ # hide the original source file name. #-renamesourcefileattribute SourceFile --keep class com.shockwave.** +# PDFium完整保留 +-keep class com.shockwave.** { *; } +-keep class com.github.barteksc.pdfviewer.** { *; } +-keepclassmembers class * { + native ; +} + -keep class com.luck.picture.lib.** { *; } -keep class com.luck.lib.camerax.** { *; } -dontwarn com.yalantis.ucrop**