cordova-plugin-media

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-media This plugin provides the ability to record and play back audio files on a device. NOTE: The current implementation does not adhere to a W3C specification for media capture, and is provided for convenience only. A future implementation will adhere to the latest W3C specification and may deprecate

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

OS X Configuration

OS X 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 OS X builds. See The config.xml File for information on global configuration options. Overview Name Default Version Comment HideMousePointer disabled 4.0.0 Sets the timeout for hiding the mouse pointer OSXLocalStoragePath ~/Library/Application Support/{bundle.id} 4.0.0 Sets the local storage path WindowSize au

cordova-plugin-whitelist

cordova-plugin-whitelist This documentation describes this plugin at version master. Other versions are on GitHub. This plugin implements a whitelist policy for navigating the application webview on Cordova 4.0 :warning: Report issues on the Apache Cordova issue tracker Installation You can install whitelist plugin with Cordova CLI, from npm: $ cordova plugin add cordova-plugin-whitelist $ cordova prepare Supported Cordova Platforms Android 4.0.0 or above Navigation Whitelist Contro

<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

Windows Phone 8.0 WebViews

Windows Phone 8.0 WebViews This guide shows how to embed a Cordova-enabled WebView component within a larger Windows Phone 8.0 application. To follow these instructions, make sure you have the latest Cordova distribution. Download it from cordova.apache.org and unzip its Windows Phone 8.0 package (cordova-wp8-*.zip). Navigate to the package's wp8/framework directory and build WPCordovaClassLib.sln. It creates the Bin\Debug[Release]\WPCordovaClassLib.dll. Copy the WPCordovaClassLib.dll file int

Privacy

Privacy Guide Mobile privacy is a critical issue that every app developer must address. Your users expect that their private information will be collected and treated appropriately by your app. Also, there are an increasing number of jurisdictions that now have legal requirements regarding mobile privacy practices. This guide on mobile app privacy should be considered a primer addressing some the most significant issues. It outlines some broadly accepted best practices and provides references t

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

menubutton

menubutton The event fires when the user presses the menu button. Applying an event handler overrides the default menu button behavior. Quick Example document.addEventListener("menubutton", onMenuKeyDown, false); function onMenuKeyDown() { // Handle the back button }