> For the complete documentation index, see [llms.txt](https://pmsgz.gitbook.io/nectar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pmsgz.gitbook.io/nectar/advanced/cordova-plugins.md).

# Cordova Plugins

## Overview

Cordova Plugins provide access to native device and platform functionalities to the hybrid apps via Cordova.

The configuration file for managing Cordova plugins is `config.xml`

Nectar comes with most commonly required Cordova plugins along with optimal configuration. You can always install other Cordova plugins from [NPM](https://npmjs.com).

## Required Plugins

These plugins are required for the proper functioning of the app and must be included in `config.xml`.

<table><thead><tr><th width="322.6666666666667">Plugin</th><th width="92">Version</th></tr></thead><tbody><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-buildinfo">cordova-plugin-buildinfo</a></td><td>4.0.0</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-device">cordova-plugin-device</a></td><td>2.1.0</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-file">cordova-plugin-file</a></td><td>7.0.0</td></tr><tr><td><a href="/spaces/-M1Amz7KLo8yO7O_w9aB">cordova-plugin-inappbrowser</a></td><td>5.0.0</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-splashscreen">cordova-plugin-splashscreen</a></td><td>6.0.2</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-statusbar">cordova-plugin-statusbar</a></td><td>3.0.0</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-webview-checker">cordova-plugin-webview-checker</a></td><td>1.0.0</td></tr><tr><td><a href="https://www.npmjs.com/package/cordova-plugin-wkwebview-file-xhr">cordova-plugin-wkwebview-file-xhr</a></td><td>3.1.0</td></tr></tbody></table>

## Optional Plugins

These plugins are optional and depends on your app requirements.

| Plugin                                                                                                 | Version |
| ------------------------------------------------------------------------------------------------------ | ------- |
| [admob-plus-cordova](https://www.npmjs.com/package/admob-plus-cordova)                                 | 1.28.0  |
| [cordova-plugin-battery-status](https://www.npmjs.com/package/cordova-plugin-battery-status)           | 2.0.3   |
| [cordova-plugin-camera](https://www.npmjs.com/package/cordova-plugin-camera)                           | 6.0.0   |
| [cordova-plugin-contacts-info](https://www.npmjs.com/package/cordova-plugin-contacts-info)             | 0.2.0   |
| [cordova-plugin-dialogs](https://www.npmjs.com/package/cordova-plugin-dialogs)                         | 2.0.2   |
| [cordova-plugin-fingerprint-aio](https://www.npmjs.com/package/cordova-plugin-fingerprint-aio)         | 5.0.1   |
| [cordova-plugin-geolocation](https://www.npmjs.com/package/cordova-plugin-geolocation)                 | 4.1.0   |
| [cordova-plugin-media-capture](https://www.npmjs.com/package/cordova-plugin-media-capture)             | 4.0.0   |
| [cordova-plugin-network-information](https://www.npmjs.com/package/cordova-plugin-network-information) | 3.0.0   |
| [cordova-plugin-x-socialsharing](https://www.npmjs.com/package/cordova-plugin-x-socialsharing)         | 6.0.4   |
| [cordova-sqlite-storage](https://www.npmjs.com/package/cordova-sqlite-storage)                         | 6.1.0   |
| [cordova-plugin-vibration](https://www.npmjs.com/package/cordova-plugin-vibration)                     | 3.1.1   |

{% hint style="info" %}
To test Cordova Plugins, you must compile your app and run it on an emulator or a real device.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://pmsgz.gitbook.io/nectar/advanced/cordova-plugins.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
