Go to file
エリス 606e9c4826
feat!: android 12 splash screen (#1441)
* chore!: remove old splashscreen logic
* feat(splashscreen): add backwards compatibility
* chore: remove unused method
* chore: prefix splashscreen_background with cdv_
* feat: support android 12 splashscreen api configs
* feat: improve & refactor the logic for android splashscreen api 12
* feat: splashscreen copy image resources
* feat: splashscreen branding image & xml cleanup
* fix: splashscreen cleanup & branding conditions
* fix: splashscreen @color usage
* feat: update default Apache Cordova splash screen
* chore: add missing asf header
* fix: splashscreen image size
* chore: use Theme.SplashScreen.IconBackground as default parent to support windowSplashScreenIconBackgroundColor
* fix: center default test image by correct pivot
* fix: fs-extra copySync
* feat: re-add AutoHideSplashScreen and SplashScreenDelay preference support
* chore: move splashscreen into CordovaActivity
* feat: support splashscreen.hide & centralize to SplashScreenPlugin
* chore: cleanup SplashScreenPlugin
* feat: support fade, default auto hide on onPageFinished, support delays, refactor
* refactor: cleanup splash screen
* refactor: cleanup remove unused import
* chore: add show method as unsupported
* test: create a spy on updateProjectSplashScreen
* style: add ending new line
* chore: improve logging to warn when image path is missing
* chore: split windowSplashScreenAnimatedIcon and windowSplashScreenBrandingImage case and added branding warning
* chore: improve when to display warning
* fix: add splashscreen dependency to app as well
* chore: move the core-splashscreen dep lower

Co-authored-by: Niklas Merz <niklasmerz@linux.com>
2022-06-30 10:49:10 +09:00
.github ci: update github action workflow (#1439) 2022-06-03 15:05:38 +09:00
cordova-js-src feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
framework feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
lib feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
spec feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
templates feat!: android 12 splash screen (#1441) 2022-06-30 10:49:10 +09:00
test feat: support custom compileSdk setting (#1431) 2022-05-18 23:18:33 +09: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 CB-9836 Add .gitattributes to prevent CRLF line endings in repos 2015-11-12 18:34:41 +03:00
.gitignore build: build cordova.js during npm prepare (#1271) 2021-07-14 10:25:34 +02: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 refactor!: do not copy JS lib to platform project (#1269) 2021-07-13 11:01:50 +02: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
LICENSE Remove unnecessary stuff (#1015) 2020-07-03 18:53:10 +02:00
NOTICE chore: various cleanup (#957) 2020-04-15 12:40:59 +09:00
package-lock.json fix(android): move MainActivity.java to folder that tracks the app package name (widget id) (#1154) 2022-05-18 11:11:31 -03:00
package.json fix(android): move MainActivity.java to folder that tracks the app package name (widget id) (#1154) 2022-05-18 11:11:31 -03:00
README.md doc: update README about development & testing (#1308) 2021-08-13 11:28:47 +09:00
RELEASENOTES.md android-v10.1.2 Updated version and RELEASENOTES.md for release 10.1.2 2022-04-11 22:01:02 +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