Is there any proguard rules should use while using EncryptedSharedPreferences?
问题 before using EncryptedSharedPreferences my app works fine in release mode with (minifyEnabled = true), After adding the security library to my application the app crash while opening and if i use (minifyEnabled = false) the app works fine, i think i missing something to add it in proguard-rules.pro but i have searched a lot did not found anything. 回答1: Looks like something wrong with Tink obfuscation. My current workaround is add this rule to proguard: -keep class com.google.crypto.tink.** {