606e9c4826
* 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> |
||
---|---|---|
.github | ||
cordova-js-src | ||
framework | ||
lib | ||
spec | ||
templates | ||
test | ||
.asf.yaml | ||
.eslintignore | ||
.eslintrc.yml | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
.npmrc | ||
.ratignore | ||
.reviewboardrc | ||
CONTRIBUTING.md | ||
LICENSE | ||
NOTICE | ||
package-lock.json | ||
package.json | ||
README.md | ||
RELEASENOTES.md |
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).
Requirements
- Java Development Kit (JDK) 11
- Android SDK
- Node.js
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