난독화 설정

Android Proguard(R8)

난독화 예외 설정이 없이 앱을 난독화 하시면 앱의 빌드가 실패 하거나, 앱 사용중 오류가 발생 할 수 있습니다.

“consumer-rules.pro ” 파일 설정을 통해 기본 설정값이 제공되나, 난독화로 인한 오류 발상시 아래의 내용을 확인 부탁드립니다.

# CASH-BUTTON-SDK
-keeppackagenames
-keep class com.avatye.sdk.cashbutton.** { *; }
-dontwarn com.avatye.sdk.cashbutton.**

# Gson specific classes
-keep class sun.misc.Unsafe { *; }
-keepattributes *Annotation*
-keepattributes Signature

# IGAWORKS
-keep class com.igaworks.** { *; }
-dontwarn com.igaworks.**
-keep class com.igaworks.gson.stream.** { *; }
-keep class com.igaworks.adbrix.model.** { *; }

## Channel Tlak
-keep class com.google.zxing.** { *; }
-keep class com.zoyi.**{
   *;
}
-dontwarn com.zoyi.**

# UnityAds - Mediation
-keep class com.unity3d.ads.** { *; }
-keep class com.unity3d.services.** { *; }
-dontwarn com.google.ar.core.**

# Vungle - Mediation
-dontwarn com.vungle.warren.downloader.DownloadRequestMediator$Status
-dontwarn com.vungle.warren.error.VungleError$ErrorCode
## Vungle { Google }
-dontwarn com.google.android.gms.common.GoogleApiAvailabilityLight
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient$Info
## Vungle { Moat SDK }
-keep class com.moat.** { *; }
-dontwarn com.moat.**
## Vungle {Prevent R8 from leaving Data object members always null}
-keepclassmembers,allowobfuscation class * {
  @com.google.gson.annotations.SerializedName <fields>;
}
## Vungle { OkHttp + Okio }
-dontwarn javax.annotation.**
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
-dontwarn org.codehaus.mojo.animal_sniffer.*
-dontwarn okhttp3.internal.platform.ConscryptPlatform


# AdColony - Mediation
-keepclassmembers class * {
    @android.webkit.JavascriptInterface <methods>;
}
## AdColony { For removing warnings due to lack of Multi-Window support }
-dontwarn android.app.Activity

##Pangle
-keep class com.bytedance.sdk.** { *; }
-keep class com.pgl.sys.ces.* {*;}


# Mobon - Mediation
-dontwarn com.httpmodule.**
-dontwarn com.imgmodule.**
-keep class com.httpmodule.** { *; }
-keep class com.imgmodule.** { *; }
-keep public class com.mobon.**{
public *;
}

# Cauly - Mediation
-keep class com.fsn.cauly.** {
	   public *; protected *;
}
-keep class com.trid.tridad.** {
  	  public *; protected *;
}
-dontwarn android.webkit.**

Last updated