-
Notifications
You must be signed in to change notification settings - Fork 8
Plugins Management
In Sidekick, you can easily find, install, and update various NativeScript plugins and npm packages to extend the functionality of your app.
The NativeScript 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 a 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.
In Sidekick, 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 NativeScript Sidekick 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 NativeScript Sidekick 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 NativeScript Sidekick 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 to test the new functionality.
- Introduction
- Get Started
- User Guide
- Logging in Sidekick
- Sidekick Settings
- Creating Your App
- Configuring Your App
- Adding Pages
- Code Signing You App
- Building Your App
- Running Your App
- Publishing Your App
- Troubleshooting