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

deviceready

deviceready The deviceready event fires when Cordova is fully loaded. This event is essential to any application. It signals that Cordova's device APIs have loaded and are ready to access. Cordova consists of two code bases: native and JavaScript. While the native code loads, a custom loading image displays. However, JavaScript only loads once the DOM loads. This means the web app may potentially call a Cordova JavaScript function before the corresponding native code becomes available. The devi

cordova requirements

cordova requirements command Synopsis Checks and print out all the requirements for platforms specified (or all platforms added to project if none specified). If all requirements for each platform are met, exits with code 0 otherwise exits with non-zero code. This can be useful when setting up a machine for building a particular platform. Syntax cordova requirements android

cordova prepare

cordova prepare command Synopsis Transforms config.xml metadata to platform-specific manifest files, copies icons & splashscreens, copies plugin files for specified platforms so that the project is ready to build with each native SDK. Syntax cordova prepare [<platform> [..]] [--browserify | --fetch] Options Option Description <platform> [..] Platform name(s) to prepare. If not specified, all platforms are built. --browserify Compile plugin JS at build time using browserify

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

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

startcallbutton

startcallbutton The event fires when the user presses the start call button. If you need to override the default start call behavior you can register an event listener for the startcallbutton event. Quick Example document.addEventListener("startcallbutton", onStartCallKeyDown, false); function onStartCallKeyDown() { // Handle the start call button }

BlackBerry 10 Plugins

BlackBerry 10 Plugins This section provides details for how to implement native plugin code on the BlackBerry 10 platform. Before reading this, see Application Plugins 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. The Echo plugin basically returns whatever string the window.echo function sends from JavaScript: window.echo = fun

Upgrading iOS

Upgrading iOS This guide shows how to modify iOS projects to upgrade from older versions of Cordova. Most 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. NOTE: Xcode 6 is required. Currently, to submit to the Apple App Store, you should use the latest shipped version of the iOS SDK, which is iOS 8 and this is included only with Xcode

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