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
c5d56965
Commit
c5d56965
authored
Mar 25, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 去掉webview ssl验证失败弹窗
parent
ef7fd967
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
config.gradle
config.gradle
+2
-2
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+2
-10
No files found.
config.gradle
View file @
c5d56965
...
...
@@ -36,7 +36,7 @@ ext {
"ydl-platform"
:
"0.0.40.79"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.
47
"
,
"ydl-webview"
:
"0.0.38.
58
"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.58"
,
...
...
@@ -118,7 +118,7 @@ ext {
"ydl-platform"
:
"0.0.40.79"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.
47
"
,
"ydl-webview"
:
"0.0.38.
58
"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.58"
,
...
...
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
c5d56965
...
...
@@ -1007,16 +1007,8 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
private
void
onReceivedSslErrorHandle
(
SslErrorHandler
handler
)
{
if
(
BaseApp
.
instance
.
getGlobalConfig
().
getAppDebug
())
{
handler
.
proceed
();
return
;
}
final
AlertDialog
.
Builder
builder
=
new
AlertDialog
.
Builder
(
this
);
builder
.
setMessage
(
R
.
string
.
platform_notification_error_ssl_cert_invalid
);
builder
.
setPositiveButton
(
"继续"
,
(
dialog
,
which
)
->
handler
.
proceed
());
builder
.
setNegativeButton
(
"取消"
,
(
dialog
,
which
)
->
handler
.
cancel
());
final
AlertDialog
dialog
=
builder
.
create
();
dialog
.
show
();
//和天宇沟通,去掉弹窗提示,直接重新验证证书
handler
.
proceed
();
}
private
void
initShareMenu
()
{
...
...
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