问题
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.** { *; }
But also keep track of updates of issue here.
来源:https://stackoverflow.com/questions/61369378/is-there-any-proguard-rules-should-use-while-using-encryptedsharedpreferences