jcesarmobile
468c35e99f
java 17
2023-04-15 00:21:12 +02:00
jcesarmobile
d308a9a9b5
merge master
2023-04-15 00:20:24 +02:00
喻志强 and GitHub
7efe90faac
fix(BuildHelper): get package name from ApplicationInfo ( #1575 )
2023-04-14 10:15:55 -03:00
Norman Breau and GitHub
5b546a27e6
deprecate: CoreAndroid.getBuildConfigValue ( #1597 )
2023-04-14 10:15:09 -03:00
Norman Breau and GitHub
2252c09a49
feat: bump default kotlin to version 1.7.21 ( #1594 )
...
The rationale is based on the Gradle Compatibility Matrix: https://docs.gradle.org/current/userguide/compatibility.html
1.7.21 is the current latest version of the 1.7 Kotlin release.
2023-04-14 07:17:15 -03:00
Norman Breau and GitHub
3a9c87d3b8
fix(test): Native test namespace refactor ( #1595 )
2023-04-14 18:47:03 +09:00
jcesarmobile
fd13993c89
feat!: Upgrade to Gradle and AGP 8
2023-04-14 10:38:04 +02: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
Alexis THOMAS and GitHub
841710edf7
fix: ANDROID_HOME is the new default, to check first and give advice ( #1471 )
2023-04-09 20:43:11 -03:00
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
Norman Breau and GitHub
a78fad1783
feat: InspectableWebview preference ( #1589 )
2023-04-09 20:41:00 -03:00
Norman Breau and GitHub
b91639dbb5
refactor: Removed obsolete version code checks ( #1588 )
...
Now that our Min SDK is 24, testing for >= N (API 24) and >= M (API 22) is obsolete as it will always be true.
Simplify the codebase by removing the conditions and keeping only the API 24 or later codepath.
2023-04-08 15:32:19 -03:00
エリス and GitHub
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
Norman Breau and GitHub
d4bfd5079b
fix(GH-1432): Default content src when content tag is missing ( #1573 )
2023-03-21 13:24:13 -03:00
Norman Breau and GitHub
dbddbf253b
feat!: Bump min SDK to 24 ( #1571 )
...
Rationale:
API 22 & API 23 both account for an insignificant part of the market share.
While API 24 - API 26 has similar market share, we felt that bumping to API 26
from API 22 is too large of a jump.
Legacy devices may be completely out of support by Google and may not be able
to receive the latest webview version. As of writing, Chromium's latest
tag shows they are using a Min SDK version of 24. (Ref: https://chromium.googlesource.com/chromium/src/+/refs/tags/113.0.5653.1/build/config/android/config.gni#46 )
Based on AOSP emulators, API 24 (Android 7.0) will ship with
Chrome 52 webview, which has good support for ECMAscript 2015 (ES6) (Ref: https://caniuse.com/?search=es6 )
While in most cases, app users will likely have a modern webview vesion installed, this means
you can be confident that the app user will have a chrome webview version with good ES6 support,
even if they happen to be running on a factory versioned device.
See the mailing thread for the full discussion:
https://lists.apache.org/thread/zcgof080hdzzo2j96mjz0qpj0gotmn57
2023-03-16 19:45:01 -03:00
エリス and GitHub
04723eb8f3
feat: bump androidx.appcompat.appcompat 1.6.1 ( #1568 )
2023-03-11 16:41:38 +09:00
エリス and GitHub
862d33694e
feat: bump androidx.webkit.webkit 1.6.0 ( #1567 )
2023-03-11 12:19:16 +09:00
エリス and GitHub
fe3940a73c
feat: bump androidx.webkit.webkit 1.5.0 ( #1545 )
2023-03-11 03:07:19 +09:00
エリス and GitHub
81c678c58d
feat: bump com.google.gms.google-services 4.3.15 ( #1547 )
...
* feat: bump com.google.gms.google-services 4.3.14
* feat: bump com.google.gms.google-services 4.3.15
Co-authored-by: jcesarmobile <jcesarmobile@gmail.com >
2023-03-11 03:06:56 +09:00
エリス and GitHub
bfe086a2d7
feat: bump androidx.core.core-splashscreen 1.0.0 ( #1546 )
2023-03-11 02:51:33 +09:00
エリス and GitHub
8fb707567a
feat: bump androidx.appcompat.appcompat 1.5.1 ( #1544 )
2023-03-11 02:45:42 +09:00
エリス and GitHub
992a60a434
feat!: bump target sdk & build tools for SDK 33 support ( #1538 )
...
* feat!: bump target sdk version 33
* feat!: bump minimum build tools version 33.0.1
* feat!: bump minimum build tools version 33.0.2
2023-03-10 12:12:17 +09:00
エリス and GitHub
2318ef58ad
dep(npm)!: bump acceptable modules w/ rebuilt package-lock ( #1541 )
...
* dep(npm)!: bump acceptable modules
* chore: rebuilt package-lock
2023-03-09 18:57:19 +09:00
エリス and GitHub
968bd85cc3
feat!: bump node engine requirement >=16.13.0 ( #1540 )
2023-03-09 18:40:16 +09:00
エリス and GitHub
9ef3ee9539
dep(npm)!: bump cordova-common@5.0.0 ( #1566 )
2023-03-09 18:34:31 +09:00
エリス and GitHub
5347054efb
chore: prepare package version for next major 12.0.0-dev ( #1537 )
2023-03-09 18:33:28 +09:00
エリス and GitHub
3340e98519
ci(workflow): update codecov/codecov-action@v3 ( #1542 )
2023-01-18 23:53:36 +09:00
jcesarmobile and GitHub
ce19a3b445
chore: add lint:fix script for fixing lint errors ( #1493 )
...
* chore: Add fmt command for fixing lint errors
* rename to lint:fix
2023-01-11 10:06:16 +09:00
Jesse MacFadyen and GitHub
d02f8eafe8
Update codecoverage reporting ( #1532 )
2022-12-30 12:18:54 -08:00
jcesarmobile and GitHub
56d4b8312b
fix: only do fadeout animation if FadeSplashScreen is true ( #1506 )
2022-10-27 23:38:30 +02:00
Darryl Pogue and GitHub
80f232aa79
fix: correctly flag API dependency on AppCompat for Maven ( #1505 )
...
* Correctly flag API dependency on AppCompat for Maven
Currently when cordova-android is published to Maven, it lists no
dependencies. However, `CordovaActivity` extends `AppCompatActivity`
which requires that the AndroidX AppCompat library be available.
Marking this as an API dependency (rather than an implementation/compile
dependency) should cause the AndroidX AppCompat library to be installed
when the cordova-android framework is added to the build.gradle of an
existing Android application.
* Publish to Maven with proper metadata
This allows the Maven publish to pick up information from the android
library component and include things like dependencies in the pom.xml
file.
2022-10-15 13:39:47 +09:00
jcesarmobile and GitHub
954d3e0e75
fix: Add android prefix to windowSplashScreenBrandingImage ( #1487 )
2022-09-16 09:34:20 +02:00
jcesarmobile and GitHub
8a1ffeeafd
chore: Use gradle 7.4.2 distribution url ( #1491 )
2022-09-16 09:33:15 +02:00
jcesarmobile and GitHub
7793db97cc
refactor: replace deprecated Handler constructor ( #1492 )
2022-09-16 09:32:38 +02:00
Philip Peitsch and GitHub
248257bd37
fix: import type definitions from obsolete cordova-plugin-splashscreen ( #1489 )
2022-09-13 10:03:53 -03:00
Erisu
60e3803c67
chore: bump version 11.0.1-dev (2)
2022-07-04 23:12:43 +09:00
Erisu
d828785435
release(android-v11.0.0): updated version and RELEASENOTES.md (2)
11.0.0
rel/11.0.0
2022-07-04 22:37:49 +09:00
エリス and GitHub
e5b7e8ab26
fix(prepare): destFile path separator ( #1455 )
2022-07-04 22:27:11 +09:00
Erisu
f38e8eb3d0
chore: bump version 11.0.1-dev
2022-06-30 21:53:33 +09:00
Erisu
98895f7d78
release(android-v11.0.0): updated version and RELEASENOTES.md
2022-06-30 21:43:31 +09:00
エリス and GitHub
e968cac0b9
fix: support installing platfrom from local git checkout ( #1453 )
2022-06-30 21:35:27 +09:00
エリス and GitHub
861fec2cc7
dep: bump jasmine@4.2.1 w/ package-lock rebuild ( #1452 )
2022-06-30 20:25:06 +09:00
エリス and GitHub
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
jcesarmobile and GitHub
2d2ad4cb81
fix: accept file cookies only if AndroidInsecureFileModeEnabled ( #1449 )
2022-06-29 11:36:55 +09:00
jcesarmobile and GitHub
26b21219f7
feat: Update androidx.appcompat version ( #1448 )
2022-06-29 11:34:08 +09:00
jcesarmobile and GitHub
8d6e41fd77
feat: Update gradle plugin version ( #1446 )
2022-06-28 12:23:42 +09:00
jcesarmobile and GitHub
262a314c72
feat: Update google services pluging ( #1447 )
2022-06-28 12:23:10 +09:00
エリス and GitHub
bf9e4d8aab
fix!: set & use ANDROID_HOME as default ( #1444 )
...
* fix: remove ANDROID_HOME's DEPRECATED text
* fix: check_gradle to check ANDROID_HOME first ANDROID_SDK_ROOT last
* fix: set ANDROID_HOME
* chore: deprecate flag on ANDROID_SDK_ROOT
2022-06-27 22:07:32 +09:00
エリス and GitHub
4916e1db51
fix: force hostname to lowercase ( #1443 )
2022-06-20 23:25:57 +09:00