Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
62e21a4b
Commit
62e21a4b
authored
Jan 06, 2020
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改无痕埋点lib版本号
parent
64f5443e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletions
+17
-1
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+7
-0
DemoAppLifecycles.java
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
+9
-0
config.gradle
config.gradle
+1
-1
No files found.
app/src/main/AndroidManifest.xml
View file @
62e21a4b
...
@@ -64,6 +64,12 @@
...
@@ -64,6 +64,12 @@
android:launchMode=
"singleTask"
android:launchMode=
"singleTask"
android:noHistory=
"true"
>
android:noHistory=
"true"
>
</activity>
</activity>
<service
android:name=
"com.tencent.smtt.export.external.DexClassLoaderProviderService"
android:label=
"dexopt"
android:process=
":dexopt"
/>
</application>
</application>
</manifest>
</manifest>
\ No newline at end of file
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
View file @
62e21a4b
...
@@ -12,6 +12,7 @@ import com.facebook.stetho.Stetho;
...
@@ -12,6 +12,7 @@ import com.facebook.stetho.Stetho;
import
com.meituan.android.walle.WalleChannelReader
;
import
com.meituan.android.walle.WalleChannelReader
;
import
com.netease.nimlib.sdk.util.NIMUtil
;
import
com.netease.nimlib.sdk.util.NIMUtil
;
import
com.tencent.bugly.crashreport.CrashReport
;
import
com.tencent.bugly.crashreport.CrashReport
;
import
com.tencent.smtt.export.external.TbsCoreSettings
;
import
com.tencent.smtt.sdk.QbSdk
;
import
com.tencent.smtt.sdk.QbSdk
;
import
com.umeng.analytics.MobclickAgent
;
import
com.umeng.analytics.MobclickAgent
;
import
com.umeng.commonsdk.UMConfigure
;
import
com.umeng.commonsdk.UMConfigure
;
...
@@ -28,6 +29,8 @@ import com.yidianling.im.config.NimApplication;
...
@@ -28,6 +29,8 @@ import com.yidianling.im.config.NimApplication;
import
org.jetbrains.annotations.NotNull
;
import
org.jetbrains.annotations.NotNull
;
import
java.util.HashMap
;
import
io.flutter.view.FlutterMain
;
import
io.flutter.view.FlutterMain
;
/**
/**
...
@@ -156,6 +159,11 @@ public class DemoAppLifecycles implements IAppLifecycles {
...
@@ -156,6 +159,11 @@ public class DemoAppLifecycles implements IAppLifecycles {
* @param application
* @param application
*/
*/
private
void
initX5
(
Application
application
)
{
private
void
initX5
(
Application
application
)
{
// 在调用TBS初始化、创建WebView之前进行如下配置,以开启优化方案
HashMap
map
=
new
HashMap
();
map
.
put
(
TbsCoreSettings
.
TBS_SETTINGS_USE_SPEEDY_CLASSLOADER
,
true
);
QbSdk
.
initTbsSettings
(
map
);
if
(!
QbSdk
.
isTbsCoreInited
())
{
//// preinit只需要调用一次,如果已经完成了初始化,那么就直接构造view
if
(!
QbSdk
.
isTbsCoreInited
())
{
//// preinit只需要调用一次,如果已经完成了初始化,那么就直接构造view
QbSdk
.
preInit
(
application
,
null
);
// 设置X5初始化完成的回调接口
QbSdk
.
preInit
(
application
,
null
);
// 设置X5初始化完成的回调接口
}
}
...
@@ -172,6 +180,7 @@ public class DemoAppLifecycles implements IAppLifecycles {
...
@@ -172,6 +180,7 @@ public class DemoAppLifecycles implements IAppLifecycles {
}
}
};
};
QbSdk
.
initX5Environment
(
application
,
cb
);
QbSdk
.
initX5Environment
(
application
,
cb
);
}
}
...
...
config.gradle
View file @
62e21a4b
...
@@ -247,7 +247,7 @@ ext {
...
@@ -247,7 +247,7 @@ ext {
"bugly-nativecrashreport"
:
"com.tencent.bugly:nativecrashreport:3.6.0.1"
,
"bugly-nativecrashreport"
:
"com.tencent.bugly:nativecrashreport:3.6.0.1"
,
"ydl-image"
:
"com.ydl:ydl-image:1.0.7-SNAPSHOT@aar"
,
"ydl-image"
:
"com.ydl:ydl-image:1.0.7-SNAPSHOT@aar"
,
"ydl-pushagent"
:
"com.ydl:pushagent:0.1.1"
,
"ydl-pushagent"
:
"com.ydl:pushagent:0.1.1"
,
"ydl-notracepoint"
:
"com.ydl:notracepoint-lib:0.2.3@aar"
,
"ydl-notracepoint"
:
"com.ydl:notracepoint-lib:0.2.3
.1
@aar"
,
"ydl-js"
:
"com.ydl:ydl-js:1.0.7-SNAPSHOT@aar"
,
"ydl-js"
:
"com.ydl:ydl-js:1.0.7-SNAPSHOT@aar"
,
"ydl-router"
:
"com.ydl:ydl-router:1.3.7-SNAPSHOT@aar"
,
"ydl-router"
:
"com.ydl:ydl-router:1.3.7-SNAPSHOT@aar"
,
"xrecyclerview"
:
"com.ydl:xrecyclerview:1.0.0-SNAPSHOT@aar"
,
"xrecyclerview"
:
"com.ydl:xrecyclerview:1.0.0-SNAPSHOT@aar"
,
...
...
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