javaScriptBridgeEnabled property
getter/setter pair
Set to false to disable the JavaScript Bridge completely.
This will affect also all the internal plugin UserScripts
that are using the JavaScript Bridge to work.
NOTE: setting or changing this value after the WebView has been created won't have any effect. It should be set when initializing the WebView through PlatformWebViewCreationParams.initialSettings parameter.
The default value is true.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView
- macOS WKWebView
- Windows WebView2
- Web <iframe> but requires same origin
Implementation
bool? javaScriptBridgeEnabled;