From b8ed2b19e0aaf3c357e2f601d8304acdc525f4f9 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 25 四月 2025 16:54:02 +0800 Subject: [PATCH] refactor(nfc): 优化 NFC 读卡工具类 --- generallibrary/proguard-rules.pro | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/generallibrary/proguard-rules.pro b/generallibrary/proguard-rules.pro index 481bb43..965bfa3 100644 --- a/generallibrary/proguard-rules.pro +++ b/generallibrary/proguard-rules.pro @@ -18,4 +18,12 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile +# Room 鏁版嵁搴� +-keep class * extends androidx.room.RoomDatabase +-keep class * extends androidx.room.Entity +-keep class * extends androidx.room.Dao +-keep @androidx.room.Entity class * +-keepclassmembers class * { + @androidx.room.* *; +} \ No newline at end of file -- Gitblit v1.8.0