Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_highgold
Commits
f1068891
Commit
f1068891
authored
May 27, 2020
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1.0发版
parent
41c816ff
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
build.gradle
highgold/app/build.gradle
+2
-2
AndroidManifest.xml
highgold/app/src/main/AndroidManifest.xml
+4
-2
MintsApplication.java
...pp/src/main/java/com/mints/highgold/MintsApplication.java
+1
-1
CsVedioActivity.kt
...n/java/com/mints/highgold/ui/activitys/CsVedioActivity.kt
+5
-0
No files found.
highgold/app/build.gradle
View file @
f1068891
...
@@ -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
1
0
versionCode
1
1
versionName
"1.
0.9
"
versionName
"1.
1.0
"
flavorDimensions
"default"
flavorDimensions
"default"
// dex突破65535的限制
// dex突破65535的限制
...
...
highgold/app/src/main/AndroidManifest.xml
View file @
f1068891
...
@@ -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"
...
...
highgold/app/src/main/java/com/mints/highgold/MintsApplication.java
View file @
f1068891
...
@@ -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
())
...
...
highgold/app/src/main/java/com/mints/highgold/ui/activitys/CsVedioActivity.kt
View file @
f1068891
...
@@ -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
()
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment