Erisu [Sat, 17 Jul 2021 04:56:20 +0000 (13:56 +0900)]
android-v10.0.0 Updated version and RELEASENOTES.md for release 10.0.0
エリス [Fri, 16 Jul 2021 08:59:30 +0000 (17:59 +0900)]
fix: add missing apache-license header to getASPath.bat (#1283)
エリス [Thu, 15 Jul 2021 12:02:32 +0000 (21:02 +0900)]
chore!: bump all dependencies (#1279)
* chore: bump jasmine@^3.8.0
* chore!: bump release dependencies
- android-versions@^1.7.0
- execa@^5.1.1
- fast-glob@^3.2.7
- fs-extra@^10.0.0
* chore: rebuilt package-lock.json
エリス [Thu, 15 Jul 2021 03:32:56 +0000 (12:32 +0900)]
chore!: drop node 10 support (#1278)
Niklas Merz [Wed, 14 Jul 2021 13:29:15 +0000 (15:29 +0200)]
fix: add WebViewAssetloader to default allow list (#1275)
Raphael von der Grün [Wed, 14 Jul 2021 08:25:34 +0000 (10:25 +0200)]
build: build cordova.js during npm prepare (#1271)
エリス [Wed, 14 Jul 2021 08:22:11 +0000 (17:22 +0900)]
Remove gradle.daemon from default forced settings (#1276)
Co-authored-by: Fernando Serboncini <fserb@fserb.com.br>
エリス [Wed, 14 Jul 2021 06:37:12 +0000 (15:37 +0900)]
cleanup!: remove deprecated settings & add todo comments (#1274)
* chore: add todo task for setSaveFormData
* cleanup!: remove deprecated setSavePassword
* cleanup!: remove deprecated setDatabasePath
* chore: add todo task for setGeolocationDatabasePath
エリス [Wed, 14 Jul 2021 06:34:27 +0000 (15:34 +0900)]
chore: remove old VERSION file (#1273)
Dominik Hendrix [Wed, 14 Jul 2021 02:42:19 +0000 (04:42 +0200)]
fix: request focus after custom view hided (#1216)
Co-authored-by: Dominik Hendrix <hendrix@schaffrath-digital.de>
エリス [Wed, 14 Jul 2021 02:38:40 +0000 (11:38 +0900)]
cleanup: delete old ANT & Eclipse files (#1272)
Raphael von der Grün [Tue, 13 Jul 2021 10:27:25 +0000 (12:27 +0200)]
refactor(Api)!: use version from package.json (#1270)
hiepxanh [Tue, 13 Jul 2021 10:02:09 +0000 (17:02 +0700)]
fix(build): support tilde expansion on windows (#563)
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Raphael von der Grün [Tue, 13 Jul 2021 09:01:50 +0000 (11:01 +0200)]
refactor!: do not copy JS lib to platform project (#1269)
エリス [Tue, 13 Jul 2021 07:34:38 +0000 (16:34 +0900)]
feat!: release build defaults to aab package type (#1268)
Raphael von der Grün [Tue, 13 Jul 2021 06:51:20 +0000 (08:51 +0200)]
refactor: do not infer project root from script location (#1265)
* fix(Api): do not infer project root from script location
* fix(builders): do not infer project root from script location
* fix(target): do not infer project root from script location
* test(e2e): cleanup and extend E2E tests
- Renames the file with the only existing E2E test
- Makes existing test use the API instance returned by
`Api.createPlatform`
- Adds another test that ensures we can still require the API from
`platformProjectPath/cordova/Api.js`
* fix(check_reqs): do not infer project root from script location
Raphael von der Grün [Mon, 12 Jul 2021 07:48:36 +0000 (09:48 +0200)]
refactor: use target SDK of built APK to determine best emulator (#1267)
* refactor(emulator): require emulatorId in emulator.run
* refactor: use effective targetSdk to find best emulator
Raphael von der Grün [Sun, 11 Jul 2021 13:47:07 +0000 (15:47 +0200)]
refactor(run)!: cleanup run method (#1266)
* refactor(run)!: get rid of emit-and-throw & throw-literal antipatterns
* refactor(run)!: convert run method to async/await
* refactor(run): require build module in advance
* refactor(run): minor cleanup
* refactor(run): drop always-undefined option arch
`parseBuildOptions` only sets `arch` if something truthy is passed for
parameter `resolvedTarget` to which we pass `null`.
* refactor(run): destructure buildOptions
jcesarmobile [Wed, 7 Jul 2021 11:19:09 +0000 (13:19 +0200)]
feat: remove java 1.8 version check (#1241)
エリス [Wed, 7 Jul 2021 10:57:33 +0000 (19:57 +0900)]
fix: missing super.onRequestPermissionsResult error (MissingSuperCall) (#1264)
エリス [Wed, 7 Jul 2021 02:17:05 +0000 (11:17 +0900)]
feat: bump appcompat@1.3.0 (#1262)
エリス [Wed, 7 Jul 2021 02:11:24 +0000 (11:11 +0900)]
feat: bump gradle@7.1.1 (#1257)
エリス [Wed, 7 Jul 2021 02:08:03 +0000 (11:08 +0900)]
feat: bump android-gradle-plugin@4.2.2 (#1255)
エリス [Wed, 7 Jul 2021 01:55:47 +0000 (10:55 +0900)]
feat: bump kotlin@1.5.20 (#1256)
* feat: bump kotlin@1.5.10
* fix: kotlin@1.5.20 (applied suggestion)
Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
エリス [Wed, 7 Jul 2021 01:55:17 +0000 (10:55 +0900)]
feat: bump android.webkit@1.4.0 (#1258)
Raphael von der Grün [Tue, 6 Jul 2021 16:12:00 +0000 (18:12 +0200)]
test(check_reqs): do not hardcode DEFAULT_TARGET_API (#1263)
Should have been part of #1212
エリス [Tue, 6 Jul 2021 14:39:12 +0000 (23:39 +0900)]
feat: support webkit version override (#1254)
エリス [Tue, 6 Jul 2021 13:38:16 +0000 (22:38 +0900)]
refactor: gradle cleanup (#1253)
* refactor: move androidx.webkit version to cdv-gradle-config-defaults
* chore: remove unnecessary cordova.gradle apply
* refactor: maven publish to use version info from package.json
* refactor: separate framwork publishing outside of app dev scope
Raphael von der Grün [Tue, 6 Jul 2021 13:37:46 +0000 (15:37 +0200)]
refactor!: remove most platform binaries (#1100)
* Remove binaries cordova/lib/*
* Remove binary bin/android_sdk_version
* Remove binary bin/update script
* Remove binary bin/check_reqs
* Remove binary bin/create script
* Remove binary cordova/build
* Remove binary cordova/run
* Remove binary cordova/clean
* Remove binary cordova/log
* Remove unused module cordova/loggingHelper
* Update README
* Restore target-listing binaries used by CLI
Usage: cordova-lib/src/cordova/targets.js
* Restore binary bin/android_sdk_version for CLI compatibility
This is used in CLI to implement an Android SDK version check for plugins.
See https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#engines-and-engine
* Remove version.bat
Raphael von der Grün [Tue, 6 Jul 2021 11:33:26 +0000 (13:33 +0200)]
refactor(check_reqs): drop originalError param from check_android_target (#1260)
Raphael von der Grün [Tue, 6 Jul 2021 11:01:37 +0000 (13:01 +0200)]
tests(prepare): factor out common vars (#1259)
エリス [Tue, 6 Jul 2021 06:57:40 +0000 (15:57 +0900)]
feat!: drop abandoned com.github.dcendents:android-maven-gradle-plugin (#1252)
* feat: use maven-publish plugin (mavenCentral)
* fix: Apache License url
* fix: framework build failure without useAndroidX
* fix: add aar build artifact
Norman Breau [Tue, 6 Jul 2021 06:38:28 +0000 (03:38 -0300)]
feat!: unify & fix gradle library/tooling overrides (#1212)
* enhancement: Control SDK versions and other default projects in one place
* fix: target/compile sdk usage
* refactor: cleanup gradle process
* chore: cleanup and remove unused changes
* chore: remove more unneeded FILE_PATH
* chore: fix lint error
* revert change intended to be part of a different PR
* chore: apply changes to revert to fit new changes
* fix: Ensure proper types
* breaking: Removed TempateFile class
* Replaced the one and only usage of it with the properties-parser editor.
* Breaking change because we are converting a method into an asynchronous method.
* refactor: Use the sync version of properties editor
* Gh 1178 fix sdk use gradlearg fix (#2)
* fix: readd gradleArg support
* fix: variable name
* refactor: remove unused mock variables
* Update bin/templates/cordova/lib/builders/ProjectBuilder.js
* Update bin/lib/create.js
* fix: const naming (review suggestion)
* fix: use defaults for framework building
* chore: apply review suggestion
* chore: rename config.json & defaults.json (review suggestions)
* refactor: updateUserProjectGradleConfig method
* refactor: minor changes in updateUserProjectGradleConfig
* refactor: major changes in updateUserProjectGradleConfig
* fix: wrong handling of missing preferences
* fix: usage of undefined this
* fix(create.spec): mocking of getPreference
* test(check_reqs): reduce diff size
* refactor: add wrapper to load gradle config defaults
* fix(check_reqs): get_target
* Reads default SDK from default gradle config now
* fix(check_reqs.spec): return correct types from mocks
* revert to using get_target in create
* fix: e2e test
Co-authored-by: Erisu <ellis.bryan@gmail.com>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
エリス [Sat, 3 Jul 2021 04:04:13 +0000 (13:04 +0900)]
breaking: drop jcenter & update dependencies (#1251)
エリス [Fri, 2 Jul 2021 02:52:05 +0000 (11:52 +0900)]
feat(allow-list)!: integrate and refactor core plugin (#1138)
* refactor!: naming to allow list
* feat(allow-list): integrate core plugin
* refactor(allow-list): cleanup
* refactor: drop deprecated launch-external case for CustomConfigParser::handleStartTag
* fix: apply review comments
jcesarmobile [Thu, 1 Jul 2021 07:50:39 +0000 (09:50 +0200)]
feat!: upgrade android gradle plugin to 4.2.1 (#1232)
Raphael von der Grün [Wed, 23 Jun 2021 16:22:04 +0000 (18:22 +0200)]
refactor(env/java): improve tests and implementation (#1246)
This basically fixes up the changes from #1220.
* test(env/java): replace test that duplicates implementation
* test(env/java): stub _ensure to focus on unit under test
* test(env/java): add test for invalid output
* refactor(env/java): keep try block small
* refactor(env/java): shorten excessive comment
Norman Breau [Sun, 9 May 2021 20:52:35 +0000 (17:52 -0300)]
Bugfix/java checks (#1228)
* fix: Java version parsing if java executable prints out additional information with --version
* fix: Ensure JAVA_HOME path comes first in the PATH environment
* refactor: Removed redundent code in favour of keeping a change introduced from another PR
Norman Breau [Sun, 9 May 2021 20:02:25 +0000 (17:02 -0300)]
feat: CORDOVA_JAVA_HOME env variable (#1229)
* feat: CORDOVA_JAVA_HOME env variable
* refactor: Improve CORDOVA_JAVA_HOME env test
* fix(test) path separator issue
David [Sun, 9 May 2021 12:33:08 +0000 (14:33 +0200)]
fix(requirements check): use regex to get java version from javac output (#1220)
* fix(requirements check): use regex to get java version from javac output
* fix(lint): format code
* fix(node 10): remove optional chaining from version check
Raphael von der Grün [Thu, 6 May 2021 07:30:19 +0000 (09:30 +0200)]
fix(prepare): delete splash screens if none are used (#1227)
Currently, we copy default splash screens to the platform folder during platform creation, but then we do not delete them when the user uses no splash screens at all. This causes #1226 and what is described in #689.
The new implementation does not return early when updating splashes and none are defined. Instead, we let the cleanup map we create initially take care of deleting all unused splash screens. This also deletes the default splashes during the first prepare after platform creation.
Fixes #1226
Niklas Merz [Thu, 6 May 2021 06:17:58 +0000 (08:17 +0200)]
feat: add backwards compatibility mode for WebViewAssetLoader (#1222)
Norman Breau [Mon, 26 Apr 2021 15:47:22 +0000 (12:47 -0300)]
ci: Add Node16 to CI matrix (#1218)
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>
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>
エリス [Sun, 18 Apr 2021 22:30:06 +0000 (07:30 +0900)]
feat: allow appcompat version to be configurable (#1208)
エリス [Fri, 16 Apr 2021 09:32:46 +0000 (18:32 +0900)]
test(AndroidManifest): update theme to Theme.AppCompat.NoActionBar (#1207)
Hans Krywalsky [Thu, 15 Apr 2021 21:52:14 +0000 (23:52 +0200)]
breaking: only support androidx (#1052)
* GH-841 only support androix
エリス [Wed, 14 Apr 2021 23:23:41 +0000 (08:23 +0900)]
chore! (npm): update all dependencies (#1205)
Mosab A [Wed, 14 Apr 2021 02:29:09 +0000 (05:29 +0300)]
feat!: upgrade kotlin@1.4.32 (#1204)
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
Niklas Merz [Tue, 13 Apr 2021 10:14:37 +0000 (12:14 +0200)]
remove app cache settings (#1141)
Norman Breau [Tue, 13 Apr 2021 10:13:01 +0000 (07:13 -0300)]
breaking: remove keystore password prompt (#1048)
Norman Breau [Tue, 13 Apr 2021 09:56:04 +0000 (06:56 -0300)]
feat: Deprecated onRequestPermissionResult in favour for onRequestPermissionsResult for consistency (#1047)
エリス [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>
エリス [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>
エリス [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>
エリス [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>
エリス [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>
エリス [Tue, 13 Apr 2021 06:34:21 +0000 (15:34 +0900)]
feat: target sdk 30 w/ build-tool 30.0.3 (#1182)
エリス [Tue, 13 Apr 2021 06:34:00 +0000 (15:34 +0900)]
feat: bump version to 10.0.0-dev (#1181)
Erisu [Fri, 9 Apr 2021 16:55:13 +0000 (01:55 +0900)]
chore: set package-lock.json to 9.2.0-dev
Erisu [Fri, 9 Apr 2021 15:26:30 +0000 (00:26 +0900)]
Update JS snapshot to version 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)
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
エリス [Fri, 9 Apr 2021 14:44:50 +0000 (23:44 +0900)]
chore: add missing header license (#1196)
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
anasofiagribeiro [Fri, 9 Apr 2021 02:26:23 +0000 (03:26 +0100)]
feat: support gzip encoding requests & use GZIPInputStream (#1104)
エリス [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.
エリス [Fri, 9 Apr 2021 02:23:09 +0000 (11:23 +0900)]
revert: feat: upgrade kotlin@1.4.31 #1176 (#1194)
エリス [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.
エリス [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.
エリス [Thu, 8 Apr 2021 05:03:34 +0000 (14:03 +0900)]
Revert "feat: upgrade gradle@6.8.3 (#1174)" (#1190)
This reverts commit
fe4d4aeff05e02fb4b36bdd631b27a0a838fe978.
エリス [Tue, 30 Mar 2021 13:57:14 +0000 (22:57 +0900)]
fix: copy repositories.gradle to project on create (#1186)
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)
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>
エリス [Tue, 30 Mar 2021 10:41:21 +0000 (19:41 +0900)]
chore: rebuilt package-lock (#1183)
エリス [Tue, 30 Mar 2021 09:46:43 +0000 (18:46 +0900)]
fix: unit-test failure (#1184)
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>
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>
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)
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>
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>
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>
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>
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
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
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
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
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>
Norman Breau [Wed, 20 Jan 2021 01:33:06 +0000 (21:33 -0400)]
fix: optional arch parameter (#1153)
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>
Raphael von der Grün [Fri, 4 Dec 2020 08:14:19 +0000 (09:14 +0100)]
fix(prepare): mapImageResources always returning [] (#1136)
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>
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
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
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)
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
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>
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`.