エリス
e012478537
refactor: replace fs-extra with node:fs ( #1772 )
...
* spec: add devDependencies "tmp"
2025-01-29 10:39:11 +09:00
エリス
9f5518000f
refactor: prefix node:* ( #1769 )
...
* refactor: prefix node:* to path
* refactor: prefix node:* to os
* refactor: prefix node:* to fs
* refactor: prefix node:* to util
2025-01-28 12:13:36 +09:00
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
Darryl Pogue
7fa4a65d0a
feat(splash): Support SplashScreenBackgroundColor preference ( #1700 )
2024-05-09 15:57:04 +09:00
Norman Breau
c9e7c59986
fix(GH-1616): Fix monochrome checks ( #1632 )
2023-07-13 13:18:54 -03:00
エリス
a9d4d4ebd2
feat!: bump Gradle 7.6 & AGP 7.4.2 ( #1539 )
...
* feat: bump gradle 7.6
* feat: bump android gradle plugin 7.3.1
* feat: bump android gradle plugin 7.4.2
* fix!: move android package name to build.gradle namespace
* fix!: remove deprecated package name from AndroidManifest
* fix: package name
* fix: rename CordovaGradleConfigParser's _save to write
* test: fix CordovaGradleConfigParser related specs
* fix: test refactoring for gradle namespace
* fix: accidental variable naming mixing
---------
Co-authored-by: Norman Breau <norman@nbsolutions.ca>
2023-04-12 14:39:47 +09:00
Mahendra Liya
016018513e
feat: add monochrome app icon support ( #1550 )
...
* Added the monochrome version for Cordova's icon
* android: modified the ic_launcher.xml to include the monochrome drawable
* android: replaced monochrome image with rasterized images
* android: Added support for custom monochrome icons defined in config.xml
* android: Updated Tests
* android: wrapped inside if(monochrome)
* android: Update templates/project/res/mipmap-hdpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* Update lib/prepare.js
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android: Update templates/project/res/mipmap-ldpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android: Update templates/project/res/mipmap-mdpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android Update templates/project/res/mipmap-xhdpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android: Update templates/project/res/mipmap-xxhdpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android: Update templates/project/res/mipmap-xxxhdpi-v26/ic_launcher.xml
Co-authored-by: エリス <erisu@users.noreply.github.com>
* android: Update lib/prepare.js
Co-authored-by: エリス <erisu@users.noreply.github.com>
* Resolved lint errors
* fix: test failure
---------
Co-authored-by: エリス <erisu@users.noreply.github.com>
2023-04-09 20:41:38 -03:00
エリス
c2013439bc
dep: bump npm dependencies ( #1587 )
...
* dep: bump npm dependencies
- fs-extra@11.1.1
- nopt@7.1.0
- @cordova/eslint-config@5.0.0
- jasmine@4.6.0
* chore: apply eslint fix
2023-04-06 12:35:00 +09:00
jcesarmobile
954d3e0e75
fix: Add android prefix to windowSplashScreenBrandingImage ( #1487 )
2022-09-16 09:34:20 +02:00
エリス
e5b7e8ab26
fix(prepare): destFile path separator ( #1455 )
2022-07-04 22:27:11 +09:00
エリス
e968cac0b9
fix: support installing platfrom from local git checkout ( #1453 )
2022-06-30 21:35:27 +09:00
エリス
273d1bdecd
chore: display warning on deprecated <splash> tag usage ( #1451 )
...
* chore: display warning on deprecated <splash> tag usage
* test: create spy on warnForDeprecatedSplashScreen
2022-06-30 20:00:25 +09:00
エリス
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
エリス
53d39fb135
fix: restore checkReqs in prepare.js ( #1434 )
2022-05-19 00:49:52 +09:00
エリス
4744bfe6bf
feat: support custom compileSdk setting ( #1431 )
...
* feat: support custom compileSdk setting
* chore: apply suggestions from code review
* chore: apply cdv-gradle-config-defaults.json suggestion
* fix: set compile sdk when null
* fix: move compileSdk null check to gradle
* fix: compile sdk requirement warning & display in gradle per subproject
Co-authored-by: Norman Breau <norman@nbsolutions.ca>
2022-05-18 23:18:33 +09:00
wedgberto
cb494ff9b1
fix(android): move MainActivity.java to folder that tracks the app package name (widget id) ( #1154 )
...
* move mainactivity.java
* unit test for moving mainactivity.java
* fix new unit test
* eslint fixes
* add explicit elementtree npm dependency
Co-authored-by: David Wedgbury <david.wedgbury@telent.com>
2022-05-18 11:11:31 -03:00
エリス
a2bb7f1173
chore(npm): bump @cordova/eslint-config@^4.0.0 ( #1421 )
...
* chore(npm): bump @cordova/eslint-config@^4.0.0
* style(lint): apply auto corrections
* style(lint): convert hasAndroidHome var to let and hoisted
2022-04-18 10:39:54 +09:00
Alexis THOMAS
09c75237d9
fix: display project name in Android Studio ( #1214 )
2021-08-13 12:08:18 +09:00
Raphael von der Grün
16ff6e1b2f
refactor!: do not copy JS lib to platform project ( #1269 )
2021-07-13 11:01:50 +02:00