OS X Plugins

OS X Plugins This section is not written yet. Please refer to the iOS Plugin Guide that has many similarities to OS X.

cordova-plugin-network-information

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-network-information This plugin provides an implementation of an old version of the Network Information API. It provides information about the device's cellular and wifi connection, and whether the device has an internet connection. To get a few ideas how to use the plugin, check out the sample at the

cordova-plugin-battery-status

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-battery-status This plugin provides an implementation of an old version of the Battery Status Events API. It adds the following three events to the window object: batterystatus batterycritical batterylow Applications may use window.addEventListener to attach an event listener for any of the above eve

cordova serve

cordova serve command Synopsis Run a local web server for www/ assets using specified port or default of 8000. Access projects at: http://HOST_IP:PORT/PLATFORM/www Syntax cordova serve [port]

cordova clean

cordova clean command Synopsis Cleans the build artifacts for the specified platform, or all platforms by running platform-specific build cleanup. Syntax cordova clean [<platform> [...]] Example Clean android platform build artifiacts: cordova clean android

BlackBerry 10 Configuration

BlackBerry 10 Configuration The config.xml file controls an app's basic settings that apply across each application and CordovaWebView instance. This section details preferences that only apply to BlackBerry 10 builds. See The config.xml File for information on global configuration options. ChildBrowser (disable or the default enable): Disables child browser windows. By default, apps launch a secondary browser window to display resources accessed via window.open() or by specifying a _blank anc

resume

resume The resume event fires when the native platform pulls the application out from the background. Quick Example document.addEventListener("resume", onResume, false); function onResume() { // Handle the resume event } iOS Quirks Any interactive functions called from a pause event handler execute later when the app resumes, as signaled by the resume event. These include alerts, console.log(), and any calls from plugins or the Cordova API, which go through Objective-C. active event The

cordova-plugin-vibration

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-vibration This plugin aligns with the W3C vibration specification http://www.w3.org/TR/vibration/ This plugin provides a way to vibrate the device. This plugin defines global objects including navigator.vibrate. Although in the global scope, they are not available until after the deviceready event. doc

cordova-plugin-inappbrowser

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-inappbrowser You can show helpful articles, videos, and web resources inside of your app. Users can view web pages without leaving your app. To get a few ideas, check out the sample at the bottom of this page or go straight to the reference content. This plugin provides a web browser view that displa

&lt;plugin&gt;

plugin Specifies details about what plugin to restore during a prepare. This element is automatically added to a project's config.xml when a plugin is added using the --save flag. See the CLI reference for more information on adding plugins. Attributes(type) Only for platform: Description name(string) Required Name of the plugin to be restored spec(string) Required Details about the plugin to be restored. This could be a major.minor.patch version number, a directory containing the plugin o