Commit 585eba3d authored by 张释方's avatar 张释方

更改愉悦赚安全联盟依赖版本

parent c1da1177
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt' apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin' apply plugin: 'dagger.hilt.android.plugin'
apply plugin: 'androidx.navigation.safeargs.kotlin' apply plugin: 'androidx.navigation.safeargs.kotlin'
...@@ -347,10 +346,6 @@ dependencies { ...@@ -347,10 +346,6 @@ dependencies {
implementation 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:4.4.3' implementation 'com.sensorsdata.analytics.android:SensorsAnalyticsSDK:4.4.3'
api 'org.aspectj:aspectjrt:1.9.5' api 'org.aspectj:aspectjrt:1.9.5'
// testImplementation 'junit:junit:4.13'
// androidTestImplementation 'androidx.test.ext:junit:1.1.2'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//小满 //小满
implementation ("com.bx:adsdk:1.4.2.2"){ implementation ("com.bx:adsdk:1.4.2.2"){
...@@ -358,24 +353,11 @@ dependencies { ...@@ -358,24 +353,11 @@ dependencies {
transitive = true transitive = true
changing = true changing = true
} }
// implementation ('com.google.code.gson:gson:2.8.2'){
// exclude group:"com.miit.sdk"
// }
// implementation ('com.qq.e.union:union:4.310.1180'){
// exclude group:"com.miit.sdk"
// } // 普通版本
// compile(name: 'open_ad_sdk', ext: 'aar')
//愉悦赚 //愉悦赚
//微信小程序sdk //微信小程序sdk
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation(name: 'mduisdk_v3.1.0.18_support_msa_1.0.23', ext: 'aar')
implementation(name: 'mduisdk_v3.1.0.15_support_msa_1.0.13', ext: 'aar') //腾讯x5内核
//腾讯x5内核
implementation 'com.tencent.tbs.tbssdk:sdk:43903' implementation 'com.tencent.tbs.tbssdk:sdk:43903'
} }
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
"type": "SINGLE", "type": "SINGLE",
"filters": [], "filters": [],
"properties": [], "properties": [],
"versionCode": 24, "versionCode": 25,
"versionName": "1.2.3", "versionName": "1.2.4",
"enabled": true, "enabled": true,
"outputFile": "goodmoneypkg_1.2.3.apk" "outputFile": "goodmoneypkg_1.2.4.apk"
} }
] ]
} }
\ No newline at end of file
...@@ -797,4 +797,7 @@ ...@@ -797,4 +797,7 @@
public <methods>; public <methods>;
} }
-keep class com.mdad.sdk.mduisdk.shouguan.** { *; } -keep class com.mdad.sdk.mduisdk.shouguan.** { *; }
# ======================= 愉悦赚 END ================ # ======================= 愉悦赚 END ================
\ No newline at end of file
# ======================= 芒果 START ================
# ======================= 芒果 END ================
\ No newline at end of file
...@@ -24,6 +24,7 @@ import com.mints.goodmoney.manager.WnManager; ...@@ -24,6 +24,7 @@ import com.mints.goodmoney.manager.WnManager;
import com.mints.goodmoney.manager.XmManager; import com.mints.goodmoney.manager.XmManager;
import com.mints.goodmoney.manager.YlVideoManager; import com.mints.goodmoney.manager.YlVideoManager;
import com.mints.goodmoney.manager.YlhAdManager; import com.mints.goodmoney.manager.YlhAdManager;
import com.mints.goodmoney.manager.YyzManager;
import com.mints.goodmoney.net.LoanService; import com.mints.goodmoney.net.LoanService;
import com.mints.goodmoney.utils.ForegroundOrBackground; import com.mints.goodmoney.utils.ForegroundOrBackground;
import com.mints.goodmoney.utils.LogUtil; import com.mints.goodmoney.utils.LogUtil;
...@@ -157,6 +158,9 @@ public class MintsApplication extends MultiDexApplication { ...@@ -157,6 +158,9 @@ public class MintsApplication extends MultiDexApplication {
// 自定义logger // 自定义logger
bindLogger(); bindLogger();
// YyzManager.INSTANCE.initYyz(this);
// 子线程初始化三方SDK // 子线程初始化三方SDK
String processName = SystemUtils.INSTANCE.getProcessName(this, android.os.Process.myPid()); String processName = SystemUtils.INSTANCE.getProcessName(this, android.os.Process.myPid());
......
...@@ -5,15 +5,13 @@ import android.app.Application ...@@ -5,15 +5,13 @@ import android.app.Application
import android.util.Log import android.util.Log
import com.mdad.sdk.mduisdk.AdManager import com.mdad.sdk.mduisdk.AdManager
import com.mdad.sdk.mduisdk.CommonCallBack import com.mdad.sdk.mduisdk.CommonCallBack
import com.mints.goodmoney.MintsApplication
object YyzManager { object YyzManager {
private const val KEY = "37e179d05b23b0a" private const val KEY = "37e179d05b23b0a"
private const val APPID = "550" private const val APPID = "550"
fun initYyz(appActivity: Application) { fun initYyz(appActivity: Application) {
//当用户登陆了且权限具备了后执行初始化操作
//当用户登陆了且权限具备了后执行初始化操作 //当用户登陆了且权限具备了后执行初始化操作
AdManager.getInstance(appActivity).init(appActivity, APPID, UserManager.getInstance().userID, KEY, object : CommonCallBack<Any?> { AdManager.getInstance(appActivity).init(appActivity, APPID, UserManager.getInstance().userID, KEY, object : CommonCallBack<Any?> {
override fun onSuccess(response: String) { //初始化成功 override fun onSuccess(response: String) { //初始化成功
...@@ -29,6 +27,8 @@ object YyzManager { ...@@ -29,6 +27,8 @@ object YyzManager {
fun openYyzTask(activity: Activity) { fun openYyzTask(activity: Activity) {
AdManager.getInstance(activity).openYyzTask(activity); // AdManager.getInstance(MintsApplication.getContext()).openYyzTask(activity)
AdManager.getInstance(activity).openYyzTask(activity)
} }
} }
\ No newline at end of file
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