diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 78b1d421d4..28f26c8ec8 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1945,6 +1945,15 @@ export interface WebViewPropertiesAndroid { * Sets the user-agent for the WebView. */ userAgent?: string; + + /** + * Specifies the mixed content mode. i.e WebView will allow a secure origin to load content from any other origin. +Possible values for mixedContentMode are: +'never' (default) - WebView will not allow a secure origin to load content from an insecure origin. +'always' - WebView will allow a secure origin to load content from any other origin, even if that origin is insecure. +'compatibility' - WebView will attempt to be compatible with the approach of a modern web browser with regard to mixed content. + */ + mixedContentMode?: "never" | "always" | "compatibility"; } export interface WebViewIOSLoadRequestEvent {