[PM-14254] Keep Android verifier for JNI usage (#4197)

(cherry picked from commit fab018782c)
This commit is contained in:
Patrick Honkonen 2024-10-30 10:48:49 -04:00 committed by Patrick Honkonen
parent 42671aadfb
commit 75fc9fe210
No known key found for this signature in database
GPG key ID: B63AF42A5531C877

View file

@ -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
################################################################################