Commit f1068891 authored by mengcuiguang's avatar mengcuiguang

1.1.0发版

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