cordova-android.git
15 months agofeat: add backwards compatibility mode for WebViewAssetLoader (#1222)
Niklas Merz [Thu, 6 May 2021 06:17:58 +0000 (08:17 +0200)] 
feat: add backwards compatibility mode for WebViewAssetLoader (#1222)

15 months agoci: Add Node16 to CI matrix (#1218)
Norman Breau [Mon, 26 Apr 2021 15:47:22 +0000 (12:47 -0300)] 
ci: Add Node16 to CI matrix (#1218)

15 months agobreaking: implement WebViewAssetLoader (#1137)
Niklas Merz [Thu, 22 Apr 2021 12:32:14 +0000 (14:32 +0200)] 
breaking: implement WebViewAssetLoader (#1137)

Implement AndroidX WebViewAssetLoader with hook for plugins

Co-authored-by: エリス <erisu@users.noreply.github.com>
15 months agofeat: overload PluginEntry constructor to set onload property (#1166)
Jakub Blejder [Sun, 18 Apr 2021 22:51:18 +0000 (08:51 +1000)] 
feat: overload PluginEntry constructor to set onload property (#1166)

Co-authored-by: Erisu <ellis.bryan@gmail.com>
15 months agofeat: allow appcompat version to be configurable (#1208)
エリス [Sun, 18 Apr 2021 22:30:06 +0000 (07:30 +0900)] 
feat: allow appcompat version to be configurable (#1208)

15 months agotest(AndroidManifest): update theme to Theme.AppCompat.NoActionBar (#1207)
エリス [Fri, 16 Apr 2021 09:32:46 +0000 (18:32 +0900)] 
test(AndroidManifest): update theme to Theme.AppCompat.NoActionBar (#1207)

15 months agobreaking: only support androidx (#1052)
Hans Krywalsky [Thu, 15 Apr 2021 21:52:14 +0000 (23:52 +0200)] 
breaking: only support androidx (#1052)

* GH-841 only support androix

16 months agochore! (npm): update all dependencies (#1205)
エリス [Wed, 14 Apr 2021 23:23:41 +0000 (08:23 +0900)] 
chore! (npm): update all dependencies (#1205)

16 months agofeat!: upgrade kotlin@1.4.32 (#1204)
Mosab A [Wed, 14 Apr 2021 02:29:09 +0000 (05:29 +0300)] 
feat!: upgrade kotlin@1.4.32 (#1204)

16 months agorefactor!: drop support for `android` SDK tool (#1083)
Raphael von der Grün [Tue, 13 Apr 2021 10:16:43 +0000 (12:16 +0200)] 
refactor!: drop support for `android` SDK tool (#1083)

* refactor(emulator)!: remove support for legacy `android` binary
`emulator.list_images` now always uses the `avdmanager` binary.
* refactor(android_sdk)!: remove support for legacy `android` binary
`android_sdk.list_targets` now always uses the `avdmanager` binary.
* refactor(check_reqs)!: do not look for legacy `android` binary
* refactor: replace installation instructions involving `android` binary

16 months agoremove app cache settings (#1141)
Niklas Merz [Tue, 13 Apr 2021 10:14:37 +0000 (12:14 +0200)] 
remove app cache settings (#1141)

16 months agobreaking: remove keystore password prompt (#1048)
Norman Breau [Tue, 13 Apr 2021 10:13:01 +0000 (07:13 -0300)] 
breaking: remove keystore password prompt (#1048)

16 months agofeat: Deprecated onRequestPermissionResult in favour for onRequestPermissionsResult...
Norman Breau [Tue, 13 Apr 2021 09:56:04 +0000 (06:56 -0300)] 
feat: Deprecated onRequestPermissionResult in favour for onRequestPermissionsResult for consistency (#1047)

16 months agofeat!: upgrade jfrog gradle-bintray-plugin@1.8.5 (#1201)
エリス [Tue, 13 Apr 2021 09:10:07 +0000 (18:10 +0900)] 
feat!: upgrade jfrog gradle-bintray-plugin@1.8.5 (#1201)

* breaking: upgrade jfrog gradle-bintray-plugin@1.8.5
* original contribution PR: #1079

Co-authored-by: Mosab A <47486787+mosabab@users.noreply.github.com>
16 months agofeat!: upgrade kotlin@1.4.31 (#1200)
エリス [Tue, 13 Apr 2021 08:50:05 +0000 (17:50 +0900)] 
feat!: upgrade kotlin@1.4.31 (#1200)

* feat: upgrade kotlin@1.4.31 (#1176)

Co-authored-by: Mosab A <47486787+mosabab@users.noreply.github.com>
16 months agofeat!: upgrade Google Services Gradle Plugin@4.3.5 (#1199)
エリス [Tue, 13 Apr 2021 08:20:54 +0000 (17:20 +0900)] 
feat!: upgrade Google Services Gradle Plugin@4.3.5 (#1199)

* feat: upgrade Google Services Gradle Plugin google-services@4.3.5 (#1177)

Co-authored-by: Mosab A <47486787+mosabab@users.noreply.github.com>
16 months agofeat!: upgrade android gradle plugin@4.1.3 (#1198)
エリス [Tue, 13 Apr 2021 07:43:30 +0000 (16:43 +0900)] 
feat!: upgrade android gradle plugin@4.1.3 (#1198)

* feat: upgrade gradle-plugin@4.1.3 (#1175)

Co-authored-by: Mosab A <47486787+mosabab@users.noreply.github.com>
16 months agofeat!: upgrade gradle@6.8.3 (#1197)
エリス [Tue, 13 Apr 2021 06:35:34 +0000 (15:35 +0900)] 
feat!: upgrade gradle@6.8.3 (#1197)

* [Frequent Updates] Gradle 6.6.1 & Android Gradle Plugin 4.0.1 & com.jfrog.bintray.gradle 1.8.5 (#1079)
* Update ProjectBuilder.js
* Update build.gradle
* Update wrapper.gradle
* chore: remove non-gradle wrapper changes
* feat: upgrade gradle@6.8.3 (#1174)

Co-authored-by: Mosab A <47486787+mosabab@users.noreply.github.com>
16 months agofeat: target sdk 30 w/ build-tool 30.0.3 (#1182)
エリス [Tue, 13 Apr 2021 06:34:21 +0000 (15:34 +0900)] 
feat: target sdk 30 w/ build-tool 30.0.3 (#1182)

16 months agofeat: bump version to 10.0.0-dev (#1181)
エリス [Tue, 13 Apr 2021 06:34:00 +0000 (15:34 +0900)] 
feat: bump version to 10.0.0-dev (#1181)

16 months agochore: set package-lock.json to 9.2.0-dev
Erisu [Fri, 9 Apr 2021 16:55:13 +0000 (01:55 +0900)] 
chore: set package-lock.json to 9.2.0-dev

16 months agoUpdate JS snapshot to version 9.2.0-dev (via coho)
Erisu [Fri, 9 Apr 2021 15:26:30 +0000 (00:26 +0900)] 
Update JS snapshot to version 9.2.0-dev (via coho)

16 months agoSet VERSION to 9.2.0-dev (via coho)
Erisu [Fri, 9 Apr 2021 15:26:26 +0000 (00:26 +0900)] 
Set VERSION to 9.2.0-dev (via coho)

16 months agoandroid-v9.1.0 Updated version and RELEASENOTES.md for release 9.1.0
Erisu [Fri, 9 Apr 2021 15:25:19 +0000 (00:25 +0900)] 
android-v9.1.0 Updated version and RELEASENOTES.md for release 9.1.0

16 months agochore: add missing header license (#1196)
エリス [Fri, 9 Apr 2021 14:44:50 +0000 (23:44 +0900)] 
chore: add missing header license (#1196)

16 months agorefactor: unify target resolution for devices & emulators (#1101)
Raphael von der Grün [Fri, 9 Apr 2021 06:37:56 +0000 (08:37 +0200)] 
refactor: unify target resolution for devices & emulators (#1101)

* refactor: unify target resolution for devices & emulators
* fix: use unified target methods in platform-centric bins

16 months agofeat: support gzip encoding requests & use GZIPInputStream (#1104)
anasofiagribeiro [Fri, 9 Apr 2021 02:26:23 +0000 (03:26 +0100)] 
feat: support gzip encoding requests & use GZIPInputStream (#1104)

16 months agoRevert "[Frequent Updates] Gradle 6.6.1 & Android Gradle Plugin 4.0.1 & com.jfrog...
エリス [Fri, 9 Apr 2021 02:23:23 +0000 (11:23 +0900)] 
Revert "[Frequent Updates] Gradle 6.6.1 & Android Gradle Plugin 4.0.1 & com.jfrog.bintray.gradle 1.8.5 (#1079)" (#1193)

This reverts commit 33476b4754c079e243760b6164725b26271e9b00.

16 months agorevert: feat: upgrade kotlin@1.4.31 #1176 (#1194)
エリス [Fri, 9 Apr 2021 02:23:09 +0000 (11:23 +0900)] 
revert: feat: upgrade kotlin@1.4.31 #1176 (#1194)

16 months agoRevert "feat: upgrade Google Services Gradle Plugin google-services@4.3.5 (#1177...
エリス [Thu, 8 Apr 2021 05:04:52 +0000 (14:04 +0900)] 
Revert "feat: upgrade Google Services Gradle Plugin google-services@4.3.5 (#1177)" (#1191)

This reverts commit e8ec3b1e37651e36277d516b90f10f94da21bb33.

16 months agoRevert "feat: upgrade gradle-plugin@4.1.3 (#1175)" (#1189)
エリス [Thu, 8 Apr 2021 05:04:26 +0000 (14:04 +0900)] 
Revert "feat: upgrade gradle-plugin@4.1.3 (#1175)" (#1189)

This reverts commit 1430304d367e7c4a4250d9351726023e87b0088a.

16 months agoRevert "feat: upgrade gradle@6.8.3 (#1174)" (#1190)
エリス [Thu, 8 Apr 2021 05:03:34 +0000 (14:03 +0900)] 
Revert "feat: upgrade gradle@6.8.3 (#1174)" (#1190)

This reverts commit fe4d4aeff05e02fb4b36bdd631b27a0a838fe978.

16 months agofix: copy repositories.gradle to project on create (#1186)
エリス [Tue, 30 Mar 2021 13:57:14 +0000 (22:57 +0900)] 
fix: copy repositories.gradle to project on create (#1186)

16 months agofix(regression): Cannot read version of undefined caused by Java refactor (https...
Norman Breau [Tue, 30 Mar 2021 13:40:34 +0000 (10:40 -0300)] 
fix(regression): Cannot read version of undefined caused by Java refactor (https://github.com/apache/cordova-android/pull/1130#discussion_r563597125) (#1185)

16 months agofeat: handle intent:// scheme links with browser_fallback_url param (#1167)
Alexander [Tue, 30 Mar 2021 12:43:27 +0000 (15:43 +0300)] 
feat: handle intent:// scheme links with browser_fallback_url param (#1167)

* fix showWebPage url intent:// now works
* android handle external url `intent://` scheme
* code refactoring

Co-authored-by: Андреянов Александр Николаевич <a.andreyanov@sevstar.net>
Co-authored-by: Tim Brust <github@timbrust.de>
16 months agochore: rebuilt package-lock (#1183)
エリス [Tue, 30 Mar 2021 10:41:21 +0000 (19:41 +0900)] 
chore: rebuilt package-lock (#1183)

16 months agofix: unit-test failure (#1184)
エリス [Tue, 30 Mar 2021 09:46:43 +0000 (18:46 +0900)] 
fix: unit-test failure (#1184)

16 months agofix(splashscreen): nav & title bar showing in fullscreen mode (#733)
Daniel Stone [Tue, 30 Mar 2021 05:55:16 +0000 (01:55 -0400)] 
fix(splashscreen): nav & title bar showing in fullscreen mode (#733)

Co-authored-by: Daniel Stone <daniel.stone@powerdms.com>
Co-authored-by: distinctdan <distinctdan@users.noreply.github.com>
16 months agofix: restore key event handlers when DOM element is fullscreen (#1157)
goffioul [Tue, 30 Mar 2021 05:54:43 +0000 (01:54 -0400)] 
fix: restore key event handlers when DOM element is fullscreen (#1157)

* GH-1156: Restore key event handlers when a DOM element is fullscreen

Make sure to call dispatchKeyEvent from base class in WrapperView, if
the event hasn't been handled by the engine.

* Remove unwanted whitespace in condition

Co-authored-by: エリス <erisu@users.noreply.github.com>
Co-authored-by: Michael Goffioul <michael.goffioul@lincor.com>
16 months agofeat: upgrade Google Services Gradle Plugin google-services@4.3.5 (#1177)
Mosab A [Tue, 30 Mar 2021 05:44:08 +0000 (08:44 +0300)] 
feat: upgrade Google Services Gradle Plugin google-services@4.3.5 (#1177)

16 months agofix(android): Avoid Crash Report: ConcurrentModificationException (#1073)
Guillem Perez [Sun, 28 Mar 2021 12:49:39 +0000 (14:49 +0200)] 
fix(android): Avoid Crash Report: ConcurrentModificationException (#1073)

Authored-by: lempere <lempere@lempere.com>
16 months agofix: add not null checks to prevent running on destroyed activity (#1148)
Rick Habets [Sat, 27 Mar 2021 15:19:46 +0000 (16:19 +0100)] 
fix: add not null checks to prevent running on destroyed activity (#1148)

* (android) #1002: Add Null Pointer Checks to prevent Cordova from running on a destroyed activity

* (android) Add logging statements if Cordova Activity does not exist anymore (i.e. is destroyed)

Co-authored-by: Habets Rick <rick.habets@kbc.be>
16 months agoFix for #924 - Concurrent Modification Exception (#1091)
ebhsgit [Sat, 27 Mar 2021 15:17:39 +0000 (02:17 +1100)] 
Fix for #924 - Concurrent Modification Exception (#1091)

Co-authored-by: 8bhsolutions <48874658+8bhsolutions@users.noreply.github.com>
16 months agoadd repositories support (#1179)
Norman Breau [Sat, 27 Mar 2021 15:11:56 +0000 (12:11 -0300)] 
add repositories support (#1179)

Authored-by: Engin Diri <engin.diri@lidl.com>
16 months agofeat: upgrade gradle-plugin@4.1.3 (#1175) 867/head
Mosab A [Sat, 27 Mar 2021 13:36:39 +0000 (16:36 +0300)] 
feat: upgrade gradle-plugin@4.1.3 (#1175)

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

16 months agofeat: upgrade kotlin@1.4.31 (#1176)
Mosab A [Sat, 27 Mar 2021 13:36:09 +0000 (16:36 +0300)] 
feat: upgrade kotlin@1.4.31 (#1176)

* Update build.gradle

* Update build.gradle

16 months agofeat: upgrade gradle@6.8.3 (#1174)
Mosab A [Sat, 27 Mar 2021 13:35:27 +0000 (16:35 +0300)] 
feat: upgrade gradle@6.8.3 (#1174)

* Gradle Update to 6.8.3

* Update build.gradle

* Update wrapper.gradle

* Update wrapper.gradle

16 months agofeat(android-studio): display app name as project name (#1173)
Shashank Agrawal [Sat, 27 Mar 2021 13:06:26 +0000 (18:36 +0530)] 
feat(android-studio): display app name as project name (#1173)

* (android) Feature: Write name of the Android app to .idea/.name for Android Studio #1172

* Missing space before function parentheses.

* Add test for writeNameForAndroidStudio #1172

* Use ES6 for new code. Code DRYness in test spec. #1172

16 months agorefactor: java checks (#1130)
Norman Breau [Sat, 27 Mar 2021 13:05:50 +0000 (10:05 -0300)] 
refactor: java checks (#1130)

Co-authored-by: エリス <erisu@users.noreply.github.com>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update spec/unit/java.spec.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update spec/unit/java.spec.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update bin/templates/cordova/lib/utils.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update bin/templates/cordova/lib/check_reqs.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update spec/unit/check_reqs.spec.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Update spec/unit/check_reqs.spec.js

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
18 months agofix: optional arch parameter (#1153)
Norman Breau [Wed, 20 Jan 2021 01:33:06 +0000 (21:33 -0400)] 
fix: optional arch parameter (#1153)

19 months agoFeatures/webp support for splashscreen (#1113)
Pieter Van Poyer [Wed, 16 Dec 2020 21:21:35 +0000 (22:21 +0100)] 
Features/webp support for splashscreen (#1113)

* - linting
- platform independent paths in testing
- addes some unittest
- remove duplication + add comments
- delete webp's if png's added, delete png's if webp' added.
- Update bin/templates/cordova/lib/prepare.js Co-authored-by: エリス <erisu@users.noreply.github.com>
- fix https://github.com/apache/cordova-plugin-splashscreen/issues/257 webp support for android

* revert changes

* refactor: use source extension for target in getImageResourcePath

* fix(prepare): include more extensions in initial splash-screen resource map

* tests(prepare): quick-fix for tests

* backward slashes must be changed to forward slashes for fast-glob package.

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
20 months agofix(prepare): mapImageResources always returning [] (#1136)
Raphael von der Grün [Fri, 4 Dec 2020 08:14:19 +0000 (09:14 +0100)] 
fix(prepare): mapImageResources always returning [] (#1136)

20 months agotest(java): remove duplicate code in BackButtonMultipageTest (#1129)
Norman Breau [Sat, 21 Nov 2020 13:10:07 +0000 (09:10 -0400)] 
test(java): remove duplicate code in BackButtonMultipageTest (#1129)

* Removed duplicate code in test

* test: Remove duplicate code in BackButtonMultipageTest

Authored-by: leofernandesmo <leonardo.fernandes@ifal.edu.br>
Co-authored-by: breautek <norman@nbsolutions.ca>
20 months agorefactor(ProjectBuilder): clean up output file collection code (#1099)
Raphael von der Grün [Sat, 21 Nov 2020 09:44:56 +0000 (10:44 +0100)] 
refactor(ProjectBuilder): clean up output file collection code (#1099)

* refactor(ProjectBuilder): less repetitive fileSorter

This reverts the fileSorter to the state from before #937, but using our
own simple re-implementation of `compare-func`.

* fix(ProjectBuilder): apply sort RegExp to basename only

* refactor(ProjectBuilder): use fast-glob instead of hand-rolled equivalent

* refactor(ProjectBuilder): factor out common isPathArchSpecific

* refactor(ProjectBuilder): use includes instead of indexOf

* refactor(ProjectBuilder): move sorting into findOutputFilesHelper

* refactor(ProjectBuilder): simplify findOutputFiles signature

20 months agorefactor: unify installation on devices & emulators (#1123) 1038/head
Raphael von der Grün [Fri, 20 Nov 2020 21:12:18 +0000 (22:12 +0100)] 
refactor: unify installation on devices & emulators (#1123)

* refactor: unify installation on devices & emulators

This change replaces the almost identical methods `device.install` and
`emulator.install` with the generic `target.install`.

* fix: use unified installation in platform-centric bins

20 months agofeat(Adb): list devices _and_ emulators in one go (#1125)
Raphael von der Grün [Thu, 19 Nov 2020 20:30:56 +0000 (21:30 +0100)] 
feat(Adb): list devices _and_ emulators in one go (#1125)

20 months agorefactor(check_reqs): cleanup default Java location detection on Windows (#1102)
Raphael von der Grün [Thu, 19 Nov 2020 20:08:43 +0000 (21:08 +0100)] 
refactor(check_reqs): cleanup default Java location detection on Windows (#1102)

* test(check_reqs): test default Java location detection on Windows

* refactor(check_reqs): use glob for default Java location detection on Windows

This changes the implementation to be closer to what it was before #842
with everything being in one place.

* fix: remove always-taken if statement

* feat: take both Program Files variants from env

* refactor(check_reqs): cosmetic changes

20 months agoAndroid - allow changing min sdk version (#1117)
Pieter Van Poyer [Wed, 18 Nov 2020 17:48:46 +0000 (18:48 +0100)] 
Android - allow changing min sdk version (#1117)

* try to allow changing min sdk version

* undo testing with cdvMinSdkVersion=21

* Update framework/build.gradle

No printing of default behaviour

Co-authored-by: Norman Breau <norman@nbsolutions.ca>
* Update framework/build.gradle

typo + match case of cdvMinSdkVersion

Co-authored-by: Norman Breau <norman@nbsolutions.ca>
* resolve PR feedback timbru

Co-authored-by: Norman Breau <norman@nbsolutions.ca>
20 months agorefactor: remove copied Adb.install from emulator.install (#1108)
Raphael von der Grün [Tue, 17 Nov 2020 08:06:44 +0000 (09:06 +0100)] 
refactor: remove copied Adb.install from emulator.install (#1108)

`emulator.install` contains a copy of the code of `Adb.install` just to
be able to pass custom options to `execa`.

This change removes that duplicated code in favor of a new option in
`Adb.install` that allows to pass options through to `execa`.

21 months agofix(android): allow file access for existing behavior (#1111)
エリス [Wed, 4 Nov 2020 05:15:26 +0000 (14:15 +0900)] 
fix(android): allow file access for existing behavior (#1111)

21 months agorefactor: do not kill adb on UNIX-like systems (#1103)
Raphael von der Grün [Thu, 22 Oct 2020 16:03:28 +0000 (18:03 +0200)] 
refactor: do not kill adb on UNIX-like systems (#1103)

21 months agotest: fix unit test failures for certain random orders (#1094)
Raphael von der Grün [Mon, 19 Oct 2020 08:38:37 +0000 (10:38 +0200)] 
test: fix unit test failures for certain random orders (#1094)

* test(Api): do not clobber global events.emit w/ spy

* test(Api): remove unnecessary rewiring

* test(check_reqs): add missing spyOn call

* test(check_reqs): fix process.env restoration

* test(check_reqs): restore module under test before each test

21 months agotest: ensure single top-level describe block in test file (#1094)
Raphael von der Grün [Sat, 17 Oct 2020 21:20:37 +0000 (23:20 +0200)] 
test: ensure single top-level describe block in test file (#1094)

This makes it easier to map test output to files and allows for common
setup & teardown of all tests in a file.

* test(prepare): wrap in top-level describe block
* test(Api): wrap in top-level describe block

22 months agochore(asf): Update GitHub repo metadata
Darryl Pogue [Wed, 7 Oct 2020 03:24:23 +0000 (20:24 -0700)] 
chore(asf): Update GitHub repo metadata

22 months agofix: Reflect minimum required NodeJS (#1045)
Norman Breau [Tue, 6 Oct 2020 13:12:04 +0000 (10:12 -0300)] 
fix: Reflect minimum required NodeJS (#1045)

Project uses APIs only added in 10.10, namely ProjectBuilder.js readdirSync(), with `withFileTypes` option.
https://nodejs.org/api/fs.html#fs_fs_readdirsync_path_options

22 months agorefactor(retry): simplify retryPromise using modern JS (#1086)
Raphael von der Grün [Tue, 6 Oct 2020 08:56:21 +0000 (10:56 +0200)] 
refactor(retry): simplify retryPromise using modern JS (#1086)

22 months agorefactor(utils): reduce number of utils (#1085)
Raphael von der Grün [Tue, 6 Oct 2020 07:04:48 +0000 (09:04 +0200)] 
refactor(utils): reduce number of utils (#1085)

* refactor(utils): remove utils.grep

* refactor(utils): replace utils.scanDirectory w/ fast-glob

Note that fast-glob is already in our dependency graph anyway.

22 months agofix(prepare): fix pattern used to collect image resources (#1084)
Raphael von der Grün [Tue, 6 Oct 2020 06:38:09 +0000 (08:38 +0200)] 
fix(prepare): fix pattern used to collect image resources (#1084)

The pattern contained an additional plus that slipped in during the
refactoring done in #842. See [the diff][1] for details.

[1]: https://github.com/apache/cordova-android/pull/842/commits/09e8248d1f0bbf5c833765e71dbf2343c38cc6bf#diff-26c51bfaa44eff1e46fd61ec3225ec13L640-R650

22 months ago[Frequent Updates] Gradle 6.6.1 & Android Gradle Plugin 4.0.1 & com.jfrog.bintray...
Mosab A [Tue, 6 Oct 2020 00:26:59 +0000 (03:26 +0300)] 
[Frequent Updates] Gradle 6.6.1 & Android Gradle Plugin 4.0.1 & com.jfrog.bintray.gradle 1.8.5 (#1079)

* Update ProjectBuilder.js

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update build.gradle

* Update wrapper.gradle

* Update build.gradle

* Update wrapper.gradle

* Update wrapper.gradle

* Update wrapper.gradle

* Update build.gradle

* Update build.gradle

* Update ProjectBuilder.js

* Update ProjectBuilder.js

22 months agochore(pkg): remove deprecated no-op field "engineStrict" (#1081)
Raphael von der Grün [Sun, 4 Oct 2020 11:32:28 +0000 (13:32 +0200)] 
chore(pkg): remove deprecated no-op field "engineStrict" (#1081)

See https://docs.npmjs.com/files/package.json#enginestrict

Related to https://github.com/apache/cordova/issues/55

2 years agorefactor: Stop suppressing un-needed TruelyRandom lints (#1046)
Norman Breau [Tue, 11 Aug 2020 13:13:33 +0000 (10:13 -0300)] 
refactor: Stop suppressing un-needed TruelyRandom lints (#1046)

2 years agoci: Added Node 14.x (#975)
Norman Breau [Fri, 24 Jul 2020 17:02:13 +0000 (14:02 -0300)] 
ci: Added Node 14.x (#975)

2 years agochore: remove unused emulator.create_image and its dependencies (#1019)
Raphael von der Grün [Wed, 8 Jul 2020 22:07:33 +0000 (00:07 +0200)] 
chore: remove unused emulator.create_image and its dependencies (#1019)

2 years agofix(pluginHandlers): properly check if path is inside another (#1014)
Raphael von der Grün [Wed, 8 Jul 2020 21:31:16 +0000 (23:31 +0200)] 
fix(pluginHandlers): properly check if path is inside another (#1014)

2 years agotest(pluginHandlers/common): better setup & teardown (#1013)
Raphael von der Grün [Wed, 8 Jul 2020 13:15:53 +0000 (15:15 +0200)] 
test(pluginHandlers/common): better setup & teardown (#1013)

2 years agofix: gradle ignore properties (#1018)
Norman Breau [Sun, 5 Jul 2020 14:19:56 +0000 (11:19 -0300)] 
fix: gradle ignore properties (#1018)

2 years agorefactor: save ProjectBuilder instance in Api instance (#1016)
Raphael von der Grün [Fri, 3 Jul 2020 16:54:24 +0000 (18:54 +0200)] 
refactor: save ProjectBuilder instance in Api instance (#1016)

This reduces dependence on the `builders` module and reduces repitition.

This also facilitates another WIP refactoring I am working on.

2 years agoRemove unnecessary stuff (#1015)
Raphael von der Grün [Fri, 3 Jul 2020 16:53:10 +0000 (18:53 +0200)] 
Remove unnecessary stuff (#1015)

* Remove licenses for previously bundled packages

* Remove utils module with duplicate function

* Remove unused function check_reqs.check_ant

* Remove unused test helper

2 years agotest(java): fix, improve and move clean script (#1017)
Raphael von der Grün [Fri, 3 Jul 2020 16:50:53 +0000 (18:50 +0200)] 
test(java): fix, improve and move clean script (#1017)

This includes the following changes:

- move this developer-only script to test/ where it conceptually belongs
  - this also prevents it from being distributed with this package
- fix paths for `android` and `androidx` variants
- make paths relative to the script, not to CWD
- use `removeSync` instead of `existsSync` and `existsSync`
- rename npm script to `clean:java-unit-tests` to clarify scope

2 years agotest: fix missing stack traces in jasmine output (#1012)
Raphael von der Grün [Thu, 2 Jul 2020 20:39:03 +0000 (22:39 +0200)] 
test: fix missing stack traces in jasmine output (#1012)

`true` is not a valid value for the `displayStacktrace` option of
jasmine-spec-reporter.

2 years agoSet package-lock.json to 9.1.0-dev
Erisu [Wed, 24 Jun 2020 03:28:24 +0000 (12:28 +0900)] 
Set package-lock.json to 9.1.0-dev

2 years agoUpdate JS snapshot to version 9.1.0-dev (via coho)
Erisu [Tue, 23 Jun 2020 09:33:24 +0000 (18:33 +0900)] 
Update JS snapshot to version 9.1.0-dev (via coho)

2 years agoSet VERSION to 9.1.0-dev (via coho)
Erisu [Tue, 23 Jun 2020 09:33:21 +0000 (18:33 +0900)] 
Set VERSION to 9.1.0-dev (via coho)

2 years agoandroid-v9.0.0 Updated version and RELEASENOTES.md for release 9.0.0
Erisu [Tue, 23 Jun 2020 09:31:47 +0000 (18:31 +0900)] 
android-v9.0.0 Updated version and RELEASENOTES.md for release 9.0.0

2 years agochore: set AndroidX off by default (#1005)
エリス [Tue, 23 Jun 2020 07:13:04 +0000 (16:13 +0900)] 
chore: set AndroidX off by default (#1005)

2 years agoAccept multiple mime types on file input (#971)
Duy Mac Van [Thu, 18 Jun 2020 12:59:44 +0000 (19:59 +0700)] 
Accept multiple mime types on file input (#971)

2 years agofix: support both adaptive and standard icons at the same time (#1001)
Norman Breau [Thu, 18 Jun 2020 12:58:42 +0000 (09:58 -0300)] 
fix: support both adaptive and standard icons at the same time (#1001)

2 years agofix: Plugin install fails when preview sdk is installed (#985)
Norman Breau [Thu, 18 Jun 2020 12:58:14 +0000 (09:58 -0300)] 
fix: Plugin install fails when preview sdk is installed (#985)

2 years agocleanup yaml files (#994)
Chris Brody [Tue, 16 Jun 2020 23:34:10 +0000 (19:34 -0400)] 
cleanup yaml files (#994)

* remove trailing spaces from .asf.yaml
* remove trailing spaces from .eslintrc.yml
* add newline to end of .eslintrc.yml

2 years agocleanup: remove trailing spaces from Java sources (#999)
Chris Brody [Tue, 16 Jun 2020 23:26:48 +0000 (19:26 -0400)] 
cleanup: remove trailing spaces from Java sources (#999)

* remove trailing spaces from framework/src/org/apache/cordova/*.java
* remove trailing spaces from framework/src/org/apache/cordova/engine/*.java

2 years agoupdate some dependencies (#992)
Chris Brody [Wed, 10 Jun 2020 15:47:17 +0000 (11:47 -0400)] 
update some dependencies (#992)

* update cordova-common -> ^4.0.1
* update execa -> ^4.0.2
* update fs-extra -> ^9.0.1

2 years agocleanup: remove trailing spaces from framework build files (#998)
Chris Brody [Wed, 10 Jun 2020 13:32:43 +0000 (09:32 -0400)] 
cleanup: remove trailing spaces from framework build files (#998)

* remove trailing spaces from framework/build.xml
* remove trailing spaces from framework/cordova.gradle

2 years agocleanup: remove trailing spaces from project template (#997)
Chris Brody [Wed, 10 Jun 2020 13:31:51 +0000 (09:31 -0400)] 
cleanup: remove trailing spaces from project template (#997)

* remove trailing spaces from bin/templates/project/AndroidManifest.xml
* remove trailing spaces from bin/templates/project/assets/www/css/index.css

2 years agocleanup: remove trailing spaces from bat files (#996)
Chris Brody [Wed, 10 Jun 2020 13:30:51 +0000 (09:30 -0400)] 
cleanup: remove trailing spaces from bat files (#996)

* remove trailing spaces from bin/*.bat
* remove trailing spaces from bin/templates/cordova/lib/*.bat

2 years agoremove trailing spaces from markdown files (#995)
Chris Brody [Wed, 10 Jun 2020 13:29:14 +0000 (09:29 -0400)] 
remove trailing spaces from markdown files (#995)

* remove trailing spaces from .github/ISSUE_TEMPLATE.md
* remove trailing spaces from .github/ISSUE_TEMPLATE/BUG_REPORT.md
* remove trailing spaces from .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
* remove trailing spaces from CONTRIBUTING.md

2 years agoupdate devDependencies (#993)
Chris Brody [Wed, 10 Jun 2020 13:27:11 +0000 (09:27 -0400)] 
update devDependencies (#993)

* update jasmine-spec-reporter -> ^5.0.2 in devDependencies

* update nyc -> ^15.1.0 in devDependencies

2 years agobreaking: reduce combined response cutoff to 16 MB (#987)
Chris Brody [Tue, 9 Jun 2020 23:48:33 +0000 (19:48 -0400)] 
breaking: reduce combined response cutoff to 16 MB (#987)

* breaking: reduce combined response cutoff to 16 MB
* rename `MAX_PAYLOAD_SIZE` to `COMBINED_RESPONSE_CUTOFF`
* update some comments
* cleanup: split `if` statements into multiple lines

2 years agomajor: Gradle 6.5 & Android Gradle plugin 4.0.0 updates (#988)
Chris Brody [Tue, 9 Jun 2020 00:47:10 +0000 (20:47 -0400)] 
major: Gradle 6.5 & Android Gradle plugin 4.0.0 updates (#988)

* feat: Gradle 6.5 & Android Gradle plugin 4.0.0 updates

* update test/android/wrapper.gradle to reference Gradle 6.5

* update test/androidx/wrapper.gradle to reference Gradle 6.5

* update spec/fixtures/android_studio_project/build.gradle
  to reference com.android.tools.build:gradle:4.0.0

* update test/android/build.gradle
  to reference com.android.tools.build:gradle:4.0.0

* update test/androidx/build.gradle
  to reference com.android.tools.build:gradle:4.0.0

2 years agocleanup: remove trailing spaces from app/build.gradle (#990)
Chris Brody [Mon, 8 Jun 2020 16:42:38 +0000 (12:42 -0400)] 
cleanup: remove trailing spaces from app/build.gradle (#990)

(in the template)

2 years agobreaking: remove legacy/build.gradle from template (#989)
Chris Brody [Mon, 8 Jun 2020 14:42:15 +0000 (10:42 -0400)] 
breaking: remove legacy/build.gradle from template (#989)