Commit Graph

4192 Commits

Author SHA1 Message Date
Manuel Beck
9064bc0792 fix(android): use AndroidX OnBackPressedCallback instead of OnBackInvokedCallback (#1903)
- `CoreAndroid.java` referenced `OnBackInvokedCallback` directly (including lambda generation), which can trigger class resolution on runtimes older than API 33, where the class is not available. This was introduced in PR https://github.com/apache/cordova-android/pull/1831
- Replaced `OnBackInvokedCallback` with AndroidX `OnBackPressedCallback`
- Fixes error message: `java.lang.Class<org.apache.cordova.CoreAndroid$$ExternalSyntheticLambda0>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/window/OnBackInvokedCallback;` on older Android versions

---------

Generated-By: GPT-5.3-Codex, GitHub Copilot Chat
Co-authored-by: Norman Breau <norman@breautek.com>
2026-03-13 19:43:15 +01:00
エリス
c02d1b0331 chore(post-release): bump v15.0.1-dev.0 (#1899) 2026-03-06 16:55:03 +09:00
dependabot[bot]
31f3d57c8d chore(deps): bump minimatch (#1898)
Bumps  and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together.

Updates `minimatch` from 3.1.3 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5)

Updates `minimatch` from 9.0.6 to 9.0.9
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5)

Updates `minimatch` from 10.2.2 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.3...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 12:16:16 -08:00
エリス
6b17223c0c chore: update RELEASENOTES.md (#1894) rel/15.0.0 2026-02-24 17:27:05 +09:00
エリス
ffa77caded chore: add license header to template gitignore (#1893) 2026-02-24 17:10:32 +09:00
エリス
5003275b79 chore: update RELEASENOTES.md (#1892) 2026-02-24 16:11:36 +09:00
エリス
d426e0ffe1 chore: license, license headers & CI & draft workflow improvements (#1891) 2026-02-24 15:37:57 +09:00
エリス
aaf46bb29b chore: update changelog (#1890) 2026-02-24 13:05:26 +09:00
エリス
7fbdee1e9c chore(ci): get npm package filename from json output (#1889) 2026-02-24 12:46:34 +09:00
エリス
faa00f2a62 release(15.0.0): updated release notes & version (#1885) 2026-02-24 12:09:38 +09:00
エリス
b4eadcce6e chore!: bump dependencies & update node engine requirement (#1887) 2026-02-24 11:34:13 +09:00
エリス
edf344008f chore: minor changes to DEVELOPMENT.md (#1884) 2026-02-21 16:55:21 +09:00
エリス
31364a9774 chore: add DEVELOPMENT.md & cleanup README.md (#1883) 2026-02-21 03:24:25 +09:00
エリス
347e2add4a chore(ci): draft release (#1882) 2026-02-20 11:10:51 +09:00
dependabot[bot]
2ea3a731b1 chore(deps): bump lodash from 4.17.21 to 4.17.23 (#1879)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 15:46:31 -08:00
Manuel Beck
8c8fbc9a50 doc(readme): update github and npm version badges (#1872) 2026-01-14 12:35:10 +09:00
Norman Breau
7a353fe81d fix: Potential NPE when handling generic exceptions (#1878) 2026-01-08 16:14:28 -04:00
João Gonçalves
eaca570cb6 fix: opaque navigation bar in edge to edge (#1867) 2025-12-19 20:58:02 +09:00
Norman Breau
76bac55fba fix: cordova requirements command and SDK lookup based on tools (#1877)
* fix: cordova requirements command and SDK lookup based on tools

* Update spec/unit/AndroidCommandLineTools.spec.js

Co-authored-by: エリス <erisu@users.noreply.github.com>

* Update lib/env/AndroidCommandLineTools.js

Co-authored-by: エリス <erisu@users.noreply.github.com>

* Update lib/env/AndroidCommandLineTools.js

Co-authored-by: エリス <erisu@users.noreply.github.com>

* Update lib/env/AndroidCommandLineTools.js

---------

Co-authored-by: エリス <erisu@users.noreply.github.com>
2025-12-18 09:23:01 -04:00
Manuel Beck
6b76757c80 CallbackContext: Add success method for boolean (#1864)
- Add helper method for success callbacks that returns `Status.OK` with a boolean
2025-12-17 10:31:26 +01:00
Norman Breau
fb562f4ed0 fix(windows): Escape back-slashes for gradle config jdk path (#1876) 2025-12-16 22:31:10 -04:00
Manuel Beck
eaf875b0d6 chore(readme): added nightly build section (#1873)
Added section on installing nightly builds of Cordova Android for testing purposes, with warnings about stability and production use.
2025-12-04 00:52:18 +01:00
エリス
d7afba0ad0 chore: update release audit workflow & license headers (#1870) 2025-11-23 13:04:10 +09:00
dependabot[bot]
ebe6890dee chore(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#1869)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 18:41:35 -08:00
dependabot[bot]
172b8448af chore(deps): bump glob from 10.4.5 to 10.5.0 (#1868)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-18 18:19:35 -08:00
エリス
655aa0a5fb fix: re-expose and support pollOnce (#1854) 2025-10-27 12:40:49 +09:00
エリス
52578ae770 fix(statusbar): inject script block to compute color & replace padStart w/ logic supported on SDK 24 (#1853) 2025-10-27 10:46:24 +09:00
João Gonçalves
360be21ea5 fix: edge to edge/fullscreen margins (#1847)
Ensures that when in edge to edge or fullscreen modes the values for
margin left and right are 0

Co-authored-by: Kepa Totorica <kepa.baum.totorica@outsystems.com>
2025-10-09 11:47:23 +09:00
André Sousa
5bca218e5b feat: Allows additional settings to be included on settings.gradle (#1819) 2025-09-27 02:24:26 +09:00
Manuel Beck
eb5fe4fbda fix: Deprecation warning in PluginManager for using Class.newInstance (#1823)
- Calling Class.newInstance is deprecated. Instead Class.getDeclaredConstructor().newInstance() should be called
2025-09-27 02:23:24 +09:00
Norman Breau
46af3114b8 fix: Back button override on API 36+ (#1831) 2025-09-27 02:22:22 +09:00
エリス
76aa938002 feat!: support previous non-E2E (#1817)
* feat: support previous non-e2e (add FrameLayout wrapper)
* feat: implement internal SystemBar plugin
* feat: implement StatusBar plugin JS API (SystemBarPlugin)
* feat!: force custom statusbarView for all SDKs
* chore: various cleanup, refactors, fixes, and docs from recent changes
* feat: use getComputedStyle for setBackgroundColor
* chore: suppress deprecation warnings for method using setNavigationBarColor
* chore: return null when rootView is null
* fix: setOnApplyWindowInsetsListener to return insets
* fix: setting appearance when e2e is enabled
* fix: set statusBarColor to transparent, use new statusBar UI
2025-09-27 02:21:17 +09:00
エリス
7d7f511023 feat: replace nyc with c8 (#1844) 2025-09-12 00:46:39 +09:00
エリス
488c498733 chore!: update dependencies (#1843)
* chore!: bump rewire@9.0.1
* chore: bump jasmine@5.10.0
* chore: bump dedent@1.7.0
* chore: tmp@0.2.5
* chore: rebuilt package-lock.json
* ci: update workflow dependencies
2025-09-11 17:42:38 +09:00
エリス
e4457f7fdb chore!: update template defaults (#1837)
* chore: update default package id
* chore: sync cordova-app-hello-world defaults & modified for Android differences
2025-08-19 13:55:18 +09:00
エリス
8742cfe4a6 chore(npm)!: bump cordova-common@6.0.0 w/ rebuilt package-lock.json (#1835)
* chore(npm)!: bump cordova-common@6.0.0
* chore(npm): rebuilt package-lock.json
2025-08-09 13:01:06 +09:00
dependabot[bot]
af1ae68a97 chore(deps-dev): bump tmp from 0.2.3 to 0.2.4 (#1834)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-08 12:52:32 +09:00
エリス
56afb70894 dep(npm): bump @cordova/eslint-config@6.0.0 (#1830) 2025-07-25 23:14:25 +09:00
エリス
1204a79378 ci: use macos-15 (#1829) 2025-07-25 01:16:44 +09:00
エリス
bf0ba3dd5e ci(workflow): update release-audit & license config (#1828) 2025-07-20 12:29:07 +09:00
エリス
c2cf589d84 feat: allow disabling splash screen for embedded Cordova (#1824) 2025-07-16 14:34:03 +09:00
Norman Breau
0190d2e33a feat: AndroidShowDeprecations preference flag (#1822) 2025-07-09 12:21:28 +09:00
Manuel Beck
df36c7a2c4 fix: gradle deprecation warnings about property assignment (#1821)
When building a plain Android Cordova app without plugins, there will be Gradle depraction warnings: `Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.`. Compiling it with `--warning-mode all` shows, that some properties are assigned without an `=`, which will not be supported any longer with Gradle 10.0.
2025-07-09 12:18:02 +09:00
stephan-kutzner
b79232612b fix: replace deprecated fs.F_OK with fs.constants.F_OK (#1820)
This addresses the warning DEP0176 introduces in Node.js v20.8.0
2025-07-08 01:41:36 -03:00
エリス
60d2842024 feat!: add partial night & day theme support (#1818)
* feat!: partial night & day theme support
* feat!: prefix core resource values files with cdv_
2025-07-07 22:31:54 +09:00
エリス
cab5c5b7ec fix: apply repositories.gradle for cordova.gradle dependencies (#1816) 2025-07-05 13:41:58 +09:00
エリス
484c60e483 test(plugins): remove old deprecated android_studio option (#1815) 2025-06-24 12:06:00 +09:00
エリス
72e7148884 feat!: bump kotlin@2.1.21 (#1814) 2025-06-24 11:58:49 +09:00
エリス
36bee66493 feat: androidx.appcompat:appcompat@1.7.1 (#1813) 2025-06-24 11:43:45 +09:00
エリス
4dcfc361d2 feat: androidx.webkit:webkit@1.14.0 (#1812) 2025-06-24 11:22:47 +09:00