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

[提交人]:王雪伟

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