diff --git a/docs/next/webview.html b/docs/next/webview.html index 1cd0e01635b..c0a46417603 100644 --- a/docs/next/webview.html +++ b/docs/next/webview.html @@ -40,6 +40,7 @@
  • onLoadStart
  • onMessage
  • onNavigationStateChange
  • +
  • originWhitelist
  • renderError
  • renderLoading
  • scalesPageToFit
  • @@ -203,6 +204,19 @@
    +

    originWhitelist

    +

    List of origin strings to allow being navigated to. The strings allow wildcards and get matched against just the origin (not the full URL). +If the user taps to navigate to a new page but the new page is not in this whitelist, the URL will be handled by the OS. +The default whitelisted origins are "http://" and "https://".

    + + + + + + + +
    TypeRequired
    array of stringsNo
    +

    renderError

    Function that returns a view to show if there's an error.