This component is used to display the web page from a specified URL.
The core structure includes: uri
isTrackingTransparencyRequired - If true tracking transparency permission modal will be shown before opening the url
height - The height of the web view
content - HTML to render
The isScrollable property - if set to false - allows you to display the component in full screen
It is a property of the jig, not the component itself.
Web-view example (URL)
In this example, we open a target URL in the web-view component.
If the target URL is tracking data (e.g., cookies etc.), you are required by Apple to ask for user consent using the isTrackingTransparencyRequired option. It will ask for user consent the first time any web view in your solution tries to open a target URL.
Web-view example (HTML Content)
In this example, we are passing raw HTML content to the web-view component. This can either be inline content (see example below) or content from a datasource. Please note: If your HTML content does not render as expected (e.g. font too small etc.) embed the meta HTML tag from below example into your HTML content that you are passing into the content option.