[GitHub] [cordova-android] breautek closed issue #947: ionic cordova platform add - fails to update build.gradle with proper android gradle plugin

2020-05-21 Thread GitBox


breautek closed issue #947:
URL: https://github.com/apache/cordova-android/issues/947


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek commented on issue #947: ionic cordova platform add - fails to update build.gradle with proper android gradle plugin

2020-05-21 Thread GitBox


breautek commented on issue #947:
URL: https://github.com/apache/cordova-android/issues/947#issuecomment-632454347


   Closing this as https://github.com/apache/cordova-android/pull/962 is merged 
in, and apparently solves this issue.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek commented on issue #968: Ionic 5 cordova android chrome debug console not removed in release

2020-05-21 Thread GitBox


breautek commented on issue #968:
URL: https://github.com/apache/cordova-android/issues/968#issuecomment-632453691


   That does not reproduce the issue for me.
   
   I've tried:
   - cordova-android@8.1
   - with & without cordova-plugin-ionic-webview
   - signing apk manually via jarsigner
   - Letting cordova sign app automatically via `build.json`
   
   None of which allowed me to connect to the web inspector while the released 
version was installed. For reassurance, I've confirmed that the web inspector 
did work when a debug variant of the apk was installed.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] breautek closed pull request #228: fix README that cause errors

2020-05-21 Thread GitBox


breautek closed pull request #228:
URL: https://github.com/apache/cordova-plugin-splashscreen/pull/228


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] breautek commented on pull request #228: fix README that cause errors

2020-05-21 Thread GitBox


breautek commented on pull request #228:
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/228#issuecomment-632443743


   Thank you for your contribution. It looks like your changes have been 
applied via another PR based on the merge conflict. For this reason I'm closing 
this PR.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] breautek commented on a change in pull request #851: breaking: replace shelljs with fs-extra

2020-05-21 Thread GitBox


breautek commented on a change in pull request #851:
URL: https://github.com/apache/cordova-ios/pull/851#discussion_r429007820



##
File path: bin/lib/utils.js
##
@@ -0,0 +1,65 @@
+/*
+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.
+*/
+
+/*
+Provides a set of utility methods, which can also be spied on during unit 
tests.
+*/
+
+// TODO: Perhaps this should live in cordova-common?
+
+const fs = require('fs-extra');
+
+/**
+ * Reads, searches, and replaces the found occurences with replacementString 
and then writes the file back out.
+ * A backup is not made.
+ *
+ * @param {string} file A file path to a readable & writable file
+ * @param {RegExp} searchRegex The search regex
+ * @param {string} replacementString The string to replace the found occurences
+ * @returns {void}
+ */
+exports.replaceFileContents = function (file, searchRegex, replacementString) {
+let contents;
+try {
+contents = fs.readFileSync(file).toString();
+} catch (ex) {
+console.log('TRYING TO READ: ', file);

Review comment:
   This I made the comment on the wrong PR, but I think this should be 
using the cordova log system so this is only printed during `-v` verbose mode.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] breautek commented on pull request #860: breaking: drop q dependency

2020-05-21 Thread GitBox


breautek commented on pull request #860:
URL: https://github.com/apache/cordova-ios/pull/860#issuecomment-632439236


   Also note that I ignored anything related to the prerequisite PRs.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] breautek commented on a change in pull request #860: breaking: drop q dependency

2020-05-21 Thread GitBox


breautek commented on a change in pull request #860:
URL: https://github.com/apache/cordova-ios/pull/860#discussion_r429002345



##
File path: bin/templates/scripts/cordova/Api.js
##
@@ -278,10 +277,7 @@ Api.prototype.addPlugin = function (plugin, 
installOptions) {
 const frameworkPods = frameworkTags.filter(obj => obj.type === 
'podspec');
 return this.addPodSpecs(plugin, podSpecs, frameworkPods, 
installOptions);
 }
-})
-// CB-11022 return non-falsy value to indicate
-// that there is no need to run prepare after
-.thenResolve(true);

Review comment:
   Is it safe to remove this without adding `.then(() => 
Promise.resolve(true))` (the equivilant of `.thenResolve(true)`)?
   
   The block above it may not return a promise, which I believe is an 
implicitly returns `Promise.resolve()`, thus the consumer receives `undefined`, 
a non-truthy value.

##
File path: bin/templates/scripts/cordova/Api.js
##
@@ -327,10 +323,7 @@ Api.prototype.removePlugin = function (plugin, 
uninstallOptions) {
 const frameworkPods = frameworkTags.filter(obj => obj.type === 
'podspec');
 return this.removePodSpecs(plugin, podSpecs, frameworkPods, 
uninstallOptions);
 }
-})
-// CB-11022 return non-falsy value to indicate
-// that there is no need to run prepare after
-.thenResolve(true);

Review comment:
   same concern as above

