From fcd4d43c198373b708f0622b8cfa6bc76dc8c1fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Tue, 3 Mar 2026 14:25:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IEQ9P5]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-webview=E6=8C=87=E5=AF=BC=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李琦 --- en/react-native-webview.md | 2 +- zh-cn/react-native-webview.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/react-native-webview.md b/en/react-native-webview.md index 4e0bd974..24d514a6 100644 --- a/en/react-native-webview.md +++ b/en/react-native-webview.md @@ -284,7 +284,7 @@ For details, see [webview official document](https://github.com/react-native-web | `incognito?` | Does not store any data within the lifetime of the WebView. | boolean | NO | All | yes | | `mediaPlaybackRequiresUserAction?` | Boolean that determines whether HTML5 audio and video requires the user to tap them before they start playing. The default value is `true`. (Android API minimum version 17). | boolean | NO | iOS,Android,macOS | yes | | `geolocationEnabled?` | Set whether Geolocation is enabled in the `WebView`. The default value is `false`. Used only in Android. | boolean | NO | Android | yes | -| `fraudulentWebsiteWarningEnabled?` | A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attempts. The default value is `true`. (iOS 13+) | boolean | NO | iOS | yes | +| `fraudulentWebsiteWarningEnabled?` | A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attempts. The default value is `true`. (iOS 13+) | boolean | NO | iOS | yes (This interface does not take effect, and calling it will not produce any actual results. Illegal and fraud websites are forcibly enabled; this is how HarmonyOS is currently implemented.) | | `userAgent?` | Sets the user-agent for the `WebView`. | string | NO | iOS,Android,macOS | yes | | `minimumFontSize?` | Android enforces a minimum font size based on this value. A non-negative integer between 1 and 72. Any number outside the specified range will be pinned. Default value is 8. If you are using smaller font sizes and are having trouble fitting the whole window onto one screen, try setting this to a smaller value. | number | No | Android | yes | | `forceDarkOn?` | Configuring Dark Theme | boolean | No | Android | yes | diff --git a/zh-cn/react-native-webview.md b/zh-cn/react-native-webview.md index 0547e674..bd72fabf 100644 --- a/zh-cn/react-native-webview.md +++ b/zh-cn/react-native-webview.md @@ -287,7 +287,7 @@ ohpm install | `incognito?` | Does not store any data within the lifetime of the WebView. | boolean | NO | All | yes | | `mediaPlaybackRequiresUserAction?` | Boolean that determines whether HTML5 audio and video requires the user to tap them before they start playing. The default value is `true`. (Android API minimum version 17). | boolean | NO | iOS,Android,macOS | yes | | `geolocationEnabled?` | Set whether Geolocation is enabled in the `WebView`. The default value is `false`. Used only in Android. | boolean | NO | Android | yes | -| `fraudulentWebsiteWarningEnabled?` | A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attempts. The default value is `true`. (iOS 13+) | boolean | NO | iOS | yes | +| `fraudulentWebsiteWarningEnabled?` | A Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attempts. The default value is `true`. (iOS 13+) | boolean | NO | iOS | yes (该接口不生效,调用不会产生任何实际效果,非法和欺诈网站是强制启用的,鸿蒙OS当前实现如此。) | | `userAgent?` | Sets the user-agent for the `WebView`. | string | NO | iOS,Android,macOS | yes | | `minimumFontSize?` | Android enforces a minimum font size based on this value. A non-negative integer between 1 and 72. Any number outside the specified range will be pinned. Default value is 8. If you are using smaller font sizes and are having trouble fitting the whole window onto one screen, try setting this to a smaller value. | number | No | Android | yes | | `forceDarkOn?` | Configuring Dark Theme | boolean | No | Android | yes | -- Gitee