Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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_vedio
Commits
b43feac8
Commit
b43feac8
authored
Dec 02, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9185435e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
48 deletions
+2
-48
build.gradle
video/app/build.gradle
+2
-2
SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
video/app/libs/SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
+0
-0
MintsApplication.java
...app/src/main/java/com/duben/heliapp/MintsApplication.java
+0
-3
TalkingDataManager.kt
...main/java/com/duben/heliapp/manager/TalkingDataManager.kt
+0
-43
No files found.
video/app/build.gradle
View file @
b43feac8
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.heliapp"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
5
versionName
"7.2.
5
"
versionCode
72
6
versionName
"7.2.
6
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/libs/SaaS_AppAnalytics_Android_SDK_V4.0.69.jar
deleted
100644 → 0
View file @
9185435e
File deleted
video/app/src/main/java/com/duben/heliapp/MintsApplication.java
View file @
b43feac8
...
...
@@ -13,7 +13,6 @@ import com.duben.heliapp.ad.TTAdManagerHolder;
import
com.duben.heliapp.common.Constant
;
import
com.duben.heliapp.manager.CsjAppLogManager
;
import
com.duben.heliapp.manager.TXCSDKService
;
import
com.duben.heliapp.manager.TalkingDataManager
;
import
com.duben.heliapp.net.LoanService
;
import
com.duben.heliapp.net.V6Service
;
import
com.duben.heliapp.utils.AppPreferencesManager
;
...
...
@@ -84,8 +83,6 @@ public class MintsApplication extends MultiDexApplication {
CsjAppLogManager
.
INSTANCE
.
init
(
this
);
TalkingDataManager
.
INSTANCE
.
init
(
this
);
// PR下载附件
initPRDownloader
();
...
...
video/app/src/main/java/com/duben/heliapp/manager/TalkingDataManager.kt
deleted
100644 → 0
View file @
9185435e
package
com.duben.heliapp.manager
import
android.app.Application
import
android.content.Context
import
com.duben.heliapp.BuildConfig
import
com.duben.heliapp.utils.MateUtils
import
com.tendcloud.tenddata.TCAgent
/**
* TalkingData
*/
object
TalkingDataManager
{
private
const
val
APP_KEY
=
BuildConfig
.
RELEASE_TALKING_DATA_KEY
fun
init
(
application
:
Application
)
{
try
{
//打开日志
TCAgent
.
LOG_ON
=
BuildConfig
.
LOG_DEBUG
/**
* 动态获取渠道ID(类似友盟)
* AppID说是xml文件里的密钥?
*/
TCAgent
.
init
(
application
,
APP_KEY
,
MateUtils
.
getAppMetaData
(
application
,
"CHANNEL_NAME"
))
/**
* true-开启自动捕获错误
*/
TCAgent
.
setReportUncaughtExceptions
(
true
)
}
catch
(
e
:
Exception
)
{
e
.
printStackTrace
()
}
}
fun
onResume
(
cxt
:
Context
,
name
:
String
){
TCAgent
.
onPageStart
(
cxt
,
name
)
}
fun
onPause
(
cxt
:
Context
,
name
:
String
){
TCAgent
.
onPageEnd
(
cxt
,
name
)
}
}
\ No newline at end of file
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