<feature>

feature If you use the CLI to build applications, you use the plugin command to enable device APIs. This does not modify the top-level config.xml file, so the element does not apply to your workflow. If you work directly in an SDK and using the platform-specific config.xml file as source, you use the tag to enable device-level APIs and external plugins. They often appear with custom values in platform-specific config.xml files. See the API Reference for details on how to specify each feature.

<engine>

engine Specifies details about what platform to restore during a prepare. Attributes(type) Only for platform: Description name(string) Required Name of the platform to be restored spec(string) Required Details about the platform to be restored. This could be a major.minor.patch version number, a directory containing the platform or a url pointing to a git repository. This information will be used to retrieve the platform code to restore from NPM, a local directory or a git repository. See

cordova-plugin-file-transfer

This documentation describes this plugin at version master. Other versions are on GitHub. Android iOS Windows 8.1 Store Windows 8.1 Phone Windows 10 Store Travis CI cordova-plugin-file-transfer This plugin allows you to upload and download files. This plugin defines global FileTransfer, FileUploadOptions constructors. Although in the global scope, they are not available until after the deviceready event. document.addEventListener("deviceready", onDeviceReady, false); function on

pause

pause The pause event fires when the native platform puts the application into the background, typically when the user switches to a different application. Quick Example document.addEventListener("pause", onPause, false); function onPause() { // Handle the pause event } iOS Quirks In the pause handler, any calls to the Cordova API or to native plugins that go through Objective-C do not work, along with any interactive calls, such as alerts or console.log(). They are only processed when th

cordova telemetry

cordova telemetry command Synopsis Turns telemetry collection on or off. Syntax cordova telemetry [STATE] Option Description on Turn telemetry collection on. off Turn telemetry collection off. Details A timed prompt asking the user to opt-in or out is displayed the first time cordova is run. It lasts for 30 seconds, after which the user is automatically opted-out if he doesn't provide any answer. In CI environments, the CI environment variable can be set, which will prevent the prompt from s

endcallbutton

endcallbutton This event fires when the user presses the end call button. The event overrides the default end call behavior. Quick Example document.addEventListener("endcallbutton", onEndCallKeyDown, false); function onEndCallKeyDown() { // Handle the end call button }

Next Steps

Next Steps For developers who have an understanding of how to use the Cordova CLI and make use of plugins, there are a few things you may want to consider researching next to build better, more performant Cordova applications. The following document offers advice on various topics relating to best practices, testing, upgrades, and other topics, but is not meant to be prescriptive. Consider this your launching point for your growth as a Cordova developer. Also, if you see something that can be i

OS X Platform

OS X Platform Guide This guide shows how to set up your SDK development environment to deploy Cordova apps for OS X computers. See the following for more detailed platform-specific information: OS X Configuration OS X Plugins The command-line tools above refer to versions prior to Cordova 3.0. See The Command-Line Interface for information about the current interface. Requirements and Support Apple® tools required to build OS X applications run only on the OS X operating system on Intel-based

Blackberry 10s

Blackberry 10 Guides BlackBerry 10 Platform Guide BlackBerry 10 Shell Tool Guide BlackBerry 10 Configuration BlackBerry 10 Plugins Upgrading BlackBerry 10

Android Plugin Development

Android Plugin Development Guide This section provides details for how to implement native plugin code on the Android platform. Before reading this, see the Plugin Development Guide for an overview of the plugin's structure and its common JavaScript interface. This section continues to demonstrate the sample echo plugin that communicates from the Cordova webview to the native platform and back. For another sample, see also the comments in CordovaPlugin.java. Android plugins are based on Cordova