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
95520e5d
Commit
95520e5d
authored
Jan 06, 2020
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新wenview jar 包
parent
687aa649
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
26 deletions
+20
-26
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+0
-7
DemoAppLifecycles.java
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.java
+9
-9
config.gradle
config.gradle
+2
-2
build.gradle
ydl-webview/build.gradle
+9
-8
liblbs.so
ydl-webview/libs/armeabi/liblbs.so
+0
-0
tbs_sdk_thirdapp_v4.3.0.1148_43697_sharewithdownloadwithfile_withoutGame_obfs_20190805_175505.jar
ydl-webview/libs/tbs_sdk_thirdapp_v4.3.0.1148_43697_sharewithdownloadwithfile_withoutGame_obfs_20190805_175505.jar
+0
-0
libtbs.so
ydl-webview/src/main/jniLibs/armeabi/libtbs.so
+0
-0
No files found.
app/src/main/AndroidManifest.xml
View file @
95520e5d
...
@@ -64,12 +64,6 @@
...
@@ -64,12 +64,6 @@
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 @
95520e5d
...
@@ -12,7 +12,6 @@ import com.facebook.stetho.Stetho;
...
@@ -12,7 +12,6 @@ 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
;
...
@@ -23,14 +22,13 @@ import com.ydl.component.MainActivity;
...
@@ -23,14 +22,13 @@ import com.ydl.component.MainActivity;
import
com.ydl.media.audio.PlayService
;
import
com.ydl.media.audio.PlayService
;
import
com.ydl.ydlcommon.base.config.YDLConstants
;
import
com.ydl.ydlcommon.base.config.YDLConstants
;
import
com.ydl.ydlcommon.base.delegate.IAppLifecycles
;
import
com.ydl.ydlcommon.base.delegate.IAppLifecycles
;
import
com.ydl.ydlcommon.utils.LogUtil
;
import
com.ydl.ydlcommon.utils.YdlBuryPointUtil
;
import
com.ydl.ydlcommon.utils.YdlBuryPointUtil
;
import
com.yidianling.course.lifeCallback.CoursePlayLifecycle
;
import
com.yidianling.course.lifeCallback.CoursePlayLifecycle
;
import
com.yidianling.im.config.NimApplication
;
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
;
/**
/**
...
@@ -160,23 +158,25 @@ public class DemoAppLifecycles implements IAppLifecycles {
...
@@ -160,23 +158,25 @@ public class DemoAppLifecycles implements IAppLifecycles {
*/
*/
private
void
initX5
(
Application
application
)
{
private
void
initX5
(
Application
application
)
{
// 在调用TBS初始化、创建WebView之前进行如下配置,以开启优化方案
// 在调用TBS初始化、创建WebView之前进行如下配置,以开启优化方案
HashMap
map
=
new
HashMap
();
//
HashMap map = new HashMap();
map
.
put
(
TbsCoreSettings
.
TBS_SETTINGS_USE_SPEEDY_CLASSLOADER
,
true
);
//
map.put(TbsCoreSettings.TBS_SETTINGS_USE_SPEEDY_CLASSLOADER, true);
QbSdk
.
initTbsSettings
(
map
);
//
QbSdk.initTbsSettings(map);
if
(!
QbSdk
.
isTbsCoreInited
())
{
//// preinit只需要调用一次,如果已经完成了初始化,那么就直接构造view
//
if (!QbSdk.isTbsCoreInited()) {//// preinit只需要调用一次,如果已经完成了初始化,那么就直接构造view
QbSdk
.
preInit
(
application
,
null
);
// 设置X5初始化完成的回调接口
//
QbSdk.preInit(application, null);// 设置X5初始化完成的回调接口
}
//
}
QbSdk
.
PreInitCallback
cb
=
new
QbSdk
.
PreInitCallback
()
{
QbSdk
.
PreInitCallback
cb
=
new
QbSdk
.
PreInitCallback
()
{
@Override
@Override
public
void
onViewInitFinished
(
boolean
arg0
)
{
public
void
onViewInitFinished
(
boolean
arg0
)
{
//初始化完成回调
//初始化完成回调
LogUtil
.
i
(
"QbSdk onViewInitFinished:"
+
arg0
);
}
}
@Override
@Override
public
void
onCoreInitFinished
()
{
public
void
onCoreInitFinished
()
{
LogUtil
.
i
(
"QbSdk onCoreInitFinished"
);
}
}
};
};
QbSdk
.
initX5Environment
(
application
,
cb
);
QbSdk
.
initX5Environment
(
application
,
cb
);
...
...
config.gradle
View file @
95520e5d
...
@@ -72,7 +72,7 @@ ext {
...
@@ -72,7 +72,7 @@ ext {
"ydl-platform"
:
"0.0.30.5"
,
"ydl-platform"
:
"0.0.30.5"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.29.
1
"
,
"ydl-webview"
:
"0.0.29.
2
"
,
"ydl-media"
:
"0.0.15.1"
,
"ydl-media"
:
"0.0.15.1"
,
"ydl-pay"
:
"0.0.12.1"
,
"ydl-pay"
:
"0.0.12.1"
,
"m-audioim"
:
"0.0.41.1"
,
"m-audioim"
:
"0.0.41.1"
,
...
@@ -118,7 +118,7 @@ ext {
...
@@ -118,7 +118,7 @@ ext {
"ydl-platform"
:
"0.0.30.5"
,
"ydl-platform"
:
"0.0.30.5"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.29.
1
"
,
"ydl-webview"
:
"0.0.29.
2
"
,
"ydl-media"
:
"0.0.15.1"
,
"ydl-media"
:
"0.0.15.1"
,
"ydl-pay"
:
"0.0.12.1"
,
"ydl-pay"
:
"0.0.12.1"
,
"m-audioim"
:
"0.0.41.1"
,
"m-audioim"
:
"0.0.41.1"
,
...
...
ydl-webview/build.gradle
View file @
95520e5d
...
@@ -25,6 +25,10 @@ android {
...
@@ -25,6 +25,10 @@ android {
}
}
}
}
ndk
{
abiFilters
"armeabi"
}
}
}
buildTypes
{
buildTypes
{
...
@@ -48,19 +52,17 @@ android {
...
@@ -48,19 +52,17 @@ android {
dependencies
{
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
kapt
'com.alibaba:arouter-compiler:1.2.2'
kapt
'com.alibaba:arouter-compiler:1.2.2'
api
rootProject
.
ext
.
dependencies
[
"ydl-user-router"
]
api
rootProject
.
ext
.
dependencies
[
"ydl-user-router"
]
api
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
]
)
api
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
// api 'com.tencent.tbs.tbssdk:sdk:43697'
api
'com.tencent.tbs.tbssdk:sdk:43697'
api
files
(
'libs/tbs_sdk_thirdapp_v4.3.0.1148_43697_sharewithdownloadwithfile_withoutGame_obfs_20190805_175505.jar'
)
if
(
rootProject
.
ext
.
dev_mode
){
if
(
rootProject
.
ext
.
dev_mode
)
{
//开发时使用
//开发时使用
api
project
(
':ydl-platform'
)
api
project
(
':ydl-platform'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-user-api'
)
implementation
modularPublication
(
'com.ydl:m-dynamic-api'
)
implementation
modularPublication
(
'com.ydl:m-dynamic-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
implementation
modularPublication
(
'com.ydl:m-im-api'
)
}
else
{
}
else
{
//发布时使用
//发布时使用
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-user-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-dynamic-api"
]
compileOnly
rootProject
.
ext
.
dependencies
[
"ydl-m-dynamic-api"
]
...
@@ -69,6 +71,5 @@ dependencies {
...
@@ -69,6 +71,5 @@ dependencies {
transitive
=
true
transitive
=
true
}
}
}
}
}
}
ydl-webview/libs/armeabi/liblbs.so
deleted
100755 → 0
View file @
687aa649
File deleted
ydl-webview/libs/tbs_sdk_thirdapp_v4.3.0.1148_43697_sharewithdownloadwithfile_withoutGame_obfs_20190805_175505.jar
0 → 100644
View file @
95520e5d
File added
ydl-webview/src/main/jniLibs/armeabi/libtbs.so
0 → 100644
View file @
95520e5d
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