diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index e7a10029e..d4963ef3c 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -6,6 +6,10 @@ # we keep it here. -keep class com.bitwarden.** { *; } +# The Android Verifier component must be kept because it looks like dead code. Proguard is unable to +# see any JNI usage, so our rules must manually opt into keeping it. +-keep, includedescriptorclasses class org.rustls.platformverifier.** { *; } + ################################################################################ # Bitwarden Models ################################################################################