Embedding WebViews

Embedding WebViews Cordova applications are ordinarily implemented as a browser-based WebView within the native mobile platform. This section shows how, for supporting platforms, to create your own WebView components that make full use of Cordova APIs. You can then deploy these Cordova application components along with native components in a hybrid application. To deploy a WebView, you need to be familiar with each native programming environment. The following provides instructions for supporte

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

cordova-plugin-media-capture

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-capture This plugin provides access to the device's audio, image, and video capture capabilities. WARNING: Collection and use of images, video, or audio from the device's camera or microphone raises important privacy issues. Your app's privacy policy should discuss how the app uses such sensors a

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

Cordova App Templates

Cordova App Templates Use a Template Templates allow you to use preexisting code to jumpstart your project. Find a template to create your app from by seaching for the keyword cordova:template on npm. You can also use local templates on your computer, or a Git repository. After locating a template you wish to use. Create your project using that template, by specifying the --template flag during the create command, followed by your template source. Creating a cordova project from an NPM packag

Upgrading Windows Phone 8

Upgrading Windows Phone 8 This guide shows how to modify Windows Phone 8 projects, to upgrade from older versions of Cordova. Some of these instructions apply to projects created with an older set of command-line tools that precede the cordova CLI utility. See The Command-Line Interface for information how to update the version of the CLI. The following section shows how to upgrade from non-CLI and CLI projects. Upgrading 3.6.0 Projects to 4.0.0 For non-CLI projects, run: bin/update path/to/pro

cordova-plugin-file

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 This plugin implements a File API allowing read/write access to files residing on the device. This plugin is based on several specs, including : The HTML5 File API http://www.w3.org/TR/FileAPI/ The Directories and System extensions Latest: http://www.w3.org/TR/2012/WD-file-system-api-20120417/ Alt

Ubuntu Platform

Ubuntu Platform Guide This guide shows how to set up a development environment for creating Cordova applications for Ubuntu. You will need an Ubuntu system for building applications, either running natively or in a virtual machine. You will also need an Ubuntu phone for testing your application, though an emulator can be used for basic verifications. Development Platform Requirements Minimum and Recommended Versions Developing Cordova apps requires a system running Ubuntu. The recommended envir

Hooks

Hooks Introduction Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. Cordova hooks allow you to perform special activities around cordova commands. For example, you may have a custom tool that checks for code formatting in your javascript file. And, you would like to run this tool before every build. In such a case, you could use a 'before_build' hook and instruct the cordova run time

cordova-plugin-globalization

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-globalization This plugin obtains information and performs operations specific to the user's locale, language, and timezone. Note the difference between locale and language: locale controls how numbers, dates, and times are displayed for a region, while language determines what language text appears as