Skip to content

ProGuard Settings for Android SDK 3.x

knamoach edited this page Aug 25, 2022 · 1 revision

When building the application that integrates Webex Android SDK with minifyEnabled option as true, below are the proguard rules that needs to be used.

-keep public class com.webex.wseclient.**
-keepclassmembers class com.webex.wseclient.** {
*;
}

-keep public class com.cisco.webex.wme.**
-keepclassmembers class com.cisco.webex.wme.** {
*;
}

# com.cisco.wme.appshare
-keep public class com.cisco.wme.appshare.**
-keepclassmembers class com.cisco.wme.appshare.** {
*;
}

-keep public class com.webex.wme.**
-keepclassmembers class com.webex.wme.** {
*;
}

-keep public class com.cisco.jabber.system.utils.**
-keepclassmembers class com.cisco.jabber.system.utils.** {
*;
}

-keep class com.ciscowebex.androidsdk.OmniusWrapper.**
-keepclassmembers class com.ciscowebex.androidsdk.OmniusWrapper {
*;
}
-keepclassmembers class com.ciscowebex.androidsdk.OmniusWrapper.** {
*;
}

-keep public class com.ciscowebex.androidsdk.internal.IOmniusServiceBridge.**
-keepclassmembers class com.ciscowebex.androidsdk.internal.IOmniusServiceBridge {
*;
}
-keepclassmembers class com.ciscowebex.androidsdk.internal.IOmniusServiceBridge.** {
*;
}


-keep public class com.ciscowebex.androidsdk.utils.internal.ProxyHelper
-keep public class com.ciscowebex.androidsdk.utils.internal.ProxyHelper.**
-keepclassmembers class com.ciscowebex.androidsdk.utils.internal.ProxyHelper {
*;
}
-keepclassmembers class com.ciscowebex.androidsdk.utils.internal.ProxyHelper.** {
*;
}

-keep public class com.ciscowebex.androidsdk.internal.ResultImpl
-keep public class com.ciscowebex.androidsdk.internal.ResultImpl.**
-keepclassmembers public class com.ciscowebex.androidsdk.internal.ResultImpl {
*;
}
-keepclassmembers public class com.ciscowebex.androidsdk.internal.ResultImpl.** {
*;
}

-keep interface com.ciscowebex.androidsdk.Result
-keep interface com.ciscowebex.androidsdk.Result.**
-keepclassmembers interface com.ciscowebex.androidsdk.Result {
*;
}
-keepclassmembers interface com.ciscowebex.androidsdk.Result.** {
*;
}

-keep class com.ciscowebex.androidsdk.utils.internal.NetworkHelper
-keep class com.ciscowebex.androidsdk.utils.internal.NetworkHelper.**
-keepclassmembers class com.ciscowebex.androidsdk.utils.internal.NetworkHelper {
*;
}
-keepclassmembers class com.ciscowebex.androidsdk.utils.internal.NetworkHelper.** {
*;
}

-keep interface com.ciscowebex.androidsdk.CompletionHandler
-keep interface com.ciscowebex.androidsdk.CompletionHandler.**
-keepclassmembers class com.ciscowebex.androidsdk.CompletionHandler{
*;
}
-keepclassmembers class com.ciscowebex.androidsdk.CompletionHandler.** {
*;
}

-keep public enum com.webex.scf.commonhead.models.**{
*;
}

-keep public class com.webex.scf.commonhead.models.**{
*;
}

-keep enum com.ciscowebex.androidsdk.utils.internal.NetTypes{
*;
}
Clone this wiki locally