-keepattributes InnerClasses

-keep class com.idenfy.idenfySdk.uicomponents.**  { *; }
-keep class com.idenfy.idenfySdk.api.**  { *; }
-keep class com.idenfy.idenfySdk.instructions.ui.utils.TopSheetBehavior

-keep public class com.idenfy.idenfySdk.CoreSdkInitialization** {
  public protected *;
  public *;
}

-keep public class com.idenfy.idenfySdk.SdkResponseModels** {
  public protected *;
  public *;
  public static **[] values();
      public static ** valueOf(java.lang.String);
}
-keep public enum com.idenfy.idenfySdk.**{
    public static **[] values();
        public static ** valueOf(java.lang.String);
}
-keepclassmembers enum com.idenfy.idenfySdk.** { *; }
-keepclassmembers enum com.idenfy.idenfySdk.** {
    public static **[] values();
    public static ** valueOf(java.lang.String);
}
-keepclassmembers enum com.idenfy.idenfySdk.** {
    <fields>;
    public static **[] values();
    public static ** valueOf(java.lang.String);
 }

-dontwarn okhttp3.**
-dontwarn okio.**
-dontwarn java.lang.invoke**
-dontwarn javax.annotation.**
-dontwarn org.conscrypt.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontnote retrofit2.Platform
-dontwarn retrofit2.Platform$Java8

-verbose

-keep class * implements android.arch.lifecycle.GeneratedAdapter {<init>(...);}
-keep class android.arch.lifecycle.** {*;}
-keepattributes Signature, InnerClasses, EnclosingMethod

# Retrofit does reflection on method and parameter annotations.
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations

# Retain service method parameters when optimizing.
-keepclassmembers,allowshrinking,allowobfuscation interface * {
    @retrofit2.http.* <methods>;
}

-keepclassmembers class * {
   @com.google.gson.annotations.SerializedName <fields>;
}

# Ignore annotation used for build tooling.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

# Ignore JSR 305 annotations for embedding nullability information.
-dontwarn javax.annotation.**

# Guarded by a NoClassDefFoundError try/catch and only used when on the classpath.
-dontwarn kotlin.Unit

-dontwarn kotlin.**

# Top-level functions that can only be used by Kotlin.
-dontwarn retrofit2.-KotlinExtensions

-dontwarn com.idenfy.idenfyliveness.**

-keep public enum com.idenfy.idenfysdk.core.**{
    public static **[] values();
        public static ** valueOf(java.lang.String);
}
-keepclassmembers public class com.idenfy.idenfysdk.core.networking.models** { *; }

-keep class biz.smartengines.smartid** { *; }
#-keep class com.idenfy.docscanning.networking.**

# Coroutines
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
-keepclassmembernames class kotlinx.** {
    volatile <fields>;
}



