# This prevents the names of native methods from being obfuscated and prevents
# UnsatisfiedLinkErrors.
-keepclasseswithmembernames class * {
    native <methods>;
}

# We keep all fields for every generated proto file as the runtime uses
# reflection over them that ProGuard cannot detect. Without this keep
# rule, fields may be removed that would cause runtime failures.
-keepclassmembers class * extends com.google.android.gms.internal.mlkit_vision_face_bundled.zzuw {
  <fields>;
}

# Uses reflection to determine if these classes are present and has a graceful
# fallback if they aren't.
-dontwarn dalvik.system.VMStack
