Commit f1068891 authored by mengcuiguang's avatar mengcuiguang

1.1.0发版

parent 41c816ff
......@@ -10,8 +10,8 @@ android {
applicationId "com.mints.highgold"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 10
versionName "1.0.9"
versionCode 11
versionName "1.1.0"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -207,7 +207,8 @@
<action android:name="com.talkingdata.sdk.TDAntiCheatingService" />
</intent-filter>
</service> <!-- 定位需要的服务 -->
<service android:name="com.amap.api.location.APSService" /> <!-- 自有下载 -->
<service android:name="com.amap.api.location.APSService" />
<!-- 自有下载 -->
<provider
tools:replace="android:authorities"
android:name="android.support.v4.content.FileProvider"
......@@ -218,7 +219,8 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"
tools:replace="android:resource"/>
</provider> <!-- 穿山甲广告 -->
</provider>
<!-- 穿山甲广告 -->
<provider
android:name="com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities="${applicationId}.TTFileProvider"
......
......@@ -456,7 +456,7 @@ public class MintsApplication extends MultiDexApplication {
.setOpenDebug(true)
.setDebugTag("ad_log")
//如果你不想使用默认集成的FileProvider,可以自行填写自己项目的authorities
//.setAuthoritiesName("填写 FileProvider 属性 authorities的命名名称")
.setauthorities("com.mints.highgold.fileprovider")
.setClientType(ClientType.MOBILE)
.setClientOsType(ClientOSType.ANDROID)
.setWebConfig(new WebConfig.Builder().setHasDefaultHeader(true).build())
......
......@@ -8,6 +8,7 @@ import com.mints.highgold.mvp.presenters.CsVedioPresenter
import com.mints.highgold.mvp.views.CsVedioView
import com.mints.highgold.ui.activitys.base.BaseActivity
import com.mints.highgold.utils.LogUtil
import com.toukeads.ads.Ad
import com.toukeads.ads.annotation.AdRequestType
import com.toukeads.ads.listener.out.VideoCallback
import kotlinx.android.synthetic.main.activity_cs_vedio.*
......@@ -68,6 +69,10 @@ class CsVedioActivity : BaseActivity()
override fun onDestroy() {
super.onDestroy()
//退出释放资源
Ad.getInstance().onDestroy()
csVedioPresenter?.detachView()
}
......
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