We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e9502 commit 347763cCopy full SHA for 347763c
src/WebViewTypes.ts
@@ -788,11 +788,17 @@ export interface WebViewSharedProps extends ViewProps {
788
*/
789
javaScriptEnabled?: boolean;
790
791
+ /**
792
+ * List of origin strings that are allowed to send download data through postMessage.
793
+ * The strings allow wildcards and get matched against *just* the origin (not the full URL).
794
+ * If a download request comes from an origin not in this whitelist, it will be ignored.
795
+ * The default whitelisted origins are empty array [].
796
+ */
797
+ readonly downloadOriginWhitelist?: string[];
798
799
/**
800
* Defines a list of domain origins that can access camera.
801
-
802
readonly cameraPermissionOriginWhitelist?: string[];
803
804
0 commit comments