# game_sdk
-keep class com.ugame.** {*;}
-keep class com.bytedance.** {*;}
-keep class com.ss.** {*;}

#debug_sdk模块需要
-keep class com.bytedance.ugame.framework.module.network.log.ReleaseTree {*;}
-keep class com.bytedance.ugame.framework.module.network.log.ThreadAwareDebugTree {*;}
-keep class org.chromium.CronetClient* {*;}
-keep class timber.log.Timber {*;}
-keep class timber.log.Timber$* {*;}
-keep class org.chromium.CronetDependManager { *; }
-keep class org.chromium.CronetAppProviderManager { *; }
-keep class g.cronet.asm.CronetUtil {*;}

#thanos需要
-keep class com.bytedance.framwork.core.sdkmonitor.SDKMonitor {*;}
-keep class com.bytedance.framwork.core.sdkmonitor.SDKMonitorUtils {*;}
-keep class com.ss.android.socialbase.downloader.** {*;}
-keep class com.ss.android.socialbase.appdownloader.** {*;}

-keep class com.bytedance.ugame.plugin.PluginApplication {*;}

# 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
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Applications/android/android-sdk-macosx/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# 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 *;
#}
-keep class com.bytedance.frameworks.plugin.core.res.MiraResourcesWrapper {*;}
-keep class **.R$* {*;}
-keep class com.bytedance.mira.compat.o.ActivityConfigCallbackProxy {*;}
-keep class android.support.v7.widget.AppCompatDrawableManager {*;}
-keep class * extends android.app.Instrumentation {*;}
-keep interface com.bytedance.mira.MiraInstrumentationCallback { *; }
-keep class com.bytedance.mira.core.PluginClassLoader {*;}
-keep class com.bytedance.mira.hook.delegate.MiraClassLoader {*;}

#用于测试
#-keepattributes LocalVariableTable,LocalVariableTypeTable
#-keep class com.bytedance.mira.** {*;}

# 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

-keep class com.meituan.robust.**{*;}
-keep class com.google.gson.**{*;}
-keepattributes *Annotation*


# 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

-dontwarn com.tencent.smtt.sdk.WebView
-dontwarn com.tencent.smtt.sdk.WebChromeClient

-dontwarn androidx.annotation.Nullable
-dontwarn androidx.annotation.NonNull
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient
-dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient$Info
-dontwarn androidx.appcompat.app.AlertDialog
-dontwarn androidx.appcompat.view.menu.ListMenuItemView
-dontwarn androidx.recyclerview.widget.RecyclerView
-dontwarn androidx.swiperefreshlayout.widget.SwipeRefreshLayout
-dontwarn androidx.viewpager.widget.ViewPager
-dontwarn androidx.recyclerview.widget.RecyclerView
-dontwarn androidx.annotation.RequiresApi
-dontwarn androidx.fragment.app.FragmentActivity
-dontwarn androidx.fragment.app.Fragment
-dontwarn androidx.annotation.AnyThread
-dontwarn androidx.annotation.WorkerThread

-keep class com.bytedance.applog.picker.DomSender { public *; }

-keep class com.bytedance.dr.VivoIdentifier {*;}
-keep class com.bytedance.dr.VivoIdentifier$* {*;}


-keep class XI.CA.XI.**{*;}
-keep class XI.KO.XI.**{*;}
-keep class XI.XI.KO.**{*;}
-keep class XI.vs.KO.**{*;}
-keep class XI.xo.XI.XI.**{*;}
-keep class com.asus.msa.SupplementaryDID.**{*;}
-keep class com.asus.msa.sdid.**{*;}
-keep class com.bun.lib.**{*;}
-keep class com.bun.miitmdid.**{*;}
-keep class com.huawei.hms.ads.identifier.**{*;}
-keep class com.samsung.android.deviceidservice.**{*;}
-keep class org.json.**{*;}
-keep public class com.netease.nis.sdkwrapper.Utils {
public <methods>;
}
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/chenjian/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

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

-dontskipnonpubliclibraryclassmembers
-printconfiguration
-keep,allowobfuscation @interface android.support.annotation.Keep

-keep @android.support.annotation.Keep class *
-keepclassmembers class * {
    @android.support.annotation.Keep *;
}

-keep class com.bytedance.crash.nativecrash.NativeImpl {
  private static void handleNativeCrashInJava(String, String, String[], String[]);
  private static void reportEventForAnrMonitor();
}