##
File path: bin/lib/utils.js
##
@@ -0,0 +1,65 @@
+/*
+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.
+*/
+
+/*
+Provides a set of utility methods, which can also be spied on during unit 
tests.
+*/
+
+// TODO: Perhaps this should live in cordova-common?
+
+const fs = require('fs-extra');
+
+/**
+ * Reads, searches, and replaces the found occurences with replacementString 
and then writes the file back out.
+ * A backup is not made.
+ *
+ * @param {string} file A file path to a readable & writable file
+ * @param {RegExp} searchRegex The search regex
+ * @param {string} replacementString The string to replace the found occurences
+ * @returns {void}
+ */
+exports.replaceFileContents = function (file, searchRegex, replacementString) {
+let contents;
+try {
+contents = fs.readFileSync(file).toString();
+} catch (ex) {
+console.log('TRYING TO READ: ', file);

Review comment:
   I know I'm the one that originally wrote this, but this `console.log` 
was debug code that apparently got left behind. Using the cordova log for 
verbose/trace output might be better for this.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek commented on pull request #965: Increased detectArchitecture() timeout

2020-05-21 Thread GitBox


breautek commented on pull request #965:
URL: https://github.com/apache/cordova-android/pull/965#issuecomment-632429146


   Thank you for your contribution. I'd like to see one other PMC member vote 
positive before I merge.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] codecov-commenter edited a comment on pull request #978: fix: wait_for_boot waiting forever

2020-05-21 Thread GitBox


codecov-commenter edited a comment on pull request #978:
URL: https://github.com/apache/cordova-android/pull/978#issuecomment-632427756


   # 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=h1) 
Report
   > Merging 
[#978](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=desc) 
into 
[master](https://codecov.io/gh/apache/cordova-android/commit/e86b211cd18e3df1932a970d2f431b208a98ae42&el=desc)
 will **not change** coverage.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-android/pull/978/graphs/tree.svg?width=650&height=150&src=pr&token=q14nMf6C5a)](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree)
   
   ```diff
   @@   Coverage Diff   @@
   ##   master #978   +/-   ##
   ===
 Coverage   68.11%   68.11%   
   ===
 Files  21   21   
 Lines1866 1866   
   ===
 Hits 1271 1271   
 Misses595  595   
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[bin/templates/cordova/lib/emulator.js](https://codecov.io/gh/apache/cordova-android/pull/978/diff?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9lbXVsYXRvci5qcw==)
 | `89.83% <100.00%> (ø)` | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=footer).
 Last update 
[e86b211...297cd02](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] codecov-commenter commented on pull request #978: fix: wait_for_boot waiting forever

2020-05-21 Thread GitBox


codecov-commenter commented on pull request #978:
URL: https://github.com/apache/cordova-android/pull/978#issuecomment-632427756


   # 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=h1) 
Report
   > Merging 
[#978](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=desc) 
into 
[master](https://codecov.io/gh/apache/cordova-android/commit/e86b211cd18e3df1932a970d2f431b208a98ae42&el=desc)
 will **decrease** coverage by `0.05%`.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-android/pull/978/graphs/tree.svg?width=650&height=150&src=pr&token=q14nMf6C5a)](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #978  +/-   ##
   ==
   - Coverage   68.11%   68.06%   -0.06% 
   ==
 Files  21   21  
 Lines1866 1866  
   ==
   - Hits 1271 1270   -1 
   - Misses595  596   +1 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[bin/templates/cordova/lib/emulator.js](https://codecov.io/gh/apache/cordova-android/pull/978/diff?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9lbXVsYXRvci5qcw==)
 | `89.83% <100.00%> (ø)` | |
   | 
[bin/templates/cordova/lib/check\_reqs.js](https://codecov.io/gh/apache/cordova-android/pull/978/diff?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9jaGVja19yZXFzLmpz)
 | `58.06% <0.00%> (-0.47%)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=footer).
 Last update 
[e86b211...297cd02](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] codecov-commenter edited a comment on pull request #978: fix: wait_for_boot waiting forever

2020-05-21 Thread GitBox


codecov-commenter edited a comment on pull request #978:
URL: https://github.com/apache/cordova-android/pull/978#issuecomment-632427756


   # 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=h1) 
Report
   > Merging 
[#978](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=desc) 
into 
[master](https://codecov.io/gh/apache/cordova-android/commit/e86b211cd18e3df1932a970d2f431b208a98ae42&el=desc)
 will **decrease** coverage by `0.05%`.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-android/pull/978/graphs/tree.svg?width=650&height=150&src=pr&token=q14nMf6C5a)](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree)
   
   ```diff
   @@Coverage Diff @@
   ##   master #978  +/-   ##
   ==
   - Coverage   68.11%   68.06%   -0.06% 
   ==
 Files  21   21  
 Lines1866 1866  
   ==
   - Hits 1271 1270   -1 
   - Misses595  596   +1 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=tree) | 
Coverage Δ | |
   |---|---|---|
   | 
[bin/templates/cordova/lib/emulator.js](https://codecov.io/gh/apache/cordova-android/pull/978/diff?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9lbXVsYXRvci5qcw==)
 | `89.83% <100.00%> (ø)` | |
   | 
[bin/templates/cordova/lib/check\_reqs.js](https://codecov.io/gh/apache/cordova-android/pull/978/diff?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9jaGVja19yZXFzLmpz)
 | `58.06% <0.00%> (-0.47%)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=footer).
 Last update 
