Go to file
Norman Breau 89a0a72da5
feat!: API 34 Support (#1678)
* feat!: Upgrade to Gradle and AGP 8

* java 17

* feat!: API 34 Support

API 34: Upgrade AGP from 8.2.0-rc01 to 8.2.0-rc02

API 34: Upgrade AGP from 8.2.0-rc02 to 8.2.0-rc03

API 34: Upgrade AGP from 8.2.0-rc03 to 8.2.0

feat: add AndroidKotlinJVMTarget preference to set the kotlin JVM target
This is in addition to the java source / target compatibility preferences.
AndroidKotlinJVMTarget is only affective if Kotlin is enabled.

chore: Upgrade Gradle from 8.4 to 8.5

AGP 8.2.0 -> 8.2.1

Gradle 8.5 -> 8.7

fix: Add --validate-url to gradle wrapper commands

AGP 8.4.0

* fix(test): ProjectBuilder using Gradle 8.3, no longer supported version

* API 34: Change Kotlin JVM Target default.

The new default value is null. When null, it will by default
to the Java Target compatibility. Updating AndroidJavaTargetCompatibility
will also influence the Kotlin JVM target, unless if AndroidKotlinJVMTarget
is also explicitly defined.

* removed leftover debug prints

* API 34: Gradle Wrapper

* API 34: ratignore generated gradle wrapper files

* fix gradle wrapper jar via git attributes

* fix(test): normalise gradle paths

* fix(windows): Gradle paths

* fix(windows): Keep CRLF endings for bat files

* chore: Updated license for Gradle Wrapper 8.7 pointer

* API 34 Support Gradle Tools project

* API 34: omit --validate-url on installing the wrapper

* revert: LICENSE notice on bundling the gradle wrapper jar

* Revert: AGP 8.4 -> 8.3

* test(ci): Added NodeJS 22 to the test matrix

---------

Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
2024-05-13 10:28:57 -03:00
.github feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
cordova-js-src feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
framework feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
lib feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
spec feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
templates feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
test feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
types fix: import type definitions from obsolete cordova-plugin-splashscreen (#1489) 2022-09-13 10:03:53 -03:00
.asf.yaml chore(asf): Update GitHub repo metadata 2020-10-06 20:24:23 -07:00
.eslintignore refactor!: do not copy JS lib to platform project (#1269) 2021-07-13 11:01:50 +02:00
.eslintrc.yml cleanup yaml files (#994) 2020-06-16 19:34:10 -04:00
.gitattributes feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
.gitignore feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
.npmignore build: build cordova.js during npm prepare (#1271) 2021-07-14 10:25:34 +02:00
.npmrc chore: npmrc (#1348) 2021-09-17 09:54:59 -03:00
.ratignore feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
.reviewboardrc chore: various cleanup (#957) 2020-04-15 12:40:59 +09:00
CONTRIBUTING.md remove trailing spaces from markdown files (#995) 2020-06-10 09:29:14 -04:00
licence_checker.yml ci(release-audit): add license header and dependency checker (#1687) 2024-05-08 15:07:52 +09:00
LICENSE feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
NOTICE chore: various cleanup (#957) 2020-04-15 12:40:59 +09:00
package-lock.json chore: bump version 13.0.0-dev (#1708) 2024-05-08 01:51:15 +09:00
package.json feat!: API 34 Support (#1678) 2024-05-13 10:28:57 -03:00
README.md doc: update README about development & testing (#1308) 2021-08-13 11:28:47 +09:00
RELEASENOTES.md release(android-v12.0.1): updated version and RELEASENOTES.md 2023-08-23 18:34:34 +09:00

Cordova Android

NPM

Node CI codecov.io

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).

Requirements

Create a Cordova project

Follow the instructions in the Create your first Cordova app section of Apache Cordova Docs

To use a shared framework, for example in development, link the appropriate cordova-android platform folder path:

cordova platform add --link /path/to/cordova-android

Updating a Cordova project

When you install a new version of the Cordova CLI that pins a new version of the Cordova-Android platform, you can follow these simple upgrade steps within your project:

cordova platform rm android
cordova platform add android

Debugging in Android Studio

Import project in Android Studio through File > Open and targeting /path/to/your-cdv-project/platforms/android/.

How to Test Repo Development

npm install
npm test

Further reading