# 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

# 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

# ServiceManager keep rules
-keep class com.bytedance.news.common.service.manager.IServiceProxy {*;}
-keep class * implements com.bytedance.news.common.service.manager.IServiceProxy {*;}
-keep interface com.bytedance.news.common.service.manager.IService {*;}
-keep interface * extends com.bytedance.news.common.service.manager.IService {*;}
-keep class * implements com.bytedance.news.common.service.manager.IService {*;}
# 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

#keep for spi

-keep class com.bytedance.ugame.framework.module.spi.ServiceManager { public *; }
-keep public interface com.bytedance.ugame.framework.module.spi.IReleasable { *; }

# 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

-keep class * implements com.bytedance.ugame.rocketapi.** {*;}
-keep class com.bytedance.ugame.rocketapi.** {*;}
-keep class * implements com.bytedance.ugame.rocketapi.report.** {*;}
-keep class com.bytedance.ugame.rocketapi.report.** {*;}
-keep class com.bytedance.ugame.rocketapi.report.model.** {*;}
# 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

# applog 老代码相关，先建议保留
-keep class com.ss.android.common.applog.UserInfo { *; }
-keep class com.ss.android.common.applog.GlobalContext { *; }
-keep class com.ss.android.common.applog.EstrBean {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.monitor.MonitorManager { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.monitor.SdkMonitorManager { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.ChannelConstants { public *;}
-keep class com.bytedance.ugame.sdk.module.core.internal.GameSdkConfig { public *;}
-keep class com.bytedance.ugame.sdk.module.core.internal.SdkCoreData { public *;}
-keep class com.bytedance.ugame.sdk.module.core.internal.InitHook { public *;}
-keep class com.bytedance.ugame.sdk.module.core.internal.alog.LogManager {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.alog.Level {*;}
-keep class com.bytedance.ugame.sdk.module.utils.AesCbcUtils {*;}
-keep class com.bytedance.ugame.sdk.module.utils.ClipboardUtils {*;}
-keep class com.ss.android.common.lib.AppLogNewUtils{*;}

# push
-keep class com.bytedance.ugame.sdk.module.utils.NumberUtils { public *;}


# voice
-keepclassmembers class okhttp3.Dns { public *; }

-keep class com.ss.sys.ck.SCCheckUtils {*;}
#adjust todo完善proguard规则
-keep public class com.adjust.sdk.** { *; }
-keep class com.google.android.gms.common.ConnectionResult {
    int SUCCESS;
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
    com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo(android.content.Context);
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
    java.lang.String getId();
    boolean isLimitAdTrackingEnabled();
}
-keep public class com.android.installreferrer.** { *; }

#########Lancet
-keep class com.ss.android.common.applog.AppLog { *; }
-keep class com.bytedance.applog.** { *; }
#########Lancet

# 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
-keep class com.bytedance.crash.nativecrash.NativeCrashMonitor {
  private static void handleNativeCrashInJava(String, String, String[], String[]);
}
# 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

#keep for spi
-keep class * implements com.bytedance.ugame.framework.module.spi.IService {*;}
-keep class com.bytedance.ugame.framework.module.callback.** {*;}

# Retrofit  todo:proguard 规则完善
#-keep class com.bytedance.retrofit2.** { *; }
#-dontwarn com.bytedance.retrofit2.**
#-dontwarn rx.**
# Platform calls Class.forName on types which do not exist on Android to determine platform.
-keepattributes *Annotation*
-dontnote com.bytedance.retrofit2.Platform
-keepclasseswithmembers class * {
    @com.bytedance.retrofit2.http.* <methods>;
}
-keepattributes Signature
-keepattributes Exceptions

-keepclassmembers class * {
    @org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }

# Only required if you use AsyncExecutor
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
    <init>(java.lang.Throwable);
}

-keep class com.bytedance.ugame.framework.module.util.PermissionUtil { public *; }
-keep class com.bytedance.ugame.framework.module.applog.AppLogContext { public *; }
-keep class com.bytedance.ugame.framework.module.network.AppExecutors { public *; }
-keep class com.bytedance.ugame.framework.module.network.ApiResponse { public *; }
-keep class com.bytedance.ugame.framework.module.network.Resource { public *; }
-keep class com.bytedance.ugame.framework.module.network.Resource$Status { public *; }
-keep class com.bytedance.ugame.framework.module.network.livedata.NetworkOnlyBoundResource { public *; protected *; }
-keep class com.ss.android.agilelogger.ALog { public *; }
-keep class com.bytedance.retrofit2.http.* { public *; }
-keep class com.bytedance.retrofit2.mime.TypedByteArray { public *; }
-keep class com.bytedance.ugame.framework.module.network.IRetrofit { public *; }
-keep class com.bytedance.retrofit2.Call { public *; }
-keep class com.bytedance.ttnet.http.RequestContext { public *; }

# push 模块需要
-keep class com.ss.android.common.applog.TeaAgent { public *; }
-keep class com.ss.android.common.applog.AppLog { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.applog.ApplogHelper { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.network.TTService { public *; }
-keep class com.bytedance.ugame.sdk.module.utils.ProcessUtils { public *; }
-keep class com.ss.android.deviceregister.DeviceRegisterManager { public *; }
-keep class com.ss.android.deviceregister.DeviceRegisterManager$OnDeviceConfigUpdateListener { public *; }
-keep class com.bytedance.ugame.sdk.module.utils.AppInfoUtil { public *; }
-keep class com.ss.android.common.applog.NetUtil { public *; }
-keep class com.bytedance.retrofit2.client.Header { public *; }
-keep class com.bytedance.retrofit2.mime.TypedOutput { public *; }
-keep class com.bytedance.frameworks.baselib.network.http.NetworkParams$ApiProcessHook { public *; }
-keep class com.bytedance.ugame.framework.module.applog.ITeaAgent { public *; }
-keep class com.bytedance.ugame.framework.module.applog.InternalServiceManager { public *; }
-keep class com.bytedance.ugame.module.push.network.PushApiProcessHook { public *; }
-keep class com.bytedance.ttnet.http.HttpRequestInfo { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.network.ttnet.TTNetUtil { public *; }
-keep class com.bytedance.ugame.sdk.module.core.internal.RocketConstants { public *; }

#debug_sdk 模块需要
-keep class com.bytedance.retrofit2.intercept.* { *;}
-keep class com.bytedance.retrofit2.SsResponse { *;}
-keep class com.bytedance.retrofit2.client.Request { *;}
-keep class com.bytedance.retrofit2.client.Response { *;}
-keep class com.bytedance.retrofit2.mime.FormUrlEncodedTypedOutput { *;}
-keep class com.bytedance.retrofit2.mime.TypedByteArray { *;}


# screenrecord 模块需要
-keep class com.bytedance.retrofit2.Retrofit { public *; }
-keep class com.bytedance.retrofit2.Retrofit$Builder { public *; }
-keep class com.bytedance.retrofit2.http.** { public *; }
-keep class com.bytedance.retrofit2.mime.TypedInput { public *; }
-keep class com.bytedance.retrofit2.CallAdapter** { public *; }
-keep class com.bytedance.frameworks.baselib.network.http.retrofit.SsHttpExecutor { public *; }
-keep class com.bytedance.framwork.core.monitor.MonitorUtils { public *; }
-keep class com.bytedance.ttnet.retrofit.SsRetrofitClient { public *; }
-keep class com.bytedance.ugame.framework.module.util.SpUtil { public *;}

# translate 模块需要
-keep class com.bytedance.retrofit2.Callback { *; }

# for cronet plugin
-keep interface com.bytedance.frameworks.baselib.network.http.cronet.I* {*;}
-keep class com.bytedance.common.utility.Logger { *; }
-keep class com.bytedance.common.utility.collection.WeakHandler { *; }
-keep interface com.bytedance.common.utility.collection.WeakHandler$IHandler { *; }
-keep class com.bytedance.common.utility.reflect.Reflect { *; }
-keep class com.bytedance.ttnet.TTNetInit {*;}

#####################################以下为 cronet 配置###########################################

# Proguard config for apps that depend on cronet_impl_common_java.jar.

# This constructor is called using the reflection from Cronet API (cronet_api.jar).

-keep class org.chromium.net.impl.CronetEngineBuilderImpl {
    public <init>(android.content.Context);
}

# cronet 1.3.1 之后
-keep class com.ttnet.org.chromium.net.impl.** {*;}
-keep class com.ttnet.org.chromium.base.JNIUtils {*;}
-keep class com.ttnet.org.chromium.** {*;}

-keep class com.bytedance.org.chromium.net.impl.** {*;}
-keep class com.bytedance.org.chromium.base.JNIUtils {*;}
-keep class com.bytedance.org.chromium.** {*;}
-keepattributes *Annotation*
-keep class org.chromium.CronetClient* {*;}
# This class should be explicitly kept to avoid failure if
# class/merging/horizontal proguard optimization is enabled.
-keep class org.chromium.net.impl.ImplVersion

# Proguard config for apps that depend on cronet_impl_native_java.jar.

-keep class org.chromium.net.impl.CronetUrlRequest$HeadersList
-keep class org.chromium.net.impl.ChromiumUrlRequest$ResponseHeadersMap

# Suppress unnecessary warnings.
-dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
-dontnote org.chromium.net.AndroidKeyStore
# Needs 'void setTextAppearance(int)' (API level 23).
-dontwarn org.chromium.base.ApiCompatibilityUtils
# Needs 'boolean onSearchRequested(android.view.SearchEvent)' (API level 23).
-dontwarn org.chromium.base.WindowCallbackWrapper

# Generated for chrome apk and not included into cronet.
-dontwarn org.chromium.base.BuildConfig
-dontwarn org.chromium.base.library_loader.NativeLibraries
-dontwarn org.chromium.base.multidex.ChromiumMultiDexInstaller

# Objects of this type are passed around by native code, but the class
# is never used directly by native code. Since the class is not loaded, it does
# not need to be preserved as an entry point.
-dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
# https://android.googlesource.com/platform/sdk/+/marshmallow-mr1-release/files/proguard-android.txt#54
-dontwarn android.support.**

# This class should be explicitly kept to avoid failure if
# class/merging/horizontal proguard optimization is enabled.
-keep class org.chromium.base.CollectionUtil

-keep class org.chromium.base.** {
    public <fields>;
    public <methods>;
    public *;
}

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Contains flags that can be safely shared with Cronet, and thus would be
# appropriate for third-party apps to include.

# Keep all annotation related attributes that can affect runtime
-keepattributes RuntimeVisible*Annotations
-keepattributes AnnotationDefault

-dontwarn com.appsflyer.AFKeystoreWrapper

# Keep the annotations, because if we don't, the ProGuard rules that use them
# will not be respected. These classes then show up in our final dex, which we
# do not want - see crbug.com/628226.
-keep @interface org.chromium.base.annotations.AccessedByNative
-keep @interface org.chromium.base.annotations.CalledByNative
-keep @interface org.chromium.base.annotations.CalledByNativeUnchecked
-keep @interface org.chromium.base.annotations.RemovableInRelease
-keep @interface org.chromium.base.annotations.UsedByReflection

# Keeps for class level annotations.
-keep @org.chromium.base.annotations.UsedByReflection class *

# Keeps for method level annotations.
-keepclasseswithmembers class * {
  @org.chromium.base.annotations.AccessedByNative <fields>;
}
-keepclasseswithmembers,includedescriptorclasses class * {
  @org.chromium.base.annotations.CalledByNative <methods>;
}
-keepclasseswithmembers,includedescriptorclasses class * {
  @org.chromium.base.annotations.CalledByNativeUnchecked <methods>;
}
-keepclasseswithmembers class * {
  @org.chromium.base.annotations.UsedByReflection <methods>;
}
-keepclasseswithmembers class * {
  @org.chromium.base.annotations.UsedByReflection <fields>;
}
-keepclasseswithmembers,includedescriptorclasses class * {
  native <methods>;
}

# Remove methods annotated with this if their return value is unused.
-assumenosideeffects class ** {
  @org.chromium.base.annotations.RemovableInRelease <methods>;
}

# Keep all class implements Parcelable
-keep class * implements android.os.Parcelable {*;}

# Keep all enum values and valueOf methods. See
# http://proguard.sourceforge.net/index.html#manual/examples.html
# for the reason for this. Also, see http://crbug.com/248037.
-keepclassmembers enum org.chromium.** {
    public static **[] values();
}

# Proguard config for apps that depend on cronet_impl_platform_java.jar.

# This constructor is called using the reflection from the Cronet common
# implementation (cronet_impl_platform_java.jar).
-keep class org.chromium.net.impl.JavaCronetEngine {
    public <init>(java.lang.String);
}

-keep class org.chromium.wschannel.MySelfChannelImpl {*;}

-keep class com.bytedance.ugame.framework.module.util.PermissionMediator {*;}
-keep interface com.bytedance.ugame.framework.module.util.PermissionMediator$* {*;}

-keep class com.bytedance.ugame.framework.module.util.FlavorUtilKt {*;}

-keep class com.bytedance.frameworks.baselib.network.http.cronet.impl.CronetIOException{*;}

# ttuploader相关
-keep class com.ss.android.vesdk.** { *; }
-keep class com.ss.ttuploader.** { *; }

#自定义view的ke
-keep class com.bytedance.common.utility.view.DrawableCenterTextView {*;}

##fresco
-keep class com.facebook.** { *; }

##im,rn  wschannel
-keep class com.bytedance.common.wschannel.**{*;}
-keep class com.bytedance.ies.geckoclient.**{*;}
-keep class com.bytedance.im.sugar.wsclient.**{*;}
-keep class com.bytedance.common.push.**{*;}
-keep class com.ss.android.message.**{*;}
-keep class com.ss.android.push_common_lib.**{*;}
-keep class com.ss.android.pushmanager.**{*;}
-keep class com.bytedance.retrofit2.ExpandCallback { *; }
-keep class com.bytedance.retrofit2.RequestBuilder { *; }

##gpm
-keep class com.bytedance.news.common.settings.api.annotation.ISettings {*;}
-keep class * implements com.bytedance.news.common.settings.api.annotation.ISettings {*;}
-keep class com.bytedance.news.common.settings.api.SettingsData {*;}

-keep class com.bytedance.news.common.settings.api.RequestService {*;}
-keep class com.bytedance.ugame.module.gpm.SettingsRequestServiceImpl {*;}
-keep class com.bytedance.news.common.settings.api.Response {*;}
-keep class com.bytedance.ttgame.gpmlibrary.**{*;}
-keep class com.bytedance.news.common.settings.IndividualManager{*;}
-keep class com.bytedance.news.common.settings.SettingsConfig{*;}
-keep class com.bytedance.news.common.settings.SettingsConfig$*{*;}
-keep class com.bytedance.news.common.settings.LazyConfig{*;}

-keep class com.bytedance.ugame.framework.module.network.log.timber.Timber { *; }
-keep class com.bytedance.ugame.framework.module.network.log.timber.Timber$* { *; }



# 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

-keep class com.bytedance.ugame.core.** {*;}

# 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
-keep class com.bytedance.ugame.module.crash.api.** { *; }

# 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
-keep class com.ss.android.socialbase.downloader.model.DownloadInfo {*;}

-keep class com.ss.android.vesdk.** { *; }
-keep class com.ss.ttuploader.** { *; }

-keep class com.bytedance.ugame.module.rn.GReactNativeActivity {*;}
-keep class com.bytedance.ugame.channel.smartRouter.NotifyRouter {*;}
-keep class com.bytedance.ugame.channel.smartRouter.HomePageRouter {*;}
-keep class com.bytedance.ugame.channel.smartRouter.HomePageNoify {*;}


# download库
-keep class com.ss.android.downloadlib.** { *; }
-keep class com.ss.android.download.api.** { *; }
-keep class com.ss.android.downloadad.api.** { *; }

-keep interface com.ss.android.downloadlib.** { *; }
-keep interface com.ss.android.download.api.** { *; }
-keep interface com.ss.android.downloadad.api.** { *; }

# appdownloader
-keep class com.ss.android.socialbase.appdownloader.** { *; }
-keep class com.ss.android.socialbase.downloader.** { *; }

-keep interface com.ss.android.socialbase.appdownloader.** { *; }
-keep interface com.ss.android.socialbase.downloader.** { *; }




#add proguard rules for robust
-keep class androidx.** {*;}
-keep class android.** {*;}
-keep class com.google.** {*;}
-keep class kotlin.** {*;}
-keep class com.ugame.** {*;}
-keep class com.ss.android.socialbase.downloader.depend.** {*;}
-keep class com.bytedance.ugame.core.** {*;}
-keep class com.ss.android.socialbase.downloader.constants.** {*;}
-keep class com.ss.android.downloadlib.am.m1.** {*;}
-keep class com.ss.android.download.api.model.** {*;}
-keep class com.bytedance.framwork.core.monitor.** {*;}
-keep class com.ss.android.socialbase.downloader.thread.** {*;}
-keep class com.ss.android.socialbase.appdownloader.util.package_info.** {*;}
-keep class com.bytedance.retrofit2.** {*;}
-keep class com.meituan.robust.** {*;}
-keep class com.ss.android.socialbase.appdownloader.ah.** {*;}
-keep class com.bytedance.mira.am.** {*;}
-keep class com.bytedance.services.slardar.config.api.** {*;}
-keep class com.ss.android.socialbase.downloader.model.** {*;}
-keep class com.bytedance.ugame.rocketapi.pay.** {*;}
-keep class com.ss.android.download.api.config.** {*;}
-keep class com.bytedance.mira.stub.** {*;}
-keep class com.ss.android.downloadlib.event.** {*;}
-keep class com.ss.android.socialbase.downloader.exception.** {*;}
-keep class com.bytedance.ugame.framework.module.network.log.timber.** {*;}
-keep class com.ss.android.socialbase.downloader.segment.** {*;}
-keep class com.ss.android.downloadad.api.download.** {*;}
-keep class com.bytedance.ugame.rocketapi.** {*;}
-keep class com.ss.android.downloadlib.applink.** {*;}
-keep class com.ss.android.downloadlib.addownload.** {*;}
-keep class com.bytedance.mira.hook.delegate.** {*;}
-keep class com.bytedance.mira.stub.p1.** {*;}
-keep class com.bytedance.mira.** {*;}
-keep class com.ss.android.socialbase.downloader.network.connectionpool.** {*;}
-keep class com.bytedance.applog.util.** {*;}
-keep class com.bytedance.ugame.sdk.module.account.dao.** {*;}
-keep class com.ss.android.socialbase.appdownloader.depend.** {*;}
-keep class com.ss.android.downloadlib.utils.** {*;}
-keep class com.ss.android.socialbase.downloader.downloader.** {*;}
-keep class com.ss.android.downloadlib.** {*;}
-keep class com.ss.android.socialbase.downloader.network.** {*;}
-keep class com.ss.android.agilelogger.** {*;}
-keep class com.ss.android.socialbase.downloader.impls.** {*;}
-keep class com.bytedance.morpheus.** {*;}
-keep class com.bytedance.frankie.** {*;}
-keep class com.ss.android.socialbase.downloader.logger.** {*;}
-keep class com.ss.android.downloadlib.constants.** {*;}
-keep class com.bytedance.ugame.module.daemon.impl.** {*;}
-keep class com.bytedance.retrofit2.http.** {*;}
-keep class com.ss.android.downloadlib.common.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.** {*;}
-keep class com.ss.android.socialbase.downloader.common.** {*;}
-keep class com.ss.android.socialbase.appdownloader.** {*;}
-keep class com.bytedance.mira.stub.p0.** {*;}
-keep class com.ss.android.downloadlib.addownload.pause.** {*;}
-keep class com.ss.android.socialbase.downloader.db.** {*;}
-keep class com.bytedance.ugame.sdk.module.account.pojo.** {*;}
-keep class com.bytedance.ugame.core.screenrecord.** {*;}
-keep class com.ss.android.socialbase.downloader.utils.** {*;}
-keep class com.bytedance.ugame.module.update.api.** {*;}
-keep class com.bytedance.ugame.framework.** {*;}
-keep class com.meituan.robust.utils.** {*;}
-keep class com.yx.calling.** {*;}
-keep class com.bytedance.ugame.rocketapi.privacy.** {*;}
-keep class com.bytedance.applog.profile.** {*;}
-keep class com.bytedance.applog.** {*;}
-keep class com.bytedance.ugame.module.crash.api.** {*;}
-keep class com.ss.android.download.api.clean.** {*;}
-keep class com.ss.android.downloadlib.addownload.dialog.** {*;}
-keep class com.bytedance.ugame.sdk.module.providedservice.** {*;}
-keep class com.bytedance.ugame.rocketapi.language.** {*;}
-keep class com.bytedance.ugame.rocketapi.account.** {*;}
-keep class com.bytedance.ugame.channel.** {*;}
-keep class com.bytedance.frameworks.plugin.** {*;}
-keep class com.ss.android.socialbase.downloader.notification.** {*;}
-keep class com.bytedance.common.utility.** {*;}
-keep class com.bytedance.ugame.module.update.impl.resource.** {*;}
-keep class org.chromium.** {*;}
-keep class com.ss.android.downloadapi.** {*;}
-keep class com.ss.android.downloadlib.am.** {*;}
-keep class com.ss.android.downloadad.api.** {*;}
-keep class com.bytedance.ugame.channelapi.** {*;}
-keep class com.ss.android.downloadlib.addownload.model.** {*;}
-keep class com.bytedance.ugame.module.update.impl.** {*;}
-keep class com.ss.android.socialbase.appdownloader.constants.** {*;}
-keep class com.ss.android.downloadlib.downloader.** {*;}
-keep class com.ss.android.downloadlib.addownload.compliance.** {*;}
-keep class com.bytedance.ttnet.** {*;}
-keep class com.ss.android.downloadad.api.constant.** {*;}
-keep class com.ss.android.download.api.download.** {*;}
-keep class com.ss.android.socialbase.appdownloader.util.** {*;}
-keep class com.bytedance.ugame.module.** {*;}
-keep class com.bytedance.apm.agent.instrumentation.** {*;}
-keep class com.ss.android.socialbase.appdownloader.notification.** {*;}
-keep class com.bytedance.mira.plugin.** {*;}
-keep class com.bytedance.applog.network.** {*;}
-keep class com.bytedance.ugame.sdk.module.utils.** {*;}
-keep class com.bytedance.ugame.framework.module.network.** {*;}
-keep class com.ss.android.downloadad.api.model.** {*;}
-keep class com.ss.android.socialbase.downloader.setting.** {*;}
-keep class com.ss.android.downloadad.** {*;}
-keep class com.bytedance.frameworks.baselib.network.http.cronet.** {*;}
-keep class com.ss.android.downloadlib.am.hw.** {*;}
-keep class com.bytedance.ugame.rocketapi.report.** {*;}
-keep class com.bytedance.frameworks.core.sdkmonitor.** {*;}
-keep class com.bytedance.ttnet.retrofit.** {*;}
-keep class com.bytedance.ugame.rocketapi.callback.** {*;}
-keep class com.bytedance.ugame.module.crash.impl.** {*;}
-keep class com.ss.android.account.token.** {*;}
-keep class com.ss.android.downloadlib.guide.install.** {*;}
-keep class com.bytedance.common.utility.collection.** {*;}
-keep class game_sdk.packers.rocket_sdk.** {*;}
-keep class com.ss.android.downloadlib.addownload.optimize.** {*;}
-keep class com.ss.android.downloadlib.addownload.manager.** {*;}
-keep class com.bytedance.ugame.module.daemon.api.** {*;}
-keep class com.bytedance.mira.core.** {*;}
-keep class com.ss.android.downloadlib.install.** {*;}
-keep class com.bytedance.ugame.framework.module.network.ttnet.** {*;}
-keep class com.ss.android.downloadlib.am.m2.** {*;}
-keep class com.bytedance.ugame.framework.module.r.** {*;}
-keep class com.bytedance.morpheus.core.** {*;}
-keep class com.ss.android.download.api.constant.** {*;}
-keep class com.bytedance.retrofit2.mime.** {*;}
-keep class com.bytedance.ttnet.hostmonitor.** {*;}
-keep class com.ss.android.downloadlib.scheme.** {*;}
-keep class com.ss.android.socialbase.downloader.reader.** {*;}
-keep class com.bytedance.ttnet.encrypt.** {*;}
-keep class g.cronet.asm.** {*;}
-keep class com.bytedance.frameworks.baselib.network.http.** {*;}
-keep class com.bytedance.ttnet.debug.** {*;}
-keep class com.ss.android.download.api.guide.** {*;}
-keep class com.bytedance.ugame.framework.module.network.livedata.** {*;}
-keep class com.ss.android.socialbase.appdownloader.view.** {*;}
-keep class com.bytedance.ugame.framework.module.network.log.** {*;}
-keep class com.bytedance.ugame.module.update.api.settings.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.monitor.** {*;}
-keep class com.bytedance.dr.** {*;}
-keep class com.bytedance.mira.pm.** {*;}
-keep class com.ss.android.downloadlib.activity.** {*;}
-keep class com.bytedance.ugame.framework.module.applog.** {*;}
-keep class com.bytedance.ugame.sdk.module.account.api.** {*;}
-keep class com.ss.android.download.api.annotation.** {*;}
-keep class com.ss.android.downloadlib.am.kllk.** {*;}
-keep class com.monitor.cloudmessage.** {*;}
-keep class com.ss.android.socialbase.appdownloader.setting.** {*;}
-keep class com.bytedance.frameworks.core.monitor.** {*;}
-keep class com.ss.android.downloadlib.core.download.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.applog.dyeing.** {*;}
-keep class com.bytedance.ugame.framework.module.spi.** {*;}
-keep class com.bytedance.frameworks.baselib.network.http.cronet.impl.** {*;}
-keep class com.ss.android.socialbase.appdownloader.impls.** {*;}
-keep class com.bytedance.frameworks.core.thread.** {*;}
-keep class com.bytedance.frameworks.baselib.network.ok3.** {*;}
-keep class com.bytedance.applog.encryptor.** {*;}
-keep class com.bytedance.crash.nativecrash.** {*;}
-keep class com.bytedance.frankie.provider.** {*;}
-keep class com.ss.android.download.api.** {*;}
-keep class com.bytedance.ttnet.http.** {*;}
-keep class com.ss.android.socialbase.downloader.monitor.** {*;}
-keep class com.bytedance.retrofit2.client.** {*;}
-keep class com.ss.android.socialbase.downloader.** {*;}
-keep class com.bytedance.crash.** {*;}
-keep class com.bytedance.ugame.framework.module.util.** {*;}
-keep class com.bytedance.ugame.framework.module.callback.** {*;}
-keep class com.bytedance.applog.collector.** {*;}
-keep class com.bytedance.common.utility.reflect.** {*;}
-keep class com.meituan.robust.patch.annotaion.** {*;}
-keep class com.ss.android.downloadlib.addownload.upload.** {*;}
-keep class com.bun.lib.** {*;}
-keep class com.bytedance.frameworks.core.encrypt.** {*;}
-keep class com.bytedance.ugame.framework.module.widget.** {*;}
-keep class com.bytedance.retrofit2.intercept.** {*;}
-keep class com.bytedance.services.apm.api.** {*;}
-keep class com.bytedance.frameworks.plugin.core.res.** {*;}
-keep class com.ss.android.downloadlib.exception.** {*;}
-keep class com.bytedance.ugame.rocketapi.utils.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.network.ttnet.** {*;}
-keep class com.bytedance.ugame.framework.module.model.** {*;}
-keep class com.bytedance.frameworks.baselib.network.cronet.** {*;}
-keep class org.chromium.net.** {*;}
-keep class com.bytedance.common.utility.view.** {*;}
-keep class com.bytedance.ugame.stub.** {*;}
-keep class com.bytedance.news.common.service.manager.** {*;}
-keep class com.ss.android.download.api.download.extend.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.applog.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.network.** {*;}
-keep class com.bytedance.ugame.sdk.module.core.internal.alog.** {*;}
-keep class com.bytedance.ugame.module.update.impl.force.** {*;}
-keep class com.meituan.robust.patch.** {*;}
-keep class com.bytedance.ugame.rocketapi.report.model.** {*;}
-keep class com.bytedance.ugame.core.share.** {*;}
-keep class com.bytedance.ugame.sdk.module.account.** {*;}
-keep class com.bytedance.reader_apk.** {*;}
-keep class com.bytedance.services.slardar.config.** {*;}
-keep class com.bytedance.frameworks.baselib.network.http.retrofit.** {*;}
-keep class com.bytedance.ugame.plugin.** {*;}
-keep class com.bytedance.frameworks.baselib.network.** {*;}
-keep class com.bytedance.ugame.framework.module.dynamic_check.** {*;}
-keep class com.bytedance.ugame.core.im.** {*;}
-keep class com.bytedance.mira.compat.o.** {*;}
-keep class com.ss.android.download.api.utils.** {*;}
-keep class com.bytedance.common.httpdns.** {*;}
-keep class com.bytedance.ugame.core.push.** {*;}
-keep class com.ttnet.org.chromium.base.** {*;}
-keep class com.ttnet.org.chromium.base.multidex.** {*;}
-keep class com.ttnet.org.chromium.base.library_loader.** {*;}
-keep class com.ttnet.org.chromium.base.metrics.** {*;}
-keep class com.ttnet.org.chromium.base.annotations.** {*;}
-keep class com.ttnet.org.chromium.net.** {*;}
-keep class com.ttnet.org.chromium.net.impl.** {*;}
-keep class com.ttnet.org.chromium.net.urlconnection.** {*;}
-keep class com.ttnet.org.chromium.url.** {*;}
-keep class org.intellij.lang.annotations.** {*;}
-keep class org.jetbrains.annotations.** {*;}
-keep class okio.** {*;}
-keep class org.cryptonode.jncryptor.** {*;}
