AsyncService ProGuard rules

AsyncService – a library that manages threading and caching transparently in your Android application.

Alternative to AsyncTasks, Loaders, or more advanced libs like RxJava, Robospice, and Groundy but AsyncService focuses on keeping your code short and simple.


ProGuard rules for AsyncService

Add the following lines to your ProGuard configuration proguard.cfg file in project.

# AsyncService 
-keep @com.joanzapata.android.asyncservice.api.annotation.AsyncService class *
-keep class **Injector
-keepnames class **Injector
-keepnames class * {
    @com.joanzapata.android.asyncservice.api.annotation.InjectService *;
}
-keepnames class * {
    @com.joanzapata.android.asyncservice.api.annotation.OnMessage *;
}
-keep class com.esotericsoftware.kryo.** {*;}

For more information about AsyncService please see the website.

Static Gson ProGuard rules

Popular ProGuard rules