##
# Proguard for Vision
#
# Keep various classes, fields, and methods referenced by the Barcode
# & Face native code that uses these via JNI.
-keep class com.google.android.gms.vision.barcode.internal.Native* {
    public <fields>;
}

-keep class com.google.android.gms.vision.face.internal.Native* {
    public <fields>;
}

-keep class com.google.android.gms.vision.face.Native* {
    public <fields>;
}

# DynamiteApplicationContext is bundled into the thick client, but only
# actually used for the thin client.
-dontwarn com.google.android.gms.chimera.DynamiteApplicationContext

# 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.vision.zzid {
  <fields>;
}
