title | description | position | publish | slug |
---|---|---|---|---|
Plugins Management |
6 |
true |
plugins-management |
In {{ site.sk }}, you can easily find, install and update various {{ site.ns }} plugins and npm packages to extend the functionality of your app.
The {{ site.ns }} plugins are npm packages with some added native functionality. They can be referenced in your application as dependencies
or as devDependencies
.
The dependencies
are plugins required by your app at run time. There are a lot of plugins that you can use as dependencies, including, but not limited to plugins that introduce an UI component (calendar, drop-down, picker), plugins that give you access to a native API (camera, geolocation), plugins that allow you to use a third-party SDK (Kinvey, Google Maps, Facebook).
The devDependencies
are the plugins or npm packages required by your app only during the development phase. Usually, those are plugins that introduce functionality like unit testing, TypeScript to JavaScript transpilation, obfuscation, to name a few.
Progress manages the NativeScript Marketplace, a collection of free to use NativeScript plugins that can easily be integrated in your native mobile app.
Some of the plugins are marked as verified
, which means that they are created and maintained by Progress or trusted partners and satisfy a long list of criteria. The verified plugins are high in quality and reliability and are always kept up-to-date with the latest versions of {{ site.ns }}.
In {{ site.sk }}, you can easily find, install, update and remove plugins, both as dependencies
and as devDependencies
. Plugins installed as devDependencies
are marked with the dev
tag and the green verified
tag indicates that a plugin is verified.
- Launch {{ site.ns-sk }} and open your app.
- From the left toolbar, select Plugins to open the Plugins view.
- Select the Available tab and type the name of the plugin in the search box.
- Choose the plugin that you want to install.
- Click the Install drop-down button to expand it.
- Select Install to add the plugin as a
dependency
. - Select Install as devDependency to add the plugin as a
devDependency
.
- Select Install to add the plugin as a
- Launch {{ site.ns-sk }} and open your app.
- From the left toolbar, select Plugins to open the Plugins view.
- Select the Installed tab and select the plugin that you want to update.
- Click the Update button to update the plugin to the latest available version.
Note: The Update button will be visible only when the selected plugin has a newer version and can be updated.
- Launch {{ site.ns-sk }} and open your app.
- From the left toolbar, select Plugins to open the Plugins view.
- Select the Installed tab and select the plugin that you want to remove.
- Click the Uninstall button to remove the selected plugin.
Update your code to utilize the newly installed plugins and then [deploy your app on a connected device]({% slug deploy-on-device %}) to test the new functionality.