From e44f9d1f1f4724ea1d2bd7335bb4f3c5be1727ae Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Thu, 9 May 2019 22:43:34 +0200 Subject: [PATCH 01/13] Incremented plugin version. (splash20190509) --- package.json | 2 +- plugin.xml | 2 +- tests/package.json | 2 +- tests/plugin.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5488588..bf0d9e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen", - "version": "5.0.3", + "version": "5.0.4-dev", "description": "Cordova Splashscreen Plugin", "types": "./types/index.d.ts", "cordova": { diff --git a/plugin.xml b/plugin.xml index 3c3b5b4..39e635d 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.4-dev"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 diff --git a/tests/package.json b/tests/package.json index 4561731..b1f011c 100644 --- a/tests/package.json +++ b/tests/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen-tests", - "version": "5.0.3", + "version": "5.0.4-dev", "description": "", "cordova": { "id": "cordova-plugin-splashscreen-tests", diff --git a/tests/plugin.xml b/tests/plugin.xml index 71628dd..7057144 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.4-dev"> Cordova Splashscreen Plugin Tests Apache 2.0 From 0934d126d2a1b24e42c1fdc0ac3e4bffd26faef1 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Sat, 11 May 2019 00:33:14 +0200 Subject: [PATCH 02/13] Travis CI: Add ADDITIONAL_TESTS_DIR=./tests/ios (#212) * ADDITIONAL_TESTS_DIR=./tests/ios * add actual code to run it --- .travis.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 86f0a70..d2f44f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,10 @@ _android: &_android matrix: include: + # additional `npm test` in directory + - env: ADDITIONAL_TESTS_DIR=./tests/ios + <<: *_ios + # one local test, without saucelabs - env: PLATFORM=local/browser <<: *_ios @@ -89,7 +93,7 @@ before_script: if [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then # when used in the cordova-paramedic repo TEST_COMMAND="npm run eslint" - PARAMEDIC_PLUGIN_TO_TEST=""./spec/testable-plugin/"" + PARAMEDIC_PLUGIN_TO_TEST="./spec/testable-plugin/" PARAMEDIC_COMMAND="node main.js" else # when used in any other (plugin) repo @@ -98,7 +102,18 @@ before_script: PARAMEDIC_COMMAND="cordova-paramedic" fi - PARAMEDIC_BUILDNAME=travis-$TRAVIS_REPO_SLUG-$TRAVIS_JOB_NUMBER - + - | + echo "Variables now are set to:" + echo "TEST_COMMAND=$TEST_COMMAND" + echo "ADDITIONAL_TESTS=$ADDITIONAL_TESTS" + echo "PARAMEDIC_COMMAND=$PARAMEDIC_COMMAND" + echo "PLATFORM=$PLATFORM" + echo "PARAMEDIC_PLUGIN_TO_TEST=$PARAMEDIC_PLUGIN_TO_TEST" + echo "PARAMEDIC_BUILDNAME=$PARAMEDIC_BUILDNAME" script: - $TEST_COMMAND - - $PARAMEDIC_COMMAND --config ./pr/$PLATFORM --plugin $PARAMEDIC_PLUGIN_TO_TEST --buildName $PARAMEDIC_BUILDNAME + - if [[ "$ADDITIONAL_TESTS_DIR" != "" ]]; then + cd $ADDITIONAL_TESTS_DIR && npm install && npm test; + else + $PARAMEDIC_COMMAND --config ./pr/$PLATFORM --plugin $PARAMEDIC_PLUGIN_TO_TEST --buildName $PARAMEDIC_BUILDNAME; + fi From 7936e7ea549a76b39dcd35239c38d56bf0b101aa Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Tue, 18 Jun 2019 15:44:40 +0200 Subject: [PATCH 03/13] ci(travis): Remove Android 4.4, Add Android 9.0 --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2f44f9..57f7973 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +# This Travis configuration file is built after a Cordova Paramedic +# specific template with minimal modifications and adaptations: +# https://github.com/apache/cordova-paramedic/blob/master/.travis.yml + sudo: false addons: @@ -60,8 +64,6 @@ matrix: - env: PLATFORM=ios-12.2 <<: *_ios - - env: PLATFORM=android-4.4 - <<: *_android - env: PLATFORM=android-5.1 <<: *_android - env: PLATFORM=android-6.0 @@ -74,6 +76,8 @@ matrix: <<: *_android - env: PLATFORM=android-8.1 <<: *_android + - env: PLATFORM=android-9.0 + <<: *_android before_install: # manually install Node for `language: android` From be85a1b14e69696b6c0355c754181c8d57d0837f Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Tue, 2 Jul 2019 20:59:02 +0200 Subject: [PATCH 04/13] ci(travis): Upgrade node from 6 to 8 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57f7973..82f49b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,12 +12,12 @@ addons: env: global: - SAUCE_USERNAME=snay - - TRAVIS_NODE_VERSION=6 + - TRAVIS_NODE_VERSION=8 - ANDROID_API_LEVEL=28 - ANDROID_BUILD_TOOLS_VERSION=28.0.3 language: node_js -node_js: 6 +node_js: 8 # yaml anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027 From a7706fef5853bf5fbc584fd6089baa515db21880 Mon Sep 17 00:00:00 2001 From: Mosab A <47486787+mosabab@users.noreply.github.com> Date: Sun, 12 Jan 2020 16:46:24 +0200 Subject: [PATCH 05/13] Update readme.md by adding missing info (#239) * Update readme.md by adding missing info * Update README.md * Update README.md * Update README.md * Update text as standard * Update README.md * Update README.md --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d377a76..dd5a20c 100644 --- a/README.md +++ b/README.md @@ -91,17 +91,19 @@ projectRoot ```xml - - - - - + + + + + + - - - - - + + + + + + @@ -159,6 +161,8 @@ Apple is moving away from legacy launch images. There is no official support for The preferred method of providing launch images is to use a launch storyboard. For native app developers, the ideal launch storyboard is an unpopulated version of the app's user interface at launch. For non-native app developers who don't wish to learn Interface Builder, however, this plugin simulates the legacy launch image method as much as is feasible. +**Note:** Since iOS 11, for iPhone X devices and greater (with notch screen), you should switch to the new storyboard splash screens, taking into account to add `viewport-fit=cover` to the viewport meta tag in your `index.html` file to display the app correctly like so: `` and make some modification to your app style by adding: `padding: env(safe-area-inset-top)` to your `index.css` file to avoid the unsafe areas behind notches in the screen. + #### Legacy launch images If you choose to use legacy launch images, you will use the following syntax in `config.xml`: From 054387e02a1da399d6c5b0aec7897c736e544ca8 Mon Sep 17 00:00:00 2001 From: Peter Maatman Date: Sun, 12 Jan 2020 19:30:00 +0100 Subject: [PATCH 06/13] Fix #235: update homepage to github readme page (#236) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf0d9e0..2813482 100644 --- a/package.json +++ b/package.json @@ -47,5 +47,5 @@ "devDependencies": { "jshint": "^2.6.0" }, - "homepage": "https://cordova.apache.org/" + "homepage": "https://github.com/apache/cordova-plugin-splashscreen#readme" } From 46acbadd70f0d822cd049d046dd224588ffce45e Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Sat, 28 Mar 2020 15:30:26 +0000 Subject: [PATCH 07/13] ci: updates Node.js versions (#252) --- .appveyor.yml | 14 +++++++++----- .travis.yml | 21 +++++++++++---------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a7b2426..6a3c939 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -12,12 +12,16 @@ image: - Visual Studio 2017 environment: - nodejs_version: "4" matrix: - - PLATFORM: windows-10-store - JUST_BUILD: --justBuild + - nodejs_version: "10" + - nodejs_version: "12" + +platform: + - x86 + - x64 + install: - - npm cache clean -f + - ps: Install-Product node $env:nodejs_version - node --version - npm install -g cordova-paramedic@https://github.com/apache/cordova-paramedic.git - npm install -g cordova @@ -25,4 +29,4 @@ install: build: off test_script: - - cordova-paramedic --config pr\%PLATFORM% --plugin . %JUST_BUILD% + - cordova-paramedic --config pr\windows-10-store --plugin . --justBuild diff --git a/.travis.yml b/.travis.yml index 82f49b1..55f2351 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -# This Travis configuration file is built after a Cordova Paramedic +# This Travis configuration file is built after a Cordova Paramedic # specific template with minimal modifications and adaptations: # https://github.com/apache/cordova-paramedic/blob/master/.travis.yml @@ -12,18 +12,18 @@ addons: env: global: - SAUCE_USERNAME=snay - - TRAVIS_NODE_VERSION=8 + - TRAVIS_NODE_VERSION=12 - ANDROID_API_LEVEL=28 - ANDROID_BUILD_TOOLS_VERSION=28.0.3 language: node_js -node_js: 8 +node_js: 12 # yaml anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027 _ios: &_ios os: osx - osx_image: xcode10.2 + osx_image: xcode10.3 _android: &_android language: android @@ -35,9 +35,9 @@ _android: &_android - build-tools-$ANDROID_BUILD_TOOLS_VERSION - android-$ANDROID_API_LEVEL licenses: - - 'android-sdk-preview-license-.+' - - 'android-sdk-license-.+' - - 'google-gdk-license-.+' + - "android-sdk-preview-license-.+" + - "android-sdk-license-.+" + - "google-gdk-license-.+" matrix: include: @@ -81,13 +81,13 @@ matrix: before_install: # manually install Node for `language: android` - - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi + - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi - node --version - if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi - if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi - npm install -g cordova # install paramedic if not running on paramedic repo - - if ! [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then npm install -g github:apache/cordova-paramedic; fi + - if ! [[ "$TRAVIS_REPO_SLUG" =~ cordova-paramedic ]]; then npm install -g github:apache/cordova-paramedic; fi install: - npm install @@ -116,7 +116,8 @@ before_script: echo "PARAMEDIC_BUILDNAME=$PARAMEDIC_BUILDNAME" script: - $TEST_COMMAND - - if [[ "$ADDITIONAL_TESTS_DIR" != "" ]]; then + - | + if [[ "$ADDITIONAL_TESTS_DIR" != "" ]]; then cd $ADDITIONAL_TESTS_DIR && npm install && npm test; else $PARAMEDIC_COMMAND --config ./pr/$PLATFORM --plugin $PARAMEDIC_PLUGIN_TO_TEST --buildName $PARAMEDIC_BUILDNAME; From 35c41091d1d1117d8dcf316c0bc27e5d8397ebf4 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Sat, 28 Mar 2020 15:30:39 +0000 Subject: [PATCH 08/13] chore(npm): adds ignore list (#251) --- .npmignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..45e3c38 --- /dev/null +++ b/.npmignore @@ -0,0 +1,3 @@ +.* +appveyor.yml +tests From 06a76567b9b8ab04a016a92c6767b98009782a36 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Mon, 13 Apr 2020 14:32:32 +0200 Subject: [PATCH 09/13] Update CONTRIBUTING.md --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c8e6a5..21a93d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,13 +25,13 @@ Anyone can contribute to Cordova. And we need your contributions. There are multiple ways to contribute: report bugs, improve the docs, and contribute code. - -For instructions on this, start with the + +For instructions on this, start with the [contribution overview](http://cordova.apache.org/contribute/). The details are explained there, but the important items are: - - Sign and submit an Apache ICLA (Contributor License Agreement). - - Have a Jira issue open that corresponds to your contribution. + - Check for Github issues that corresponds to your contribution and link or create them if necessary. - Run the tests so your patch doesn't break existing functionality. We look forward to your contributions! + From ed3049817743809576af248f263237e72ff58f92 Mon Sep 17 00:00:00 2001 From: Erisu Date: Wed, 22 Apr 2020 13:42:38 +0900 Subject: [PATCH 10/13] chore(asf): update git notification settings --- .asf.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .asf.yaml diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 0000000..29a6c7c --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,22 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +notifications: + commits: commits@cordova.apache.org + issues: issues@cordova.apache.org + pullrequests_status: issues@cordova.apache.org + pullrequests_comment: issues@cordova.apache.org From ed1db6650c73ebd958ed69f572cfcc69f3166c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Mon, 1 Jun 2020 16:30:24 +0900 Subject: [PATCH 11/13] chore: add cordova-ios requirement <6.0.0 (#261) --- package.json | 3 +++ plugin.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index 2813482..68d322f 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,9 @@ "cordova-android": ">=3.6.0", "cordova-windows": ">=4.4.0" }, + "<6.0.0": { + "cordova-ios": "<6.0.0" + }, "6.0.0": { "cordova": ">100" } diff --git a/plugin.xml b/plugin.xml index 39e635d..08f2f77 100644 --- a/plugin.xml +++ b/plugin.xml @@ -30,6 +30,7 @@ + From 5bc7d0d63f7550a37375dd9635150c89ca3de159 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Wed, 3 Jun 2020 19:48:17 +0200 Subject: [PATCH 12/13] Updated version and RELEASENOTES.md for release 5.0.4 (5.0.4) --- RELEASENOTES.md | 12 ++++++++++++ package.json | 2 +- plugin.xml | 2 +- tests/package.json | 2 +- tests/plugin.xml | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 73b2a1e..b674963 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,18 @@ --> # Release Notes +### 5.0.4 (Jun 03, 2020) +* [GH-261](https://github.com/apache/cordova-plugin-splashscreen/pull/261) chore: add `cordova-ios` requirement <6.0.0 +* chore(asf): update git notification settings +* update CONTRIBUTING.md +* [GH-251](https://github.com/apache/cordova-plugin-splashscreen/pull/251) chore(npm): adds ignore list +* [GH-252](https://github.com/apache/cordova-plugin-splashscreen/pull/252) ci: updates Node.js versions +* [GH-236](https://github.com/apache/cordova-plugin-splashscreen/pull/236) update homepage to github `README` page +* [GH-239](https://github.com/apache/cordova-plugin-splashscreen/pull/239) update `README`.md by adding missing info +* ci(travis): Upgrade node from 6 to 8 +* ci(travis): Remove **Android 4.4**, Add **Android** 9.0 +* [GH-212](https://github.com/apache/cordova-plugin-splashscreen/pull/212) ci(travis): Add ADDITIONAL_TESTS_DIR=./tests/ios + ### 5.0.3 (May 09, 2019) * Update CI configuration and README ([#210](https://github.com/apache/cordova-plugin-splashscreen/pull/210), [#208](https://github.com/apache/cordova-plugin-splashscreen/pull/208), [#198](https://github.com/apache/cordova-plugin-splashscreen/pull/198), [#194](https://github.com/apache/cordova-plugin-splashscreen/pull/194)) * Add or update GitHub pull request and issue template diff --git a/package.json b/package.json index 68d322f..b5ce15a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen", - "version": "5.0.4-dev", + "version": "5.0.4", "description": "Cordova Splashscreen Plugin", "types": "./types/index.d.ts", "cordova": { diff --git a/plugin.xml b/plugin.xml index 08f2f77..f426a56 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.4"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 diff --git a/tests/package.json b/tests/package.json index b1f011c..9baf8bf 100644 --- a/tests/package.json +++ b/tests/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen-tests", - "version": "5.0.4-dev", + "version": "5.0.4", "description": "", "cordova": { "id": "cordova-plugin-splashscreen-tests", diff --git a/tests/plugin.xml b/tests/plugin.xml index 7057144..5f51579 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.4"> Cordova Splashscreen Plugin Tests Apache 2.0 From c1ab711039e016719948ef4913ef522b2e8c4082 Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Wed, 3 Jun 2020 20:00:51 +0200 Subject: [PATCH 13/13] Incremented plugin version to -dev (5.0.5-dev) --- package.json | 2 +- plugin.xml | 2 +- tests/package.json | 2 +- tests/plugin.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b5ce15a..d0cb0f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen", - "version": "5.0.4", + "version": "5.0.5-dev", "description": "Cordova Splashscreen Plugin", "types": "./types/index.d.ts", "cordova": { diff --git a/plugin.xml b/plugin.xml index f426a56..ca4c291 100644 --- a/plugin.xml +++ b/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.5-dev"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 diff --git a/tests/package.json b/tests/package.json index 9baf8bf..567a5ae 100644 --- a/tests/package.json +++ b/tests/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-splashscreen-tests", - "version": "5.0.4", + "version": "5.0.5-dev", "description": "", "cordova": { "id": "cordova-plugin-splashscreen-tests", diff --git a/tests/plugin.xml b/tests/plugin.xml index 5f51579..bb19593 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -20,7 +20,7 @@ + version="5.0.5-dev"> Cordova Splashscreen Plugin Tests Apache 2.0