# Plugin

**Plugin** in ONEWEB Page Designer is used to **extend application capabilities** by adding new features or enhancing existing functionality.\
Plugins allow applications to integrate device capabilities, platform services, or specialized behaviors without modifying core application logic.

Plugins are commonly used for:

* Mobile device features (camera, notifications, storage, etc.)
* Integration with external services
* Enhancing UI or runtime behavior
* Enabling advanced mobile or hybrid functionalities

***

### Open Plugin Configuration

All plugin‑related settings are managed at the **application level**.

#### Step 1: Open Plugin Screen

1. Open **Page Designer**
2. Navigate to the **APP CONFIG** tab
3. Click **Plugin**

📷 *Open Plugin configuration from App Config*

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FTBey2PAohz1cnuGIHXXX%2Fimage.png?alt=media&#x26;token=ef54a407-b79d-46c7-96fe-d4b40019f8b0" alt=""><figcaption></figcaption></figure>

***

### Enable or Disable Plugins

The Plugin screen displays a list of **available plugins** for the application.

#### Step 2: Enable / Disable Plugin

* Click **Enable** to activate a plugin
* Click **Disable** to turn off a plugin that is not required

📷 *Enable or disable an existing plugin*

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FS8oxjllPz2WgcDj26ovs%2Fimage.png?alt=media&#x26;token=9a757849-f17f-4a2f-82fc-3eec0fd715bd" alt=""><figcaption></figcaption></figure>

Enabling only required plugins helps keep the application lightweight and reduces unnecessary dependencies.

***

### Install Additional Plugins

If more functionality is required, users can install additional plugins.

#### Step 3: Add More Plugin

1. Click **Add More Plugin** to view available plugins

📷 *Add more plugins*

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FJgu1tN3jdj6XJHanaSmB%2Fimage.png?alt=media&#x26;token=e316a18e-d0fa-4940-9df6-b549fa969857" alt=""><figcaption></figcaption></figure>

1. Browse the list of available plugins
2. Click **Install** for the plugin you want to use

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FRq285rsrxxBSSuEOuFTk%2Fimage.png?alt=media&#x26;token=6b7146ba-06db-4c63-b979-7c341f17ecf4" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Install available plugin</em></p>

Once installed, the plugin becomes available for configuration and usage within the application.

***

### Add Custom Plugins

ONEWEB also allows developers to attach **custom plugins** to support advanced or proprietary functionality.

#### Step 4: Add Custom Plugin

1. Click **+ Add Plugin**
2. Upload or reference a **custom plugin**
3. Save the configuration

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FPCho4s5QUIpuUf8PSWbM%2Fimage.png?alt=media&#x26;token=a1f273e4-c9bf-4458-bb14-3415121e65c7" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Add custom plugin option</em></p>

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FZnLvBeTNsZ8af70GkWaE%2Fimage.png?alt=media&#x26;token=f305008c-d3a8-4bd7-b468-3453329d678e" alt=""><figcaption></figcaption></figure>

<p align="center"><em>Custom plugin configuration screen</em></p>

Custom plugins are typically used in advanced scenarios where built‑in plugins are insufficient.

***

### Design Perspective

As part of **Page Designer and Mobile App best practices**:

* Enable only the plugins required for your application
* Disable unused plugins to reduce app size and complexity
* Test plugin behavior across target platforms (Android / iOS)
* Document plugin usage for maintainability
* Be cautious when using custom plugins, especially for upgrades and deployment

Plugins allow ONEWEB applications to remain **flexible, extensible, and platform‑capable**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onewebstack.com/building-apps/ui-page-designer/ux-ui-components/pages/page-features/plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
