Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
proguard rules for Twitter UI
# Twitter core rules
-keepattributes *Annotation* #GSON
-dontwarn java.nio.file.** #Okio
-dontwarn org.codehaus.mojo.animal_sniffer.** #Okio
-dontwarn javax.annotation.* #Okio
-dontwarn javax.annotation.concurrent.* #Okio
-dontnote retrofit2.Platform #Retrofit 2
-dontnote retrofit2.Platform$IOS$MainThreadExecutor #Retrofit 2
-dontwarn retrofit2.Platform$Java8 #Retrofit 2
-keepattributes Signature #Retrofit 2
-keepattributes Exceptions #Retrofit 2
-keepclasseswithmembers class * { #Retrofit 2
@retrofit2.http.* <methods>; #Retrofit 2
} #Retrofit 2
# Twitter ui rules
-dontwarn com.squareup.okhttp.** #Picasso
#-keep class com.twitter.sdk.android.tweetui.** { *; } #Twitter
#-keep public class com.twitter.sdk.android.tweetui.** { *; } #Twitter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.