From 19fc65d128678193fdabbec4c04f5cc87db64223 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Tue, 2 Jun 2026 18:27:37 +0800
Subject: [PATCH] Update allowInsecure deprecation messages and toast
---
.../app/src/main/java/com/v2ray/ang/core/CoreServiceManager.kt | 1 +
V2rayNG/app/src/main/res/values-zh-rCN/strings.xml | 2 +-
V2rayNG/app/src/main/res/values-zh-rTW/strings.xml | 1 +
V2rayNG/app/src/main/res/values/strings.xml | 2 +-
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/V2rayNG/app/src/main/java/com/v2ray/ang/core/CoreServiceManager.kt b/V2rayNG/app/src/main/java/com/v2ray/ang/core/CoreServiceManager.kt
index 7a1e2edb..cc6eff41 100644
--- a/V2rayNG/app/src/main/java/com/v2ray/ang/core/CoreServiceManager.kt
+++ b/V2rayNG/app/src/main/java/com/v2ray/ang/core/CoreServiceManager.kt
@@ -163,6 +163,7 @@ object CoreServiceManager {
if (config.insecure == true) {
context.toastError(R.string.toast_allow_insecure_deprecated)
+ context.toastError(R.string.toast_allow_insecure_deprecated)
}
if (MmkvManager.decodeSettingsBool(AppConfig.PREF_PROXY_SHARING)) {
diff --git a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml
index b7971476..1ac7a68e 100644
--- a/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml
+++ b/V2rayNG/app/src/main/res/values-zh-rCN/strings.xml
@@ -120,7 +120,7 @@
证书指纹 (SHA-256)
启用浏览器转发
仅支持 xhttp (packet-up) 和 ws。与优选域名冲突,utls, alpn, ech 等 TLS 设置将被忽略
- 警告: 当前已移除跳过证书验证 "allowInsecure" ,请改用证书指纹。否则启动将失败。
+ 警告:将在 2026.8.1 禁用跳过证书验证 "allowInsecure" ,请尽快改用证书指纹。到期后无法使用。
失败, 请使用文件管理器
diff --git a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml
index 286da850..a0a2b791 100644
--- a/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml
+++ b/V2rayNG/app/src/main/res/values-zh-rTW/strings.xml
@@ -118,6 +118,7 @@
FinalMask 原始 JSON 格式: { FinalMaskObject }
EchConfigList
證書指紋 (SHA-256)
+ 警告:將在 2026.8.1 停用跳過憑證驗證 "allowInsecure" ,請盡快改用憑證指紋。到期後無法使用。
失敗,請使用檔案總管
diff --git a/V2rayNG/app/src/main/res/values/strings.xml b/V2rayNG/app/src/main/res/values/strings.xml
index 38ebaaa2..df1f69d8 100644
--- a/V2rayNG/app/src/main/res/values/strings.xml
+++ b/V2rayNG/app/src/main/res/values/strings.xml
@@ -121,7 +121,7 @@
Certificate fingerprint (SHA-256)
Enable Browser Dialer
Only supports xhttp (packet-up) and ws outbound; TLS-related settings may be ignored or conflict
- Warning: The option to skip certificate verification "allowInsecure" has been removed in the current version. Please use certificate fingerprinting instead.
+ WARNING: Skipping certificate verification "allowInsecure" will be disabled in August 2026. Please use certificate fingerprints as soon as possible. This feature will not be available after its expiration.
File copy failed, please use File Manager