Cordova Plug-ins Support
The Tabris.js API is primarily a UI/widget library, with some additional browser-inspired APIs. To provide features not covered by either of these, Tabris.js can be extended with Apache Cordova plug-ins.
deviceready event before accessing plug-in API. All plug-ins will be ready when the applications main module is loaded.
While using the Tabris.js Developer App, your application can directly access the following pre-packaged plug-ins:
- Device Motion
- Network Information
- Google Analytics
- Google Play Services
These plug-ins have been tested with Tabris.js and a demo can be found among the Tabris.js examples.
Please note, default plug-ins are only included in the debug version of an app. If you want to use them in the release version, you should add them via
<plugin> tags in the Cordova
config.xml file: Integrating Cordova Plugins.
Other Cordova plug-ins
To use Cordova plug-ins not part of the Tabris.js Developer App you need to add them during the build process. You can either create a release-ready version of your own app, or a enhanced version of the Developer App that contains the additional plug-ins (set debug mode to
Since Tabris.js uses a native UI and no HTML5, most of the plug-ins will work out of the box but not all. Plug-ins that manipulate the DOM will not work.
Plug-ins that have been tested with Tabris.js are tracked as GitHub issues. If the plug-in is confirmed to work the issue is closed. Please feel free to add issues for plug-ins that you tested.