Apache Cordova Android
Clone or download
Latest commit 73edf4d Sep 12, 2018
Permalink
Failed to load latest commit information.
.github CB-11921 - Add github pull request template Oct 5, 2016
bin Update comments (#496) Sep 12, 2018
cordova-js-src CB-11880 android: Fail-safe for cordova.exec() Oct 12, 2016
framework Fixes apache/cordova-android#473: Do not attempt an activity intent A… Aug 29, 2018
spec Fixes build & run related bugs from builder refactor PR #461 (#490) Sep 6, 2018
test Remove unused builders and add unit tests Jul 10, 2018
.eslintignore Improve ESLint script May 19, 2018
.eslintrc.yml CB-12895 : added eslint and removed jshint Jun 23, 2017
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos Nov 12, 2015
.gitignore Ignore the whole node_modules folder Sep 11, 2018
.ratignore CB-13912: updated .ratignore to include build diectory Feb 20, 2018
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. May 21, 2013
.travis.yml CB-14072 Update supported Node.js versions Jun 13, 2018
CONTRIBUTING.md Remove mention of ICLA from contribution guidelines (#460) Jun 29, 2018
LICENSE Fixed line endings Oct 20, 2015
NOTICE Checked the notice file, updating to 2015 Oct 26, 2015
README.md CB-12423: make explicit JDK 1.8 or greater is needed in the README. Jul 14, 2017
RELEASENOTES.md CB-13912 Updated RELEASENOTES and Version for release 7.1.0 Feb 21, 2018
VERSION Set VERSION to 7.2.0-dev (via coho) Feb 21, 2018
appveyor.yml CB-14072 Update supported Node.js versions Jun 13, 2018
package.json Remove bundledDependencies key from package.json Sep 11, 2018

README.md

Build status Build Status codecov.io

Cordova Android

Cordova Android is an Android application library that allows for Cordova-based projects to be built for the Android Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project of The Apache Software Foundation (ASF).

⚠️ Report issues on the Apache Cordova issue tracker

Requires

Cordova Android Developer Tools

We recommend using the Cordova command-line tool to create projects and be able to easily install plugins.

However, the following scripts can be used instead:

./bin/create [path package activity] ... creates the ./example app or a cordova android project
./bin/check_reqs ....................... checks that your environment is set up for cordova-android development
./bin/update [path] .................... updates an existing cordova-android project to the version of the framework

These commands live in a generated Cordova Android project. Any interactions with the emulator require you to have an AVD defined.

./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log   ........................ streams device or emulator logs to STDOUT
./cordova/run   ........................ calls `build` then deploys to a connected Android device. If no Android device is detected, will launch an emulator and deploy to it.
./cordova/version ...................... returns the cordova-android version of the current project

Using Android Studio

  1. Create a project
  2. Import it via "Non-Android Studio Project"

Running the Native Tests

The test/ directory in this project contains an Android test project that can be used to run different kinds of native tests. Check out the README contained therein for more details!