# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/nikhilkashid/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}


#Keep classes that are referenced on the AndroidManifest
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.content.Activity

-keep public class in.coinn.client.Coinn{ *; }
-keep public class in.coinn.client.CoinnConfig { *; }
-keep public class in.coinn.client.ResponseCallBack { *; }
-keep public class in.coinn.client.pushNotifications.** { *; }
-keep public class in.coinn.client.network.** { *; }

-keepclassmembers enum * { *; }

-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
-keepattributes *Annotation*

-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  **[] $VALUES;
  public *;
}

-keep class com.google.android.gms.ads.identifier.** { *; }

-keepattributes Exceptions, Signature, InnerClasses, LineNumberTable

-keepclassmembers class * {
  @com.google.api.client.util.Key <fields>;
}
-keep public class com.google.android.gms.* { *; }
-dontwarn com.google.android.gms.**
-keepattributes Signature,RuntimeVisibleAnnotations,AnnotationDefault

-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions

-dontwarn okio.**

-keepclasseswithmembers class * {
    @retrofit2.http.* <methods>;
}

-keep public class in.coinn.proximity.Coinn{ *; }
-keep public class in.coinn.proximity.CoinnConfig { *; }
-keep public class in.coinn.proximity.ResponseCallBack { *; }
-keep public class in.coinn.proximity.pushNotifications.** { *; }
-keep public class in.coinn.proximity.network.** { *; }


-dontwarn okio.**
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions

-dontwarn okio.**

-keepclasseswithmembers class * {
    @retrofit2.http.* <methods>;
}
