cordova-ios.git
5 months agodep: bump jasmine@^3.10.0 (#1208) master
エリス [Mon, 6 Dec 2021 01:57:40 +0000 (10:57 +0900)] 
dep: bump jasmine@^3.10.0 (#1208)

* dep: bump jasmine@^3.10.0
* test(prepare): fix error from jasmine bump
* fix: do not provide arrow fns as fake ctors

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
5 months agorefactor: platform version logic (#1206)
エリス [Thu, 2 Dec 2021 01:31:46 +0000 (10:31 +0900)] 
refactor: platform version logic (#1206)

* refactor: pull platform version from package.json
* chore: remove old VERSION file and logic

5 months agorefactor: move cordova minimum template (#1204)
エリス [Wed, 1 Dec 2021 04:00:48 +0000 (13:00 +0900)] 
refactor: move cordova minimum template (#1204)

- moved 'bin/templates/scripts/cordova' to 'templates/cordova'

5 months agorefactor!: do not copy JS lib to platform project (#1203)
エリス [Wed, 1 Dec 2021 03:46:17 +0000 (12:46 +0900)] 
refactor!: do not copy JS lib to platform project (#1203)

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
6 months agorefactor: do not infer project root from script location (#1202)
エリス [Mon, 22 Nov 2021 01:13:34 +0000 (10:13 +0900)] 
refactor: do not infer project root from script location (#1202)

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
6 months agorefactor(create): convert main implementation to class (#1201)
Raphael von der Grün [Thu, 18 Nov 2021 13:34:23 +0000 (14:34 +0100)] 
refactor(create): convert main implementation to class (#1201)

6 months agorefactor(create): sort functions in breadth-first call order (#1200)
Raphael von der Grün [Thu, 18 Nov 2021 10:08:47 +0000 (11:08 +0100)] 
refactor(create): sort functions in breadth-first call order (#1200)

This only moves functions around. No other changes.
The new order should make it easier to read the module top-down.

6 months agorefactor(create): further cleanup (#1199)
Raphael von der Grün [Thu, 18 Nov 2021 09:04:08 +0000 (10:04 +0100)] 
refactor(create): further cleanup (#1199)

* refactor(updateCordovaSubproject): fix linting violation

* refactor(updateCordovaSubproject): rename variables

* refactor: simpler CordovaLib path configuration

* refactor: split copyJsAndCordovaLib

* refactor: remove obsolete calls to fs.removeSync

The following fs.copySync will remove the target anyway

* refactor: integrate bin/lib/utils into bin/lib/create

- inline `utils.grep`
- replace `utils.replaceFileContents` with `transformFileContents`

6 months agorefactor(create): cleanup createProject (#1198)
Raphael von der Grün [Wed, 17 Nov 2021 13:24:26 +0000 (14:24 +0100)] 
refactor(create): cleanup createProject (#1198)

* refactor(createProject): remove obsolete check for parent dir

* refactor(createProject): remove unused config parameter

* refactor(createProject): simpler logging

* refactor(createProject): mark function as async

* docs(createProject): fix JsDoc

6 months agobuild: build cordova.js during npm prepare (#1197)
エリス [Tue, 16 Nov 2021 15:26:15 +0000 (00:26 +0900)] 
build: build cordova.js during npm prepare (#1197)

* build: build cordova.js during npm prepare w/ refactor
* chore: apply copySync suggestion
* dep: move cordova-js as devDep

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
6 months agorefactor: move project template out of bin w/ code changes (#1196)
エリス [Tue, 16 Nov 2021 12:52:24 +0000 (21:52 +0900)] 
refactor: move project template out of bin w/ code changes (#1196)

6 months agorefactor(create): cleanup copyTemplateFiles (#1195)
Raphael von der Grün [Mon, 15 Nov 2021 05:01:47 +0000 (06:01 +0100)] 
refactor(create): cleanup copyTemplateFiles (#1195)

* refactor(copyTemplateFiles): simply copy whole template dir
* refactor(copyTemplateFiles): use __PROJECT_NAME__ token in file name templates
* refactor(copyTemplateFiles): move .gitignore mgmt to copyTemplateFiles
* refactor(copyTemplateFiles): centralize token replacement

6 months agorefactor(create)!: move apple_* binaries & cleanup copyScripts (#1194)
Raphael von der Grün [Sat, 13 Nov 2021 16:16:27 +0000 (17:16 +0100)] 
refactor(create)!: move apple_* binaries & cleanup copyScripts (#1194)

Since we no longer support the platform-centric process, the
`apple_*_version` binaries can now be moved into the scripts template
directory. That also means the copyScripts method can be radically
simplified.

Co-authored-by: Erisu <erisu@apache.org>
6 months agorefactor: cleanup create script (#1193)
Raphael von der Grün [Sat, 13 Nov 2021 16:15:27 +0000 (17:15 +0100)] 
refactor: cleanup create script (#1193)

* refactor!(create): make helper functions module-private

- remove update_cordova_subproject export
- remove updateSubprojectHelp export

* refactor(create): cleanup, condense & rename update_cordova_subproject

* refactor(create): cleanup copyJsAndCordovaLib

* refactor(create): drop unused param of copyJsAndCordovaLib

* refactor(create): use loop to copy files in copyJsAndCordovaLib

* refactor(create): delete obsolete ensureDirSync in copyJsAndCordovaLib

fs-extra's copySync creates any missing destination directories

* refactor(create): simplify deletion logic in copyJsAndCordovaLib

fs-extra's removeSync removes anything and nothing w/out throwing

Co-authored-by: Erisu <erisu@apache.org>
6 months agorefactor: replace superspawn with execa (#1190)
Raphael von der Grün [Fri, 12 Nov 2021 08:43:12 +0000 (09:43 +0100)] 
refactor: replace superspawn with execa (#1190)

6 months agodep!(dev): bump eslint w/ corrections (#1182)
エリス [Wed, 10 Nov 2021 08:29:31 +0000 (17:29 +0900)] 
dep!(dev): bump eslint w/ corrections (#1182)

* dep!(dev): @cordova/eslint-config@^4.0.0
* style(lint): apply auto corrections
* style(lint): apply manual corrections prefer-regex-literals

6 months agorefactor: hide implementation of build & run (#1188)
Raphael von der Grün [Tue, 9 Nov 2021 21:26:23 +0000 (22:26 +0100)] 
refactor: hide implementation of build & run (#1188)

This makes build and run modules more closed by avoiding to expose
internals via the resolved promise value. Both modules' main exports
previously returned a promise that resolved to a subrocess spawn result.
Now these promises resolve to undefined.

The public API methods that return these promises did not document a
specific promise return value, just when the promise would resolve or
reject. Thus, this change is not breaking.

6 months agorefactor(run): code cleanup (#1189)
Raphael von der Grün [Tue, 9 Nov 2021 08:43:33 +0000 (09:43 +0100)] 
refactor(run): code cleanup (#1189)

* refactor(run): merge functions startSim and iossimLaunch

* refactor(run): simplify deployToSim

* refactor(run): simplify deployToDevice

6 months agotest(version): merge two test suites into one (#1187)
Raphael von der Grün [Tue, 9 Nov 2021 08:40:42 +0000 (09:40 +0100)] 
test(version): merge two test suites into one (#1187)

6 months agofeat(versions): print error messages, not error objects (#1186)
Raphael von der Grün [Tue, 9 Nov 2021 07:26:06 +0000 (08:26 +0100)] 
feat(versions): print error messages, not error objects (#1186)

* refactor(versions): reject with error, not string
* feat(versions): print error messages, not error objects

6 months agorefactor(versions): DRY version binary code (#1185)
Raphael von der Grün [Tue, 9 Nov 2021 06:58:40 +0000 (07:58 +0100)] 
refactor(versions): DRY version binary code (#1185)

6 months agotest(create): further increase timeouts to avoid false negatives (#1184)
Raphael von der Grün [Sun, 7 Nov 2021 08:48:32 +0000 (09:48 +0100)] 
test(create): further increase timeouts to avoid false negatives (#1184)

6 months agochore: remove unused and outdated listStartedEmulators (#1183)
Raphael von der Grün [Sat, 6 Nov 2021 23:04:06 +0000 (00:04 +0100)] 
chore: remove unused and outdated listStartedEmulators (#1183)

6 months agodep!: use latest dependencies (#1181)
エリス [Sat, 6 Nov 2021 21:30:19 +0000 (06:30 +0900)] 
dep!: use latest dependencies (#1181)

* chore: rebuild package-lock with v2

* dep!: fs-extra@^10.0.0

* dep: plist@^3.0.4

* dep: semver@^7.3.5

* dep(dev): nyc@^15.1.0

6 months agorefactor!: drop platform binaries (#1180)
エリス [Sat, 6 Nov 2021 04:45:54 +0000 (13:45 +0900)] 
refactor!: drop platform binaries (#1180)

* test(create): remove create & build binary usage
* refactor!: remove create binaries
* refactor!: remove build binaries
* refactor: update platform
* chore: cleanup update platform error message
* refactor!: remove update binaries
* refactor!: remove check_reqs binaries & usage
* refactor!: remove clean binaries
* refactor!: remove run binaries
* refactor!: remove test binaries
  * This file referenced a binary that hasnt existed since 2012. (https://github.com/apache/cordova-ios/commit/acc8b340aa0e083a2389f3ef98f88945bcbd1df1)
* refactor!: remove log binaries
* refactor: cleanup version binaries
* refactor!: remove uncrustify binary & config
* refactor!: remove binary help methods for build & run
* refactor!: remove version.bat binary
* fix: get realpathSync of os tmp dir
* refactor: cleanup verify create & build methods
* refactor(create.spec): use expectAsync toBeResolved
* refactor!: remove uncrustify pre-commit hook
* refactor!: remove list-emulator-build-targets binary
* refactor!: remove list-started-emulators binary
* refactor!: remove start-emulator binary
* chore: cleanup eslint ignore
* refactor!: remove bat files

Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
6 months agotest(create): waste less time on name variants (#1177)
Raphael von der Grün [Thu, 4 Nov 2021 05:01:14 +0000 (06:01 +0100)] 
test(create): waste less time on name variants (#1177)

6 months agotest: simpler killing of running simulators (#1179)
Raphael von der Grün [Thu, 4 Nov 2021 05:00:58 +0000 (06:00 +0100)] 
test: simpler killing of running simulators (#1179)

6 months agotest(versions): increase test timeout when invoking pod (#1178)
Raphael von der Grün [Wed, 3 Nov 2021 20:43:01 +0000 (21:43 +0100)] 
test(versions): increase test timeout when invoking pod (#1178)

Fixes #1175

6 months agochore: remove stale coffeescript tests (#1174)
Raphael von der Grün [Wed, 3 Nov 2021 16:42:06 +0000 (17:42 +0100)] 
chore: remove stale coffeescript tests (#1174)

6 months agofix(bin/create): set failing exit code on failure (#1170)
Raphael von der Grün [Wed, 3 Nov 2021 16:41:51 +0000 (17:41 +0100)] 
fix(bin/create): set failing exit code on failure (#1170)

6 months agotest(create): increase test timeout (#1176)
Raphael von der Grün [Wed, 3 Nov 2021 16:25:54 +0000 (17:25 +0100)] 
test(create): increase test timeout (#1176)

6 months agofix(spec/create): handle createAndBuild promises (#1171)
Raphael von der Grün [Wed, 3 Nov 2021 15:55:49 +0000 (16:55 +0100)] 
fix(spec/create): handle createAndBuild promises (#1171)

6 months agochore!: Rename Images.xcassets to Assets.xcassets (#1169)
Darryl Pogue [Wed, 3 Nov 2021 02:33:33 +0000 (19:33 -0700)] 
chore!: Rename Images.xcassets to Assets.xcassets (#1169)

This matches the name used in a newly created Xcode project for iOS.

6 months agochore: Remove unused imports from template (#1173)
Darryl Pogue [Wed, 3 Nov 2021 00:00:37 +0000 (17:00 -0700)] 
chore: Remove unused imports from template (#1173)

6 months agochore!: Breaking API cleanups (#1161)
Darryl Pogue [Mon, 1 Nov 2021 03:43:29 +0000 (20:43 -0700)] 
chore!: Breaking API cleanups (#1161)

* chore: Remove deprecated colorFromColorString API

* chore!: Move CDVCommandDelegateImpl to private API

6 months agofeat(catalyst): Enable Mac Catalyst support (#1168)
Darryl Pogue [Sun, 31 Oct 2021 18:12:30 +0000 (11:12 -0700)] 
feat(catalyst): Enable Mac Catalyst support (#1168)

6 months agorefactor: Api class (#1167)
エリス [Sun, 31 Oct 2021 06:14:26 +0000 (15:14 +0900)] 
refactor: Api class (#1167)

* refactor(Api): convert Api func to class
* refactor(Api): move createPlatform to class as static
* refactor(Api): move updatePlatform to class as static
* refactor(Api): move getPlatformInfo to class as func
* refactor(Api): move prepare to class as func
* refactor(Api): move addPlugin to class as func
* refactor(Api): move removePlugin to class as func
* refactor(Api): move addPodSpecs to class as func
* refactor(Api): move removePodSpecs to class as func
* refactor(Api): move setSwiftVersionForCocoaPodsLibraries to class as func
* refactor(Api): move build to class as func
* refactor(Api): move run to class as func
* refactor(Api): move clean to class as func
* refactor(Api): move requirements to class as func
* refactor(Api): move version to class as static
* refactor(Api): cleanup cordova-common require block
* refactor(Api): cleanup getPlatformInfo syntax

6 months agorefactor: replace copy-www-build-step script with build phase (#1158)
Niklas Merz [Sun, 31 Oct 2021 03:54:10 +0000 (04:54 +0100)] 
refactor: replace copy-www-build-step script with build phase (#1158)

* (refactor): move copy-www-build-step script to Xcode commands

See #699

* select files to copy

* copy config.xml from staging

* feat: copy staging resources

- Combined "Copy www" & "Copy config.xml" into "Copy Staging Resources"
- Copy content from "Staging" group into Resources

Co-authored-by: Erisu <erisu@apache.org>
7 months agochore(swiftpm): Fix up CordovaLib Swift Package (#1160)
Darryl Pogue [Mon, 18 Oct 2021 05:45:55 +0000 (22:45 -0700)] 
chore(swiftpm): Fix up CordovaLib Swift Package (#1160)

7 months agoSwift Package Manager support for CordovaLib (#1154)
Darryl Pogue [Wed, 6 Oct 2021 03:47:46 +0000 (20:47 -0700)] 
Swift Package Manager support for CordovaLib (#1154)

* Fix warnings about quoted framework header paths

These warnings show up in Xcode 13 with the recommended project
settings.

* Restructure for Swift Package Manager support

7 months agodoc: readme improvements (cleaup, xcode debugging, etc) (#1133)
Alexis THOMAS [Sat, 2 Oct 2021 05:53:02 +0000 (07:53 +0200)] 
doc: readme improvements (cleaup, xcode debugging, etc) (#1133)

Co-authored-by: Niklas Merz <NiklasMerz@gmx.net>
Co-authored-by: エリス <erisu@users.noreply.github.com>
7 months agochore(version): bump 7.0.0-dev API.js (#1156)
エリス [Fri, 1 Oct 2021 09:43:08 +0000 (18:43 +0900)] 
chore(version): bump 7.0.0-dev API.js (#1156)

7 months agofeat: add CDVWebViewEngineConfigurationDelegate (#1050)
Michael Tamburro [Fri, 1 Oct 2021 07:38:10 +0000 (03:38 -0400)] 
feat: add CDVWebViewEngineConfigurationDelegate (#1050)

* feat: add CDVWebViewEngineConfigurationDelegate to fully expose WKWebView configuration (#900)

* fix: update the existing tests of the default behavior

* chore: bring back initWithFrame, as existing CDVWebViewEngineProtocol conforming plugins use it

* chore: clean up newCordovaViewWithFrame in order to extract initialization with configuration

* chore: find existing methods that can return nil, and mark them as such for clarity

7 months agochore: remove more deprecated UIWebView things (#1034)
エリス [Fri, 1 Oct 2021 07:23:22 +0000 (16:23 +0900)] 
chore: remove more deprecated UIWebView things (#1034)

* chore: remove gap from CSP

* chore(UIWebView): remove pref GapBetweenPages

* chore(UIWebView): remove pref PaginationMode & PaginationBreakingMode

* chore(UIWebView): remove pref KeyboardDisplayRequiresUserAction

* chore(UIWebView): remove pref PageLength

7 months agorefactor: update allow list name (#1032)
エリス [Fri, 1 Oct 2021 07:22:42 +0000 (16:22 +0900)] 
refactor: update allow list name (#1032)

* refactor: update allow list naming

* chore: improve variable nameing

* chore: update doc url to cordova main docs

7 months agochore(version): bump 7.0.0-dev (#1155)
エリス [Fri, 1 Oct 2021 07:21:55 +0000 (16:21 +0900)] 
chore(version): bump 7.0.0-dev (#1155)

8 months agochore: npmrc (#1145)
Norman Breau [Fri, 17 Sep 2021 13:01:08 +0000 (10:01 -0300)] 
chore: npmrc (#1145)

8 months agofix: split xcode project location by env separator (#1140)
SvyatoslavPozhydaev [Wed, 15 Sep 2021 19:07:56 +0000 (22:07 +0300)] 
fix: split xcode project location by env separator (#1140)

10 months agochore: rebuild package-lock to address reported npm audit vulnerabilities (#1129)
Norman Breau [Tue, 20 Jul 2021 15:08:22 +0000 (12:08 -0300)] 
chore: rebuild package-lock to address reported npm audit vulnerabilities (#1129)

11 months agorefactor(projectFile): drop dependency on underscore (#1116)
Raphael von der Grün [Tue, 8 Jun 2021 08:33:59 +0000 (10:33 +0200)] 
refactor(projectFile): drop dependency on underscore (#1116)

Rewrote underscore usage in plain JS.

11 months ago(iOS) add undeclared dependency `underscore` (#1105)
Kristoffer K [Fri, 4 Jun 2021 14:59:06 +0000 (16:59 +0200)] 
(iOS) add undeclared dependency `underscore` (#1105)

15 months agoUpdate JS snapshot to version 6.3.0-dev (via coho)
Niklas Merz [Mon, 1 Feb 2021 16:25:41 +0000 (17:25 +0100)] 
Update JS snapshot to version 6.3.0-dev (via coho)

15 months agoSet VERSION to 6.3.0-dev (via coho)
Niklas Merz [Mon, 1 Feb 2021 16:25:38 +0000 (17:25 +0100)] 
Set VERSION to 6.3.0-dev (via coho)

15 months agoAdded 6.2.0 to CDVAvailability.h (via coho).
Niklas Merz [Mon, 1 Feb 2021 16:25:36 +0000 (17:25 +0100)] 
Added 6.2.0 to CDVAvailability.h (via coho).

15 months agoUpdate RELEASENOTES & version for release 6.2.0
Niklas Merz [Mon, 1 Feb 2021 16:24:13 +0000 (17:24 +0100)] 
Update RELEASENOTES & version for release 6.2.0

15 months ago(chore): update dependencies for minor release (#1069)
Niklas Merz [Mon, 1 Feb 2021 15:41:02 +0000 (16:41 +0100)] 
(chore): update dependencies for minor release (#1069)

15 months agofix: plugin podspec with no config elements (#1067)
エリス [Sun, 31 Jan 2021 15:32:21 +0000 (00:32 +0900)] 
fix: plugin podspec with no config elements (#1067)

15 months agofix(splashscreen): Don't show splashscreen when used as a lib (#1014)
Darryl Pogue [Sun, 31 Jan 2021 11:21:33 +0000 (03:21 -0800)] 
fix(splashscreen): Don't show splashscreen when used as a lib (#1014)

When using CDVViewController via CordovaLib as a library, the app might
already be loaded and not need to show the launch storyboard again.

Rather than unconditionally showing the splashscreen until the webview
content has loaded, make it initially invisible. Then in the project
template, make it visible so that it continues working as expected for
apps using the Cordova CLI.

Closes #929.

15 months agoAllow plugins to hook into the WKURLSchemeHandler (#1030)
Niklas Merz [Sun, 31 Jan 2021 11:21:05 +0000 (12:21 +0100)] 
Allow plugins to hook into the WKURLSchemeHandler (#1030)

16 months ago(ios): add console output for simulator selection (#1036)
Niklas Merz [Tue, 19 Jan 2021 20:00:40 +0000 (21:00 +0100)] 
(ios): add console output for simulator selection (#1036)

16 months agoGH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060)
Darryl Pogue [Tue, 19 Jan 2021 19:56:03 +0000 (11:56 -0800)] 
GH-1059: Add VALIDATE_WORKSPACE setting to XcodeProj (#1060)

In Xcode 12, if an app is linked against .framework files with multiple
architectures, it will generate an error about embedded framework
mismatches. Declaring this property (even with its default value of NO)
resolves the issue.

16 months agoSet CDVWebViewProcessPoolFactory to public (#1031)
Niklas Merz [Thu, 7 Jan 2021 18:21:21 +0000 (19:21 +0100)] 
Set CDVWebViewProcessPoolFactory to public (#1031)

* set CDVWebViewProcessPoolFactory to public

* Move CDVWebViewProcessPoolFactory.m to Classes/Public

17 months agoDocument breaking changes in 4.3.0 & 4.4.0 (#1041)
Chris Brody [Fri, 11 Dec 2020 03:36:32 +0000 (22:36 -0500)] 
Document breaking changes in 4.3.0 & 4.4.0 (#1041)

17 months ago(ios): nil check in didReceiveData in schemehandler (#1035)
Niklas Merz [Thu, 3 Dec 2020 16:38:11 +0000 (17:38 +0100)] 
(ios): nil check in didReceiveData in schemehandler (#1035)

Closes #903

17 months agoReinstate verification of main navigation in case of navigationType other (#1023)
Terje Tjervaag [Wed, 25 Nov 2020 16:39:54 +0000 (17:39 +0100)] 
Reinstate verification of main navigation in case of navigationType other (#1023)

17 months ago(iOS) Skip Cocoapods checkTool on non-darwin platform (#1018)
AdamLak [Wed, 25 Nov 2020 16:39:32 +0000 (17:39 +0100)] 
(iOS) Skip Cocoapods checkTool on non-darwin platform (#1018)

18 months agoProject changes to allow consuming cordova as submodule (#1015)
Wolfgang Mathurin [Fri, 30 Oct 2020 16:30:05 +0000 (09:30 -0700)] 
Project changes to allow consuming cordova as submodule (#1015)

19 months agoHide splash sceen immediately on .hide() (#1006)
Dimitri B [Sat, 10 Oct 2020 20:58:51 +0000 (22:58 +0200)] 
Hide splash sceen immediately on .hide() (#1006)

Make hiding of splash screen a race between `SplashScreenDelay` setting
and navigator.splashscreen.hide().

Related issue: https://github.com/apache/cordova-ios/issues/991

19 months agoFix BackgroundColor parsing for lowercase letters (#1005)
Darryl Pogue [Fri, 9 Oct 2020 14:29:32 +0000 (07:29 -0700)] 
Fix BackgroundColor parsing for lowercase letters (#1005)

19 months agochore(asf): Update GitHub repo metadata (#1002)
Darryl Pogue [Sat, 3 Oct 2020 21:11:57 +0000 (14:11 -0700)] 
chore(asf): Update GitHub repo metadata (#1002)

* Corrects the repo topics to more accurately reflect the languages
  actually in use

* Adds the Hacktoberfest opt-in topic

* Turns off GitHub wiki

* Aligns with our goal of using squash commits when merging pull
  requests by disabling the merge and rebase options

20 months agoAdd release notes from version 6.1.1
Darryl Pogue [Fri, 28 Aug 2020 21:19:10 +0000 (14:19 -0700)] 
Add release notes from version 6.1.1

20 months agochore: Update npm dependencies (#976)
Darryl Pogue [Fri, 28 Aug 2020 20:46:50 +0000 (13:46 -0700)] 
chore: Update npm dependencies (#976)

* chore: Update npm dependencies

Fixes some audit warnings about lodash, and also ensure we are using
cordova-common 4.0.2 with the fix for Info.plist files.

* Don't update Jasmine because it breaks tests

This needs to be investigated later, but I'll leave it for now so I can
try to get a patch release out.

20 months agofix: Append startURL to the initial url loaded (#973)
jcesarmobile [Thu, 27 Aug 2020 04:21:39 +0000 (06:21 +0200)] 
fix: Append startURL to the initial url loaded (#973)

22 months ago(ios) issue-912: fix deployment to device (#936)
imgos [Sun, 12 Jul 2020 18:06:07 +0000 (14:06 -0400)] 
(ios) issue-912: fix deployment to device (#936)

cordova-ios used to use "mv -f" and it was replaced with fs-extra.moveSync.  moveSync behaves
differently than mv, which broke deployment to devices.  This fixes the folder move and
subsequently deployment to device (when using "cordova run ios --device ..."

22 months agoci: add node 14 to workflow (#932)
エリス [Mon, 6 Jul 2020 06:18:13 +0000 (15:18 +0900)] 
ci: add node 14 to workflow (#932)

23 months agoUpdate JS snapshot to version 6.2.0-dev (via coho)
Darryl Pogue [Mon, 22 Jun 2020 07:07:16 +0000 (00:07 -0700)] 
Update JS snapshot to version 6.2.0-dev (via coho)

23 months agoSet VERSION to 6.2.0-dev (via coho)
Darryl Pogue [Mon, 22 Jun 2020 07:07:13 +0000 (00:07 -0700)] 
Set VERSION to 6.2.0-dev (via coho)

23 months agoAdded 6.1.0 to CDVAvailability.h (via coho).
Darryl Pogue [Mon, 22 Jun 2020 07:07:09 +0000 (00:07 -0700)] 
Added 6.1.0 to CDVAvailability.h (via coho).

23 months agoAdd release notes for v6.1.0
Darryl Pogue [Mon, 22 Jun 2020 07:06:32 +0000 (00:06 -0700)] 
Add release notes for v6.1.0

23 months agoSet $PROJECT_NAME properly when installing plugins (#910)
Darryl Pogue [Fri, 19 Jun 2020 15:05:35 +0000 (08:05 -0700)] 
Set $PROJECT_NAME properly when installing plugins (#910)

23 months agoDon't silently ignore creation of new windows (#885)
Darryl Pogue [Thu, 18 Jun 2020 15:16:15 +0000 (08:16 -0700)] 
Don't silently ignore creation of new windows (#885)

Currently, attempts to create new windows (via links with
`target="_blank"` or JS `window.open`) for pages within the application
have no effect and are silently ignored.
(Links to pages outside the application trigger the allow-intent
functionality and open in Safari.)

With this PR, the default behaviour will be to open those links in the
**same** Web View (without creating a new window).

This also introduces a preference (`AllowNewWindows`) that allows the
creation of a new UIViewController to present the new page in a new Web
View frame on top of the existing Web View.
**Note:** This new window provides no controls, so it can only be closed
with `window.close()` in JS.

23 months agoRevert "(ios) Don't pre-fill orientation" (#901)
Darryl Pogue [Wed, 17 Jun 2020 15:14:50 +0000 (08:14 -0700)] 
Revert "(ios) Don't pre-fill orientation" (#901)

This reverts commit fb494781ff9377621a933d5687c4545e9ca1b0ed.

23 months agochore: fix eslint failure (#902)
Darryl Pogue [Wed, 17 Jun 2020 07:33:25 +0000 (00:33 -0700)] 
chore: fix eslint failure (#902)

23 months ago(iOS) Dark mode splashscreen storyboard images (#808)
Terren [Wed, 17 Jun 2020 05:23:39 +0000 (22:23 -0700)] 
(iOS) Dark mode splashscreen storyboard images (#808)

* Add support for dark and light storyboard image appearances

Check for ~dark and ~light suffixes, and include in Contents.json.

* make eslint happy

* make eslint happy again

* Update prepare.js tests, add 3 new ones for themed storyboards

23 months agoAdd PreferredContentMode preference (#886)
Niklas Merz [Tue, 16 Jun 2020 15:41:37 +0000 (17:41 +0200)] 
Add PreferredContentMode preference (#886)

* Add PreferredContentMode preference

* Apply suggestions from code review

Co-authored-by: エリス <erisu@users.noreply.github.com>
Co-authored-by: エリス <erisu@users.noreply.github.com>
23 months agoFix SplashScreen issues & refactor BackgroundColor
Darryl Pogue [Thu, 11 Jun 2020 23:50:58 +0000 (16:50 -0700)] 
Fix SplashScreen issues & refactor BackgroundColor

* Set the background colour as an xcasset color set

* Fix SplashScreen images not rendering

Trying to take a snapshot of the view doesn't seem to result in the
image actually being present in the snapshot, but we can just render the
view itself from the storyboard file.

However, we do need to make sure that we don't allow the view to grow in
size, otherwise it will expand to the size of the image instead of
remaining the size of the screen bounds.

23 months agofix: author and tag podspec errors (#888)
jcesarmobile [Fri, 5 Jun 2020 09:53:20 +0000 (11:53 +0200)] 
fix: author and tag podspec errors (#888)

23 months agofix: Properly get version from package.json (#882)
jcesarmobile [Fri, 5 Jun 2020 09:22:33 +0000 (11:22 +0200)] 
fix: Properly get version from package.json (#882)

23 months agochore: bump package-lock version to 6.1.0-dev
Erisu [Thu, 28 May 2020 07:26:04 +0000 (16:26 +0900)] 
chore: bump package-lock version to 6.1.0-dev

23 months agoUpdate JS snapshot to version 6.1.0-dev (via coho)
Erisu [Thu, 28 May 2020 07:16:07 +0000 (16:16 +0900)] 
Update JS snapshot to version 6.1.0-dev (via coho)

23 months agoSet VERSION to 6.1.0-dev (via coho)
Erisu [Thu, 28 May 2020 07:16:04 +0000 (16:16 +0900)] 
Set VERSION to 6.1.0-dev (via coho)

23 months agoAdded 6.0.0 to CDVAvailability.h (via coho).
Erisu [Thu, 28 May 2020 07:15:59 +0000 (16:15 +0900)] 
Added 6.0.0 to CDVAvailability.h (via coho).

23 months agoios-v6.0.0 Updated version and RELEASENOTES.md for release 6.0.0
Erisu [Thu, 28 May 2020 07:15:15 +0000 (16:15 +0900)] 
ios-v6.0.0 Updated version and RELEASENOTES.md for release 6.0.0

23 months agochore(audit-license-headers): add & correct license
Erisu [Thu, 28 May 2020 07:09:20 +0000 (16:09 +0900)] 
chore(audit-license-headers): add & correct license

23 months agofix: remove q leftover (#875)
エリス [Thu, 28 May 2020 07:02:06 +0000 (16:02 +0900)] 
fix: remove q leftover (#875)

23 months agochore: cleanup & prep for 6.0.0 release (#874)
エリス [Thu, 28 May 2020 02:18:46 +0000 (11:18 +0900)] 
chore: cleanup & prep for 6.0.0 release (#874)

* chore(package): use short notation for repo and bugs url
* chore(package-lock): rebuilt
* doc(README): update format, links, etc

23 months agochore: remove unassigned splash image (#873)
エリス [Wed, 27 May 2020 16:36:09 +0000 (01:36 +0900)] 
chore: remove unassigned splash image (#873)

23 months agochore: remove migrate English.lproj deprecated warning (#872)
jcesarmobile [Wed, 27 May 2020 10:40:32 +0000 (12:40 +0200)] 
chore: remove migrate English.lproj deprecated warning (#872)

23 months agochore: enable base internalization for CordovaLib (#871)
jcesarmobile [Wed, 27 May 2020 10:27:18 +0000 (12:27 +0200)] 
chore: enable base internalization for CordovaLib (#871)

23 months agorefactor: default to file scheme (#866)
エリス [Wed, 27 May 2020 10:10:35 +0000 (19:10 +0900)] 
refactor: default to file scheme (#866)

* refactor: default to file scheme
* chore: applied feedback suggestions