# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in E:\Users\Kyle\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 *;
#}
-dontskipnonpubliclibraryclassmembers
-dontoptimize

# Helps with debugging considerations
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable

-keepattributes EnclosingMethod

# Facebook, Twitter and GSON SDKs require signatures
-keepattributes Signature

# For using GSON @Expose annotation and Twitter SDK
-keepattributes *Annotation*

# Gson specific classes
-keep class sun.misc.Unsafe { *; }
-keep class sun.misc.Cleaner { *; }
-keep class sun.nio.ch.DirectBuffer { *; }

# OkHttp
-keepnames class com.squareup.okhttp.** { *; }
-keepnames interface com.squareup.okhttp.** { *; }

# OkHttp oddities
#-dontwarn com.squareup.okhttp.internal.http.*
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

#Parcelable
-keepclassmembers class * implements android.os.Parcelable { static ** CREATOR; }

-keepclassmembers,allowoptimization enum * {
      public static **[] values();
      public static ** valueOf(java.lang.String);
}

#-dontwarn com.squareup.okhttp.**
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-keepattributes InnerClasses
-keep class com.foursquare.api.** { *; }
-keep class com.foursquare.internal.util.CachedFileUtil { *; }

-keep enum com.foursquare.snaptoplace.** { *; }
-keep class com.foursquare.placepicker.PlacePickerSdk$Builder { *; }
-keep interface com.foursquare.placepicker.** { *; }
-keep class com.foursquare.placepicker.PlacePickerSdk { *; }
-keepclassmembers class com.foursquare.placepicker.PlacePicker {
    public static <fields>;
}

-keepclassmembers class **.R$* {
    public static <fields>;
}