Commit 390725c0 authored by 王雪伟's avatar 王雪伟

[提交人]:王雪伟

[提交简述] :幸运农田
[实现方案] :升级广点通广告SDK
parent 7170827e
...@@ -105,6 +105,7 @@ android { ...@@ -105,6 +105,7 @@ android {
hykb{} hykb{}
kuaishou{} kuaishou{}
_233 {} _233 {}
sigmob {}
} }
productFlavors.all { productFlavors.all {
......
...@@ -11,6 +11,7 @@ import android.view.MotionEvent ...@@ -11,6 +11,7 @@ import android.view.MotionEvent
import android.view.View import android.view.View
import android.widget.ImageView import android.widget.ImageView
import android.widget.TextView import android.widget.TextView
import com.ym.admodule.config.AdInfo
import com.ym.admodule.config.AdManager import com.ym.admodule.config.AdManager
import com.ym.admodule.listener.ZXADVideoListener import com.ym.admodule.listener.ZXADVideoListener
import com.ym.game.listener.IDialogViewCloseCallback import com.ym.game.listener.IDialogViewCloseCallback
...@@ -136,7 +137,8 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View { ...@@ -136,7 +137,8 @@ object TurntableDialog : TurntableUtils(), TurntableContract.View {
"turntable_lottery", "turntable_lottery",
(context as Activity), (context as Activity),
object : ZXADVideoListener { object : ZXADVideoListener {
override fun onAdClose() {
override fun onAdClose(adInfo: AdInfo) {
getVideoAcceleratorsReceive3(); getVideoAcceleratorsReceive3();
reset() reset()
btnTurntableLottery?.isEnabled = false btnTurntableLottery?.isEnabled = false
......
PACKAGE_NAME=com.ym.xynt PACKAGE_NAME=com.ym.xynt
VERSION_CODE=4 VERSION_CODE=5
VERSION_NAME=1.0.3 VERSION_NAME=1.0.4
\ No newline at end of file \ No newline at end of file
...@@ -32,7 +32,7 @@ allprojects { ...@@ -32,7 +32,7 @@ allprojects {
url "http://test.vlion.cn:8081/nexus/content/repositories/inland/" url "http://test.vlion.cn:8081/nexus/content/repositories/inland/"
} }
maven{ maven{
url "http://zx-maven.huolea.com/repository/admodule/" url "http://zx-maven.huolea.com/repository/ymad_sdk/"
} }
} }
......
...@@ -67,7 +67,7 @@ dependencies { ...@@ -67,7 +67,7 @@ dependencies {
// api ("com.bx:adsdk:1.3.3"){ // api ("com.bx:adsdk:1.3.3"){
// exclude group: 'com.google.code.gson' // exclude group: 'com.google.code.gson'
// } // }
api 'com.ym.admodule:admodule:1.0.3.45' api 'com.ym.admodule:ymad_sdk:1.0.4.0'
api 'com.airbnb.android:lottie:3.1.0' api 'com.airbnb.android:lottie:3.1.0'
api 'com.google.zxing:core:3.2.1' //zxing核心依赖 api 'com.google.zxing:core:3.2.1' //zxing核心依赖
api 'com.journeyapps:zxing-android-embedded:3.3.0' //生成二维码依赖 api 'com.journeyapps:zxing-android-embedded:3.3.0' //生成二维码依赖
......
...@@ -155,7 +155,8 @@ ...@@ -155,7 +155,8 @@
<activity <activity
android:name="com.qq.e.ads.LandscapeADActivity" android:name="com.qq.e.ads.LandscapeADActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape" /> android:screenOrientation="landscape"
tools:replace="android:screenOrientation"/>
<uses-library <uses-library
android:name="org.apache.http.legacy" android:name="org.apache.http.legacy"
......
...@@ -156,7 +156,5 @@ public class WebViewActivity extends MyBaseActivity { ...@@ -156,7 +156,5 @@ public class WebViewActivity extends MyBaseActivity {
public WebJavaInterface(@NotNull Activity act, @NotNull WebView web) { public WebJavaInterface(@NotNull Activity act, @NotNull WebView web) {
super(act, web); super(act, web);
} }
} }
} }
...@@ -28,7 +28,7 @@ public class NetConfig { ...@@ -28,7 +28,7 @@ public class NetConfig {
public static String BASE_FEED_URL = ""; public static String BASE_FEED_URL = "";
public static String BASE_AD_URL = ""; public static String BASE_AD_URL = "";
public static final String URL_USER_BASE = "https://api.zhangxinhulian.com/"; public static final String URL_USER_BASE = "https://api.zhangxinhulian.com/";
public static String URL_REPORT_BASE = ""; public static String URL_REPORT_BASE = "";
// public static final String URL_REPORT_BASE = "http://report.zhangxinhulian.com/"; // public static final String URL_REPORT_BASE = "http://report.zhangxinhulian.com/";
// public static final String URL_REPORT_BASE = "http://reporttest.zhangxinhulian.com/"; // public static final String URL_REPORT_BASE = "http://reporttest.zhangxinhulian.com/";
......
...@@ -5,6 +5,7 @@ import android.os.Handler ...@@ -5,6 +5,7 @@ import android.os.Handler
import android.os.Message import android.os.Message
import android.util.Log import android.util.Log
import android.widget.FrameLayout import android.widget.FrameLayout
import com.ym.admodule.config.AdInfo
import com.ym.admodule.config.AdManager import com.ym.admodule.config.AdManager
import com.ym.admodule.config.ZXADSizeConfig import com.ym.admodule.config.ZXADSizeConfig
import com.ym.admodule.listener.ZXADVideoListener import com.ym.admodule.listener.ZXADVideoListener
...@@ -41,7 +42,7 @@ object AdUtils { ...@@ -41,7 +42,7 @@ object AdUtils {
object : ZXADVideoListener { object : ZXADVideoListener {
override fun onSuccess() {} override fun onSuccess() {}
override fun onAdClose() { override fun onAdClose(adInfo: AdInfo) {
listener?.onAdClose() listener?.onAdClose()
//预加载 //预加载
// loadNextCacheRewardVideoAd(activity) // loadNextCacheRewardVideoAd(activity)
......
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