From dc69ed202378624b5cda8766292494f028d60f45 Mon Sep 17 00:00:00 2001 From: Mygod Date: Tue, 21 Jan 2020 05:50:07 +0800 Subject: [PATCH] Fix crash on release builds --- mobile/proguard-rules.pro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/proguard-rules.pro b/mobile/proguard-rules.pro index a8ad88c7..cd857be1 100644 --- a/mobile/proguard-rules.pro +++ b/mobile/proguard-rules.pro @@ -14,12 +14,12 @@ # Uncomment this to preserve the line number information for # debugging stack traces. --keepattributes *Annotation* -keepattributes SourceFile,LineNumberTable -dontobfuscate # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile --dontwarn org.mockito.** --dontwarn org.objenesis.instantiator.** +-keepclasseswithmembers class * extends androidx.lifecycle.ViewModel { + (); +}