Commit Graph

4217 Commits

Author SHA1 Message Date
dependabot[bot] 2f901654da chore(deps): bump codecov/codecov-action from 4.6.0 to 6.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.6.0 to 6.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238...e79a6962e0d4c0c17b229090214935d2e33f8354)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 02:36:40 +00:00
dependabot[bot] a1f75a3e95 chore(deps): bump github/codeql-action from 4.35.5 to 4.36.0 (#1944)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9e0d7b8d25671d64c341c19c0152d693099fb5ba...7211b7c8077ea37d8641b6271f6a365a22a5fbfa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-27 11:34:38 +09:00
Manuel Beck 56e263fece chore: remove redundant Hello World template files (#1926)
* chore: remove redundant Hello World template files

- These files will be copied from the Cordova project to the platform folder already. Also this makes maintaining the hello world template more difficult.
- Added a README file as placeholder to keep the now empty templates/project/assets/www folder, so it breaks nothing, when the folder is not present.

* Update templates/project/assets/www/README

Co-authored-by: エリス <erisu@users.noreply.github.com>
2026-05-26 14:23:34 +09:00
dependabot[bot] 4ce731dac2 chore(deps): bump erisu/apache-rat-action from 2.0.0 to 3.0.0 (#1937)
* chore(deps): bump erisu/apache-rat-action from 2.0.0 to 3.0.0

Bumps [erisu/apache-rat-action](https://github.com/erisu/apache-rat-action) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/erisu/apache-rat-action/releases)
- [Commits](https://github.com/erisu/apache-rat-action/compare/46fb01ce7d8f76bdcd7ab10e7af46e1ea95ca01c...30c94d10ed21e6f6fd5590dc5c158f58cae7a0dd)

---
updated-dependencies:
- dependency-name: erisu/apache-rat-action
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(workflow): update version info in comment

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: エリス <erisu@users.noreply.github.com>
2026-05-20 01:36:34 +09:00
Gabriel Moré Maia b91144c0d4 fix: webview loses scrollability and creates empty bottom space (#1924)
Co-authored-by: Gabriel Moré Maia <gabriel.maia@cresol.com.br>
Co-authored-by: Manuel Beck <manuelbeck87@outlook.de>
2026-05-19 16:20:41 +02:00
dependabot[bot] c636f8bbe4 chore(deps): bump semver from 7.7.4 to 7.8.0 (#1934)
Bumps [semver](https://github.com/npm/node-semver) from 7.7.4 to 7.8.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.4...v7.8.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 23:12:59 +09:00
dependabot[bot] 90b4b057a4 chore(deps-dev): bump jasmine from 6.1.0 to 6.2.0 (#1932)
Bumps [jasmine](https://github.com/jasmine/jasmine-npm) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/jasmine/jasmine-npm/releases)
- [Changelog](https://github.com/jasmine/jasmine-npm/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine-npm/compare/v6.1.0...v6.2.0)

---
updated-dependencies:
- dependency-name: jasmine
  dependency-version: 6.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 23:12:39 +09:00
dependabot[bot] 0baa901d6a chore(deps): bump erisu/license-checker-action from 2.0.1 to 2.1.0 (#1930)
* chore(deps): bump erisu/license-checker-action from 2.0.1 to 2.1.0

Bumps [erisu/license-checker-action](https://github.com/erisu/license-checker-action) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/erisu/license-checker-action/releases)
- [Commits](https://github.com/erisu/license-checker-action/compare/99cffa11264fe545fd0baa6c13bca5a00ae608f2...04511f4c052b5773f11e1c65b42cda88235c62ae)

---
updated-dependencies:
- dependency-name: erisu/license-checker-action
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(workflow): update version info in comment

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: エリス <erisu@users.noreply.github.com>
2026-05-19 23:10:32 +09:00
エリス 08c4fd1ebf chore(ci): improve workflows & dependabot (#1928)
* chore(workflow): draft-release - sync recent changes
* chore(workflow): draft-release - pin actions
* chore(workflow): draft-release - use 'npm ci'
* chore(workflow): draft-release - disable package-manager-cache
* chore(workflow): draft-release - ensure cache is '' for clarity
* chore(workflow): draft-release - update actions/checkout configs
* chore(workflow): pin actions in all workflows
* chore(workflow): update actions/checkout configs
* chore(dependabot): added configs
* chore(workflow): use npm cit
2026-05-19 19:18:26 +09:00
The Apache Software Foundation f490531d5a chore(INFRA): Set up default protection ruleset for default and release branches (#1927) 2026-05-19 12:43:08 +09:00
jcesarmobile 245021782b fix: handle permissions for getUserMedia (#1895)
* fix: handle permissions for getUserMedia

* remove unused variable

* address comments
2026-04-24 18:53:30 +02:00
dependabot[bot] 0d6fdd178c chore(deps): bump @xmldom/xmldom from 0.8.12 to 0.8.13 (#1918)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.12 to 0.8.13.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.12...0.8.13)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.8.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-23 07:06:44 +02:00
Manuel Beck b66f0f33b8 Call new method CordovaPlugin.onRequestPermissionsResult (#1855)
- Fixes https://github.com/apache/cordova-android/issues/1388
- `CordovaInterfaceImpl` called the deprecated method `CordovaPlugin.onRequestPermissionResult` but not the new one. Now the one will also be called.
- Renamed `CordovaInterfaceImpl.onRequestPermissionResult` to `CordovaInterfaceImpl.onRequestPermissionsResult` to reflect the new method name
2026-04-20 18:06:08 +02:00
Manuel Beck 8c83976486 Deprecate PermissionHelper (#1857)
- The `PermissionHelper` was for cordova-android versions pre 5.0.0. Since cordova-anroid 5.0.0 the relevant permission methods can be called directly on `CordovaInterface`.
2026-04-20 18:04:26 +02:00
Manuel Beck 9c3d82680e Remove unused private Method PermissionHelper.deliverPermissionResult (#1858)
- The method deliverPermissionResult is private and nowhere used. Because it's private, it cannot be called from outside and cannot be overwritten and is safe to remove.
2026-04-20 18:03:30 +02:00
seamlink-aalves 190076ba18 chore: simplify edge-to-edge preference logic in CordovaActivity and SystemBarPlugin (#1902)
- Remove the limitation for Android version <15 when preference AndroidEdgeToEdge is true.
- The motivation and context was described here: apache/cordova-discuss#114
- When having cordova android in Edge To Edge the app does not extend to the full height of the device in version bellow Android 15. This change allows the app to behave the same way it was possible to do with the statusbar plugin preference StatusBarOverlaysWebView given that this stopped having any effect in cordova-android 15.
2026-04-20 18:00:47 +02:00
dependabot[bot] 7b33c5dd64 chore(deps): bump lodash from 4.17.23 to 4.18.1 (#1914)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 17:49:40 +02:00
Manuel Beck 0bfbc20b84 fix: overwritten backbutton not firing on first time by hardware button and never on back gesture (#1910)
- When pressing the back button after the app starts nothing happens. When navigating to another page, the back button js event starts to fire.
- On Android versions, which support the back gesture, nothing happens
- This was due to the empty `OnBackPressedCallback.handleOnBackPressed` method, which has to forward its call to `cordova.getActivity().getOnBackPressedDispatcher().onBackPressed()`, but has to disable during this call the `backCallback`.
- Generated-By: GPT-5.4, GitHub Copilot Chat

- warning about back button override on the right 

* chore: resolve methods `registerBackPressedCallback` and `unregisterBackPressedCallback``

- The code moved to inline code
2026-04-20 17:48:48 +02:00
Manuel Beck b1705d83c5 chore: ignore gradle build artificat problems-report.html (#1912)
- Ignore globally
2026-04-02 18:51:24 +02:00
dependabot[bot] c44a4627e3 chore(deps): bump @xmldom/xmldom from 0.8.11 to 0.8.12 (#1911)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.11 to 0.8.12.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.11...0.8.12)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-version: 0.8.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 01:04:32 -07:00
エリス 1f70d396da chore: more license header updates (#1909)
* chore: update license headers again

- CSS, Gradle, Java, JS, TS: Formatted doc block style to use "/*" instead of "/**"
- HTML: Move license header below DOCTYPE
- Add missing license header
- Cleanup rat ignore

* chore: format cordova-js-src license headers
2026-03-28 12:42:26 +09:00
dependabot[bot] 2868f93aae chore(deps): bump picomatch (#1908)
Bumps  and [picomatch](https://github.com/micromatch/picomatch). These dependencies needed to be updated together.

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
- dependency-name: picomatch
  dependency-version: 4.0.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-03-25 14:56:16 -07:00
エリス 340eade2de chore(gh-action): improve draft-release workflow (#1906) 2026-03-24 01:51:14 +09:00
エリス 9ae489bd37 fix(gradle-9): unable to resolve class XmlParser for Groovy 4.x (#1896) 2026-03-19 09:58:16 +09:00
エリス af56a00324 chore: update package-lock (#1905) 2026-03-19 00:54:46 +09:00
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