[e86b211...297cd02](https://codecov.io/gh/apache/cordova-android/pull/978?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek opened a new pull request #978: fix: wait_for_boot waiting forever

2020-05-21 Thread GitBox


breautek opened a new pull request #978:
URL: https://github.com/apache/cordova-android/pull/978


   
   
   ### Platforms affected
   Android
   
   
   ### Motivation and Context
   
   
   Fixes: #698 
   
   
   ### Description
   
   Changes `wait_for_boot` from using `ps` shell command to check for 
`android.process.acore` to `getprop sys.boot_completed`
   
   `android.process.acore` is a process that (despite it's name) is used for 
the `ContactsProvider`. The process is launched on boot, but will get killed 
after some amount of inactivity. When this happens, emulators that are opened 
for approximately 15 minutes or more will cause `cordova run android` to hang 
indefinitely.
   
   Using `getprop sys.boot_completed` is a more reliable way to determine if 
the simulator has been booted.
   
   A longer research comment I have posted on the issue ticket at 
https://github.com/apache/cordova-android/issues/698#issuecomment-632300908
   
   Additionally one unit test has been updated to reflect this change.
   
   ### Testing
   
   - Ran `npm test`
   - Tested android emulators between API 22 through R (API 30) to ensure that 
`getprop sys.boot_completed` indeed returns a value when expected to.
   - Ran `cordova run android` while the emulator was off to ensure emulator 
starts and installs the app properly.
   
   ### Checklist
   
   - [x] I've run the tests to see all new and existing tests pass
   - [x] I added automated test coverage as appropriate for this change
   - [x] Commit is prefixed with `(platform)` if this change only applies to 
one platform (e.g. `(android)`)
   - [x] If this Pull Request resolves an issue, I linked to the issue in the 
text above (and used the correct [keyword to close issues using 
keywords](https://help.github.com/articles/closing-issues-using-keywords/))
   - [x] I've updated the documentation if necessary
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek edited a comment on issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'

2020-05-21 Thread GitBox


breautek edited a comment on issue #698:
URL: https://github.com/apache/cordova-android/issues/698#issuecomment-632300908


   A bit more information n this issue.
   
   Cordova repeately does `ps` command in the adb shell
   
   
https://github.com/apache/cordova-android/blob/e86b211cd18e3df1932a970d2f431b208a98ae42/bin/templates/cordova/lib/emulator.js#L356
   
   And looks for `android.process.acore`. On a fresh boot of the emulator 
running `ps` command on the emulator I clearly see this process. Over time 
however `ps` returns:
   
   ```
   generic_x86_arm:/ $ ps
   USERPID   PPID VSZRSS WCHANADDR S NAME   

   shell  5113  25902   12176   3848 0   0 R ps
   shell 25902386   12932   3124 __ia32_co+  0 S sh
   ```
   
   Even `ps -A` to return all processes, including processes owned by root 
fails to have `android.process.acore` listed.
   
   Further research shows that `android.proces.acore` is a process responsible 
for android's 
[ContactsProvider](https://android.googlesource.com/platform/packages/providers/ContactsProvider/+/android-5.1.1_r29/AndroidManifest.xml#22)
 system.
   
   I don't believe scanning for the `android.process.acore` is a reliable way 
to determine if the system is booted. It looks like it works on cold boots, but 
eventually the process is killed (probably when it isn't being used). Despite 
it's name, it has nothing to do with it being an android core (which I think 
was probably what the original author of the cordova codebase thought, with no 
blame... I'd would come to the same conclusion myself...)
   
   Unfortunately it seems to be very difficult to determine if the emulator is 
ready to be used.
   
   `get prop sys.boot_completed` appears to be one approach, but not all 
simulators use it (according to SO comments). Personally if android simulators 
(from what google provides) from android 5.1 to latest (ie the android versions 
cordova-android@9 will support) all supports `sys.boot_completed` prop, I think 
that is our best path forward.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek commented on issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'

2020-05-21 Thread GitBox


breautek commented on issue #698:
URL: https://github.com/apache/cordova-android/issues/698#issuecomment-632403298


   I've been running into this issue about every 20 minutes... I have my local 
copy usng `sys.boot_completed` for now.
   
   Later tonight I'll test the `sys.boot_completed` prop on each simulator 
provided by the android sdk. If that prop exists on each simulator, I'll make a 
PR.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] pcwSlide commented on issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'

2020-05-21 Thread GitBox


pcwSlide commented on issue #698:
URL: https://github.com/apache/cordova-android/issues/698#issuecomment-632392754


   Thanks for your reseach - as a user I just find it frustrating that it keeps 
getting broken - as I say I am sure it is because of lack of information from 
the developers.. Currently I have to start an AVD - then cordova sees it.. I 
hope someone fxes it.. P  -



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-camera] breautek commented on issue #600: Significant quality reduction in images when scaling on Android

2020-05-21 Thread GitBox


breautek commented on issue #600:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/600#issuecomment-632311889


   I think a demo app might be worth while here so that we can see the before 
and after, and could serve as a testing app for variety of different devices.
   
   PRs are much welcome, but I'm not sure what would be the best path to take. 
My concern is mostly with budget phones that are maybe run on limited memory... 
but at the same time I'm not sure if they are even as significant as they were 
in the past.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-android] breautek commented on issue #698: 'cordova run android --emulator' command line tool stuck at 'Waiting for emulator to start...'

2020-05-21 Thread GitBox


breautek commented on issue #698:
URL: https://github.com/apache/cordova-android/issues/698#issuecomment-632300908


   A bit more information n this issue.
   
   Cordova repeately does `ps` command in the adb shell
   
   
https://github.com/apache/cordova-android/blob/e86b211cd18e3df1932a970d2f431b208a98ae42/bin/templates/cordova/lib/emulator.js#L356
   
   And looks for `android.process.acore`. On a fresh boot of the emulator 
running `ps` command on the emulator I clearly see this process. Over time 
however `ps` returns:
   
   ```
   generic_x86_arm:/ $ ps
   USERPID   PPID VSZRSS WCHANADDR S NAME   

   shell  5113  25902   12176   3848 0   0 R ps
   shell 25902386   12932   3124 __ia32_co+  0 S sh
   ```
   
   Even `ps -A` to return all processes, including processes owned by root 
fails to have `android.process.acore` listed.
   
   Further research shows that `android.proces.acore` is a process responsible 
for android's 
[ContactsProvider](https://android.googlesource.com/platform/packages/providers/ContactsProvider/+/android-5.1.1_r29/AndroidManifest.xml#22)
 system.
   
   I don't believe scanning for the `android.process.acore` is a reliable way 
to determine if the system is booted. It looks like it works on cold boots, but 
eventually the process is killed (probably when it isn't being used). Despite 
it's name, it has nothing to do with it being an android core (which I think 
was probably what the original author of the cordova codebase thought, with no 
blame)
   
   Unfortunately it seems to be very difficult to determine if the emulator is 
ready to be used.
   
   `get prop sys.boot_completed` appears to be one approach, but not all 
simulators use it (according to SO comments). Personally if android simulators 
(from what google provides) from android 5.1 to latest (ie the android versions 
cordova-android@9 will support) all supports `sys.boot_completed` prop, I think 
that is our best path forward.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-camera] dpolivy commented on issue #600: Significant quality reduction in images when scaling on Android

2020-05-21 Thread GitBox


dpolivy commented on issue #600:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/600#issuecomment-632256215


   After doing a lot of experimentation, I think there are a few areas for 
improvement in how the plugin manages scaling. In my scenario above, with a 
Pixel 2 at a resolution of 4032 x 3024, to scale down to 620px max is yielding 
a sample size of 6. So Android is only using every 6th pixel of the original 
image, and clearly that's not producing a great result.
   
   When I adjust my maximum dimensions to achieve a sample size of 4 or lower, 
then the scaling result is actually quite good quality.
   
   I understand that the original scaling code here may have been Android best 
practice in the past, however I think it can be improved upon. I found a [great 
overview of scaling options on 
Android](https://stackoverflow.com/a/32121059/1347600) that uses a combination 
of the `inSampleSize`, `inScaled`, `inDensity` and `inTargetDensity` options to 
scale the image directly to the desired size in a single API call. Using this 
approach would eliminate the need to call `Bitmap.createScaledBitmap` again 
after loading the image. Additionally, since this plugin is dealing with at 
most one image at a time (vs loading lots of potentially large Bitmaps at 
once), it seems that maybe it can be a bit more open to using more memory 
upfront to achieve a better end result.
   
   Secondly, I might suggest that we limit the sample size to a maximum of 4, 
which would help save some memory on initial load, but subsequently provide a 
better starting image for the actual scaling process to act upon. There are 
some issues in the way `calculateSampleSize` works: the documentation says:
   
   > Note: the decoder uses a final value based on powers of 2, any other value 
will be rounded down to the nearest power of 2.
   
   The function doesn't adhere to that, and seems to return various values that 
are not powers of 2. In reality, it seems Android itself [may support 
this](https://stackoverflow.com/questions/37596945/why-bitmapfactory-options-insamplesize-doesnt-be-rounded-down-to-the-nearest-po),
 although it may be less efficient for the codec, and/or it could lead to some 
of the quality issues I'm seeing.
   
   I suppose the ultimately resolution here depends on what the goals are of 
the scaling. In my opinion, it should be the highest quality representation 
possible for the desired resolution. If that means slightly higher memory use 
for a short period while the image is loaded and scaled, that might be worth 
it. Heck, even loading the full image and scaling it down properly may use less 
memory by only loading the image once, vs the current approach which loads it 2 
or 3 times (depending also on whether it is to be rotated).
   
   For now, I've worked around this issue by increasing our maximum dimensions 
so the scaling result is better, but it does seem like this could be improved 
in the plugin.
   
   Anyone else have thoughts on the best behavior? I'm open to try and put 
together a PR if there is some interest and discussion.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] codecov-commenter edited a comment on pull request #863: chore (npm): add ignore list

2020-05-21 Thread GitBox


codecov-commenter edited a comment on pull request #863:
URL: https://github.com/apache/cordova-ios/pull/863#issuecomment-632217916


   # [Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=h1) 
Report
   > Merging 
[#863](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/cordova-ios/commit/1714953321b1ad5e7e015014284e7c3a7345574b&el=desc)
 will **not change** coverage.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-ios/pull/863/graphs/tree.svg?width=650&height=150&src=pr&token=WomDD5jInz)](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=tree)
   
   ```diff
   @@   Coverage Diff   @@
   ##   master #863   +/-   ##
   ===
 Coverage   74.85%   74.85%   
   ===
 Files  13   13   
 Lines1742 1742   
   ===
 Hits 1304 1304   
 Misses438  438   
   ```
   
   
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=footer). 
Last update 
[1714953...2d59b55](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] codecov-commenter commented on pull request #863: chore (npm): add ignore list

2020-05-21 Thread GitBox


codecov-commenter commented on pull request #863:
URL: https://github.com/apache/cordova-ios/pull/863#issuecomment-632217916


   # [Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=h1) 
Report
   > Merging 
[#863](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/cordova-ios/commit/1714953321b1ad5e7e015014284e7c3a7345574b&el=desc)
 will **not change** coverage.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-ios/pull/863/graphs/tree.svg?width=650&height=150&src=pr&token=WomDD5jInz)](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=tree)
   
   ```diff
   @@   Coverage Diff   @@
   ##   master #863   +/-   ##
   ===
 Coverage   74.85%   74.85%   
   ===
 Files  13   13   
 Lines1742 1742   
   ===
 Hits 1304 1304   
 Misses438  438   
   ```
   
   
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=footer). 
Last update 
[1714953...2d59b55](https://codecov.io/gh/apache/cordova-ios/pull/863?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-camera] kevinswartz opened a new issue #602: Publish version 4.2.0 to npm

2020-05-21 Thread GitBox


kevinswartz opened a new issue #602:
URL: https://github.com/apache/cordova-plugin-camera/issues/602


   Hi guys,
   Thanks for your help on this great plugin!  Any chance version 4.2.0 is 
getting published to npm any time soon?  I'm looking in particular at your ios 
fix for the camera running on a background thread.
   Thanks again!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu opened a new pull request #863: chore (npm): add ignore list

2020-05-21 Thread GitBox


erisu opened a new pull request #863:
URL: https://github.com/apache/cordova-ios/pull/863


   ### Motivation, Context & Description
   
   - Add `.npmignore` file
   - Remove files that are not needed to be packaged with the release build.
   - Decrease package size
   
    Before Ignore
   
   ```
   === Tarball Details ===
   package size:  1.9 MB
   unpacked size: 3.5 MB
   total files:   390
   ```
   
    After Ignore
   
   ```
   === Tarball Details ===
   package size:  420.0 kB
   unpacked size: 1.2 MB
   total files:   185
   ```
   
   ### Testing
   
   - `cordova platform add`
   - `cordova build`
   - `cordova run`
   
   ### Checklist
   
   - [x] I've run the tests to see all new and existing tests pass
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] breautek commented on pull request #663: Fix #661: Removed all UIWebView code.

2020-05-21 Thread GitBox


breautek commented on pull request #663:
URL: https://github.com/apache/cordova-ios/pull/663#issuecomment-632134365


   The paypal plugin provided by PayPal itself appears to be referencing 
`UIWebView` as confirmed by the user at 
https://github.com/apache/cordova-ios/issues/854#issuecomment-629819404
   
   As the PayPal deprecated that SDK, and the sdk appears to be closed-source, 
the only solution is to move away from using the paypal sdk. Their deprecation 
notice can be found on their 
[README](https://github.com/paypal/PayPal-Cordova-Plugin/blob/master/README.md),
 which contains this text:
   
   > Please use [Braintree 
Direct](https://www.braintreepayments.com/ca/products/braintree-direct?referrer=https%3A%2F%2Fgithub.com%2Fpaypal%2FPayPal-Cordova-Plugin%2Fblob%2Fmaster%2FREADME.md)
 in [supported 
countries](https://www.braintreepayments.com/ca/country-selection?referrer=https%3A%2F%2Fgithub.com%2Fpaypal%2FPayPal-Cordova-Plugin%2Fblob%2Fmaster%2FREADME.md).
 In other countries, use [Express 
Checkout](https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/)
 and choose the Braintree SDK integration option.
   
   So specifically, the solution will depend on your situation.
   
   Hope this puts you on the right track, but I'll be locking this because this 
is not the place for support. If you have further questions on anything cordova 
related, please use our [slack](http://slack.cordova.io/). For questions 
regarding the new way to use PayPal, you'll likely be better off going through 
their support channels.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] erisu commented on a change in pull request #261: chore: add cordova-ios requirement <=5.1.1

2020-05-21 Thread GitBox


erisu commented on a change in pull request #261:
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/261#discussion_r428707361



##
File path: package.json
##
@@ -36,6 +36,9 @@
 "cordova-android": ">=3.6.0",
 "cordova-windows": ">=4.4.0"
   },
+  "<5.0.4": {
+"cordova-ios": "<=5.1.1"

Review comment:
   I applied suggestion





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu commented on pull request #852: ci: use github actions

2020-05-21 Thread GitBox


erisu commented on pull request #852:
URL: https://github.com/apache/cordova-ios/pull/852#issuecomment-632119367


   @timbru31 here is an example last run after the recent rebase: 
https://github.com/erisu/cordova-ios/actions/runs/111508020



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-inappbrowser] asanka-indrajith commented on issue #290: InAppBrowser will not destroy WebView after being closed (by invoking ref.close()) causing memory leaks

2020-05-21 Thread GitBox


asanka-indrajith commented on issue #290:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/290#issuecomment-632119125


   any fix for iOS?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] dpogue commented on a change in pull request #261: chore: add cordova-ios requirement <=5.1.1

2020-05-21 Thread GitBox


dpogue commented on a change in pull request #261:
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/261#discussion_r428677483



##
File path: package.json
##
@@ -36,6 +36,9 @@
 "cordova-android": ">=3.6.0",
 "cordova-windows": ">=4.4.0"
   },
+  "<5.0.4": {
+"cordova-ios": "<=5.1.1"

Review comment:
   `"<6.0.0"` might be better here. Currently this would cause issues for 
any future patch release of 5.1.x.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] i-need-to-tell-you-something commented on pull request #663: Fix #661: Removed all UIWebView code.

2020-05-21 Thread GitBox


i-need-to-tell-you-something commented on pull request #663:
URL: https://github.com/apache/cordova-ios/pull/663#issuecomment-632106362


   > > @TakaKeiji
   > > I cannot comment about when 6.0 will be released but you can handle the 
uiwebview issue on 5.1.1
   > > see https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html to 
learn how.
   > 
   > Working correctly now, the build was accepted correctly, thanks for the 
info, anyway i'm still having issues with the oficial archived PayPal mobile 
sdk cordova plugin, so i'm looking a solution for this now...
   
   I tried to find the source, but couldn't - I _just_ read on of these issues 
that Paypal SDK is deprecated and users should move to BrainTree or one other 
solution.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu merged pull request #861: chore: add package-lock.json

2020-05-21 Thread GitBox


erisu merged pull request #861:
URL: https://github.com/apache/cordova-ios/pull/861


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu commented on pull request #862: revert: ios-sim ^9.0.0 to ^8.0.2

2020-05-21 Thread GitBox


