Commit c5d56965 by 刘鹏

feat : 去掉webview ssl验证失败弹窗

parent ef7fd967
......@@ -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",
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment