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

This commit is contained in:
Patrick Honkonen 2024-10-30 10:48:49 -04:00 committed by GitHub
parent 0211729525
commit fab018782c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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