Pro Guard Rules for the Android SDK Pro Guard Rules for the Android SDK

Pro Guard Rules for the Android SDK

Paul Bird

Objective

Applying the proper Pro Guard configuration. Pro Guard detects and removes unused classes, fields, methods, and attributes.

Applies To

  • Pro Guard
  • Android SDK

Procedure

The following pro guard rules are recommended to be applied in the Android Gradle:

-keep class com.opentok.{ ; }
-keepclassmembers class com.opentok.{ ; }
-dontwarn com.opentok.**
-keep class org.otwebrtc.* { ; }

Additional Information

For more information, see the developer documentation for the Android SDK.