Web View

The Web View widget displays a live web page from a given URL. It works like a mini-browser embedded inside your app, allowing you to show external or internal web content without leaving the app.

Core Concepts

  1. Loads a URL inside your app instead of opening the device browser.

  2. Renders full web content (HTML, CSS, JavaScript, images, etc.).

  3. Can optionally intercept back navigation using interceptorBack so that:

    • Back button first navigates inside the Web View history, or

    • Triggers a custom behavior (like showing a confirmation dialog), instead of immediately leaving the screen.

This gives you more control over how users move inside web-based screens embedded in your app.

Properties

Property
Description

url

The URL of the web page to display. This can be an external link (e.g., https://example.com) or an internal page (e.g., your own web app).

interceptorBack

Controls how the back action is handled when the user presses the system back button or navigates back from this screen. Typically used to intercept back navigation inside the Web View (e.g., go back in web history instead of closing the screen).

If interceptorBack is enabled, you can ensure that users don’t accidentally leave the screen while they are still navigating between pages inside the Web View.

Default Properties

The Web View widget supports all Default Properties.

Use Cases

Use WebView when you want to:

  • Embed existing web experiences

    • Show an existing website, microsite, or landing page inside your app

    • Load dashboards, admin panels, or tools that already run on the web

  • Show external content you don’t want to rebuild natively

    • Help center, documentation, blogs, or support portal

    • Legal pages like Terms & Conditions, Privacy Policy, Refund Policy

  • Integrate third-party flows

    • Payment pages, authentication flows, or external forms

    • Partner pages, referral programs, or affiliate content

  • Render complex HTML/JS apps

    • Interactive widgets, charts, or visualizations powered by JavaScript

    • Web-based widgets that are hard to recreate with native UI

Last updated