erisu commented on pull request #862:
URL: https://github.com/apache/cordova-ios/pull/862#issuecomment-632101313


   Last call on review, this PR will be merged in tomorrow for release.
   
   On top of the scoping issue within `ios-sim` 9.x, if fixed, the logging to 
file feature is not implemented it appears as it does not write to the provided 
log path.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-file] breautek commented on issue #391: android big file 60mb writeFile error

2020-05-21 Thread GitBox


breautek commented on issue #391:
URL: 
https://github.com/apache/cordova-plugin-file/issues/391#issuecomment-632078794


   >  Could you offer me a solution for ionic?
   
   No, if you're looking for ionic-specific support, a better place to ask is 
through ionic's support channels. Most of our cordova maintainer's have much 
knowledge about third-party frameworks like ionic to give proper answers, and 
even if they did, the Cordova channels are not the right place for ionic 
questions or bug reporting.
   
   This is why I'm asking a reproduction app without the use of frameworks. 
This serves a few different purposes:
   - It provides us a provable scenario of a problem in Cordova, and eliminates 
any possibility that the problem is being caused by third-party code.
   - It can also be used to test solutions, to determine if a bug fix actually 
indeed fixes the problem.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-lib] kim3er commented on issue #756: cordova 9.0.0 plugin add not saving to config.xml

2020-05-21 Thread GitBox


kim3er commented on issue #756:
URL: https://github.com/apache/cordova-lib/issues/756#issuecomment-631976241


   My have been debugging an issue with my remote builds, which turned out to 
be missing plugins.
   
   I'm using Cordova v9, but the project started life at v4. The issue I faced 
was that plugins that existed locally, weren't being installed when built in 
the cloud (using Azure DevOps).
   
   All the plugins were listed in package.json, but config.xml only included a 
partial list. The cloud build was only installing the partial list from 
config.xml.
   
   Removing all the entries in config.xml resulted in no plugins being 
installed.
   
   Manually listing all the plugins from package.json into config.xml resulted 
in all plugins being installed.
   
   The build environment is macOS latest, Node 8.6.4. The package.json version 
of Cordova is ^9.0.0. All the scripts use Cordova in a local context. Cordova, 
to the best of my knowledge, is not installed globally.
   
   My GIT repo has the follow Cordova related exclusions:
   
   ```
   platforms/
   plugins/
   plugins/android.json
   plugins/ios.json
   www/
   ```



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] erisu opened a new pull request #263: breaking: remove ios platform code from plugin repo

2020-05-21 Thread GitBox


erisu opened a new pull request #263:
URL: https://github.com/apache/cordova-plugin-splashscreen/pull/263


   ### Platforms affected
   
   ios
   
   ### Motivation and Context
   
   * SplashScreen plugin is no longer needed for Cordova iOS 6.x. The plugin 
code has been integrated.
   
   * Cordova iOS 6.x will only support the Launch Storyboard. The `README.md` 
will retain iOS related docs so that the all SplashScreen docs on `cordova.io` 
will continue to be grouped.
   
   ### Description
   
   * remove all ios code
   * remove ios from tests
   * update SplashScreen docs to only talk about iOS Launch Storyboard
   
   ### Checklist
   
   - [x] I've updated the documentation if necessary
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] erisu opened a new pull request #262: breaking: bump version 6.0.0-dev

2020-05-21 Thread GitBox


erisu opened a new pull request #262:
URL: https://github.com/apache/cordova-plugin-splashscreen/pull/262


   ### Motivation and Context
   
   Prepare for next major release
   
   * Requires #261 to be merged
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-plugin-splashscreen] erisu opened a new pull request #261: chore: add cordova-ios requirement <=5.1.1

2020-05-21 Thread GitBox


erisu opened a new pull request #261:
URL: https://github.com/apache/cordova-plugin-splashscreen/pull/261


   ### Platforms affected
   ios
   
   ### Motivation and Context
   
   Cordova-iOS Platform 6.x will have splash screen integrated and no longer 
needs the plugin.
   
   This PR is intended to be released in a patch to prevent the plugin from 
being added to the iOS 6.x platform.
   
   ### Description
   
   * update `plugin.xml`
   * update `package.json`
   
   ### Testing
   
   - see CI service
   
   ### Note
   
   * If a minor release is to be released and not a patch release, `"<5.0.4"` 
must be updated to the minor release version `"<5.1.0"`.
   * This must be released before next major is released.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13143) Integrate cordova-plugin-splashscreen

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/CB-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112853#comment-17112853
 ] 

ASF subversion and git services commented on CB-13143:
--

Commit 2d8e0a9e5d281a685947f9c92b610885c8475183 in cordova-ios's branch 
refs/heads/master from Darryl Pogue
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=2d8e0a9 ]

breaking feature: Integrate & replace SplashScreens w/ Launch Storyboard 
(CB-13143) (#790)

* breaking (splashscreen): drop launch image & default storyboard
* refactor (prepare): delete legacy splash screen launch images
* CB-13143: Added launch view to CDVViewController
* CB-13143: Integrate the SplashScreen plugin
* refactor (CDVLaunchScreen): update xml structure by Xcode

Co-authored-by: Erisu 
Co-authored-by: Jeff Chang 

> Integrate cordova-plugin-splashscreen
> -
>
> Key: CB-13143
> URL: https://issues.apache.org/jira/browse/CB-13143
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-plugin-splashscreen
>Reporter: Filip Maj
>Priority: Major
>  Labels: plugins-next
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Over and above the actual migration of the code into platform repos, we need 
> to do the following:
> 1. Update README.md to reflect maintenance status:
> – Direct users to file bugs/prs to the platforms that integrate the plugin
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 4. Highlight in release notes and announcement blog posts about upgrade path:
> – potential conflicts in old cordova projects that explicitly added the 
> integrated plugin
> – how to turn the integrated plugin off via feature tag tweaking in config.xml
> 5. cordova-docs need updating:
> * should show how to turn the integrated plugin off via feature tag tweaking 
> in config.xml
> * https://cordova.apache.org/docs/en/latest/guide/support/index.html needs to 
> remove splashscreen
> * https://cordova.apache.org/docs/en/latest/config_ref/images.html mentions 
> that splashscreen documentation exists under the plugin ref docs. where would 
> we put this now? a new section under each platform guide?
> * https://cordova.apache.org/docs/en/latest/plugin_ref/plugman.html
> 6. bump version, do a final release, and npm deprecate the plugin
> We might want to split this all up into subtasks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13143) Integrate cordova-plugin-splashscreen

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/CB-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112854#comment-17112854
 ] 

ASF subversion and git services commented on CB-13143:
--

Commit 2d8e0a9e5d281a685947f9c92b610885c8475183 in cordova-ios's branch 
refs/heads/master from Darryl Pogue
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=2d8e0a9 ]

breaking feature: Integrate & replace SplashScreens w/ Launch Storyboard 
(CB-13143) (#790)

* breaking (splashscreen): drop launch image & default storyboard
* refactor (prepare): delete legacy splash screen launch images
* CB-13143: Added launch view to CDVViewController
* CB-13143: Integrate the SplashScreen plugin
* refactor (CDVLaunchScreen): update xml structure by Xcode

Co-authored-by: Erisu 
Co-authored-by: Jeff Chang 

> Integrate cordova-plugin-splashscreen
> -
>
> Key: CB-13143
> URL: https://issues.apache.org/jira/browse/CB-13143
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-plugin-splashscreen
>Reporter: Filip Maj
>Priority: Major
>  Labels: plugins-next
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Over and above the actual migration of the code into platform repos, we need 
> to do the following:
> 1. Update README.md to reflect maintenance status:
> – Direct users to file bugs/prs to the platforms that integrate the plugin
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 4. Highlight in release notes and announcement blog posts about upgrade path:
> – potential conflicts in old cordova projects that explicitly added the 
> integrated plugin
> – how to turn the integrated plugin off via feature tag tweaking in config.xml
> 5. cordova-docs need updating:
> * should show how to turn the integrated plugin off via feature tag tweaking 
> in config.xml
> * https://cordova.apache.org/docs/en/latest/guide/support/index.html needs to 
> remove splashscreen
> * https://cordova.apache.org/docs/en/latest/config_ref/images.html mentions 
> that splashscreen documentation exists under the plugin ref docs. where would 
> we put this now? a new section under each platform guide?
> * https://cordova.apache.org/docs/en/latest/plugin_ref/plugman.html
> 6. bump version, do a final release, and npm deprecate the plugin
> We might want to split this all up into subtasks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13143) Integrate cordova-plugin-splashscreen

2020-05-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/CB-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112852#comment-17112852
 ] 

ASF subversion and git services commented on CB-13143:
--

Commit 2d8e0a9e5d281a685947f9c92b610885c8475183 in cordova-ios's branch 
refs/heads/master from Darryl Pogue
[ https://gitbox.apache.org/repos/asf?p=cordova-ios.git;h=2d8e0a9 ]

breaking feature: Integrate & replace SplashScreens w/ Launch Storyboard 
(CB-13143) (#790)

* breaking (splashscreen): drop launch image & default storyboard
* refactor (prepare): delete legacy splash screen launch images
* CB-13143: Added launch view to CDVViewController
* CB-13143: Integrate the SplashScreen plugin
* refactor (CDVLaunchScreen): update xml structure by Xcode

Co-authored-by: Erisu 
Co-authored-by: Jeff Chang 

> Integrate cordova-plugin-splashscreen
> -
>
> Key: CB-13143
> URL: https://issues.apache.org/jira/browse/CB-13143
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-plugin-splashscreen
>Reporter: Filip Maj
>Priority: Major
>  Labels: plugins-next
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Over and above the actual migration of the code into platform repos, we need 
> to do the following:
> 1. Update README.md to reflect maintenance status:
> – Direct users to file bugs/prs to the platforms that integrate the plugin
> 2. Close out any PRs and issues
> 3. Deprecate the component from JIRA 
> 4. Highlight in release notes and announcement blog posts about upgrade path:
> – potential conflicts in old cordova projects that explicitly added the 
> integrated plugin
> – how to turn the integrated plugin off via feature tag tweaking in config.xml
> 5. cordova-docs need updating:
> * should show how to turn the integrated plugin off via feature tag tweaking 
> in config.xml
> * https://cordova.apache.org/docs/en/latest/guide/support/index.html needs to 
> remove splashscreen
> * https://cordova.apache.org/docs/en/latest/config_ref/images.html mentions 
> that splashscreen documentation exists under the plugin ref docs. where would 
> we put this now? a new section under each platform guide?
> * https://cordova.apache.org/docs/en/latest/plugin_ref/plugman.html
> 6. bump version, do a final release, and npm deprecate the plugin
> We might want to split this all up into subtasks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu merged pull request #790: CB-13143: Integrate and replace SplashScreens with Launch Storyboard

2020-05-21 Thread GitBox


erisu merged pull request #790:
URL: https://github.com/apache/cordova-ios/pull/790


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[GitHub] [cordova-ios] erisu closed issue #770: Use storyboards & default split screens support - required from July 2020

2020-05-21 Thread GitBox


erisu closed issue #770:
URL: https://github.com/apache/cordova-ios/issues/770


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org