Commit 63134568 authored by jyx's avatar jyx

代码优化

parent 4366e4ee
......@@ -264,6 +264,8 @@ dependencies {
// 穿山甲聚合 接入【穿山甲、快手】
implementation "com.pangle.cn:mediation-sdk:5.7.0.5"
implementation "com.pangle.cn:mediation-sigmob-adapter:4.12.7.1"
// 腾讯播放器
implementation "com.tencent.liteav:LiteAVSDK_Player:11.3.0.13176"
......
......@@ -400,6 +400,7 @@
protected <fields>;
}
# baidu sdk 不接入baidu sdk可以不引入
-ignorewarnings
-dontwarn com.baidu.mobads.sdk.api.**
......@@ -428,11 +429,6 @@
-dontwarn com.ksad.**
-dontwarn aegon.chrome.**
# Admob 不接入admob sdk可以不引入
-keep class com.google.android.gms.ads.MobileAds {
public *;
}
#sigmob 不接入sigmob sdk可以不引入
-dontwarn android.support.v4.**
-keep class android.support.v4.** { *; }
......@@ -442,9 +438,6 @@
-keep class sun.misc.Unsafe { *; }
-dontwarn com.sigmob.**
-keep class com.sigmob.**.**{*;}
-keep interface com.sigmob.**.**{*;}
-keep class com.czhj.**{*;}
-keep interface com.czhj.**{*;}
#oaid 不同的版本混淆代码不太一致,你注意你接入的oaid版本 ,不接入oaid可以不添加
-dontwarn com.bun.**
......@@ -464,20 +457,16 @@
-keep public class com.netease.nis.sdkwrapper.Utils {public <methods>;}
#klevin 游可赢
-keep class com.tencent.tgpa.lite.**{*;}
-keep class com.ihoc.mgpa.deviceid.**{*;}
-keep class com.tencent.klevin.**{*;}
#ks 不接入ks sdk可以不引入
-keep class org.chromium.** {*;}
-keep class org.chromium.** { *; }
-keep class aegon.chrome.** { *; }
-keep class com.kwai.**{ *; }
-dontwarn com.kwai.**
-dontwarn com.kwad.**
-dontwarn com.ksad.**
-dontwarn aegon.chrome.**
#Mintegral 不接入Mintegral sdk,可以不引入
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.mbridge.** {*; }
-keep interface com.mbridge.** {*; }
-keep class android.support.v4.** { *; }
-dontwarn com.mbridge.**
-keep class **.R$* { public static final int mbridge*; }
# ======================= 穿山甲 GroMore END ================
# ======================= 腾讯播放器 END ================
......
......@@ -255,6 +255,24 @@
</provider>
<!-- baidu end================== -->
<!-- sigmob start================== -->
<activity
android:name="com.sigmob.sdk.base.common.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:theme="@style/sig_transparent_style"
tools:replace="android:theme" />
<provider
android:name="com.sigmob.sdk.SigmobFileProvider"
android:authorities="${applicationId}.sigprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/sigmob_provider_paths" />
</provider>
<!-- sigmob end================== -->
<!-- GDT start================== -->
<!-- targetSDKVersion >= 24时才需要添加这个provider。provider的authorities属性的值为${applicationId}.fileprovider,请开发者根据自己的${applicationId}来设置这个值,例如本例中applicationId为"com.qq.e.union.demo"。 -->
<provider
......
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="bd_lv_path" path="/" />
<external-files-path name="bdpath" path="bddownload/" />
<external-path name="bdpathsd" path="bddownload/" />
<files-path name="bd_files_path" path="bddownload/" />
<cache-path name="bd_cache_path" path="bddownload/" />
</paths>
\ No newline at end of file
<paths>
<!-- 这个下载路径也不可以修改,必须为com_qq_e_download -->
<external-cache-path
name="gdt_sdk_download_path1"
path="com_qq_e_download" />
<cache-path
name="gdt_sdk_download_path2"
path="com_qq_e_download" />
</paths>
\ No newline at end of file
<paths>
<!-- 这个下载路径不可以修改,SigDownload -->
<external-cache-path
name="SigMob_root"
path="SigDownload" />
<external-path
name="SigMob_root_external"
path="." />
</paths>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment