Webview
Webview
The Webview module gives you the option to include a URL that redirects to a certain page. You can redirect your users to your website, blog, or any page of your choice.
You can install this module in your app in the following places:
- App's Home Menu ✓
- App's Side Menu ✓
You can find the Webview module in the Essentials category. Click or drag and drop the module into your home or side menu to install it.
![web view](https://files.readme.io/ce871b2-Screenshot_1.webp)
Duplicability
This module can be duplicated in several sections in your app ✓
Configuration
1.) Once you have installed the module by clicking or dragging and dropping it in the home or side menu,
![drag&drop](https://files.readme.io/65083c7-Webview.gif)
You can rename the module and choose an Android and an iOS icon for it. Click the "Configure" button to open the settings of the module.
![web view module](https://files.readme.io/65997bb-Screenshot_2.webp)
2.) Here, you can enter the URL that you want to take your clients to. Make sure that the link that you enter is a sharable link.
![add URL](https://files.readme.io/917cb77-Screenshot_3.webp)
To determine which user specifically accessed a given page of yours, you can add a URL that can transmit a user identifier into a URL, but your URL must have one of the following variables:
- $user_id ⇒ It will pass the user ID.
For instance:
Your website's URL is [https://nandbox.com/app-builder-blog]. In this instance, you can include the variable $user_id into your URL: [https://nandbox.com/app-builder-blog/$user_id].
The URL will then return the user ID as [https://nandbox.com/app-builder-blog/32371289738912].
- $user_login ⇒ It will pass the user's login either via email, mobile, or a random ID in case your app requires registration.
The same is true for $user_login: add the variable to your URL [https://nandbox.com/?id=$user_login], then URL will return with the user login: [https://nandbox.com/[email protected]]
3.) Don't forget to click Save.
![save](https://files.readme.io/80a169f-Screenshot_4.webp)
4.) Once you install your app, it will be displayed as follows:
![web-view](https://files.readme.io/42c28c7-web-view.webp)
Updated 8 months ago