# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# 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 *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

-optimizationpasses 5
-dontusemixedcaseclassnames
-verbose

-keep, allowobfuscation class io.develotex.comma.*
-keepclassmembers, allowobfuscation class * { *; }

-keep class com.microsoft.signalr.** { *; }
-keep class org.webrtc.** { *; }
-keep class io.develotex.comma.api.requests.** { *; }
-keep class io.develotex.comma.api.responses.** { *; }

-keep class io.develotex.comma.IncomingCall.** { *; }
-keep class io.develotex.comma.ConnectionListener.** { *; }
-keep class io.develotex.comma.IncomingCallListener.** { *; }
-keep class io.develotex.comma.CallListener.** { *; }
-keep class io.develotex.comma.CaptureConfig.** { *; }
-keep class io.develotex.comma.Comma.** { *; }

-keepnames class io.develotex.comma.Comma$Builder
-keepclassmembernames class io.develotex.comma.Comma$Builder {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.IncomingCall
-keepclassmembernames class io.develotex.comma.IncomingCall {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.ConnectionListener
-keepclassmembernames class io.develotex.comma.ConnectionListener {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.IncomingCallListener
-keepclassmembernames class io.develotex.comma.IncomingCallListener {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.CallListener
-keepclassmembernames class io.develotex.comma.CallListener {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.CaptureConfig
-keepclassmembernames class io.develotex.comma.CaptureConfig {
    public <methods>;
    public <fields>;
}

-keepnames class io.develotex.comma.Comma
-keepclassmembernames class io.develotex.comma.Comma {
    public <methods>;
    public <fields>;
}