[jira] [Resolved] (CB-12813) Cordova Paramedic is not supporting full target name with OS version

2019-04-18 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-12813.
-
Resolution: Implemented

PR waiting to get merged: https://github.com/apache/cordova-paramedic/pull/21

> Cordova Paramedic is not supporting full target name with OS version
> 
>
> Key: CB-12813
> URL: https://issues.apache.org/jira/browse/CB-12813
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Affects Versions: Master
>Reporter: Tomasz Subik
>Priority: Major
>
> Cordova paramedic is not supporting full target name with OS version. When 
> providing --target "'iPhone-6, 9.3'" it is simply running first iPhone-6 
> emulator not the exact one I want.
> Logs:
> cordova-paramedic: Choosing Target for iOS
> running:
> cordova run --list --emulator --no-telemetry --no-update-notifier | grep 
> 'iPhone-6, 9.3' | tail -n1
> running:
> instruments -s devices | grep ^iPhone
> cordova-paramedic: Setting required permissions.
> cordova-paramedic: running command cordova run ios --no-telemetry 
> --no-update-notifier --target iPhone-6 --emulator



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9867) Update cordova-app-hello-world to use cordova-plugin-whitelist v2

2019-04-18 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-9867.
--
Resolution: Invalid

> Update cordova-app-hello-world to use cordova-plugin-whitelist v2
> -
>
> Key: CB-9867
> URL: https://issues.apache.org/jira/browse/CB-9867
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-app-hello-world
>Reporter: Nikhil Khandelwal
>Priority: Major
>
> We should release the cordova-plugin-whitelist v2 which has support for ios 
> 4.x and then reference it in the app-hello-world template.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7352) Add app-hello-world release process

2019-04-18 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7352.

Resolution: Fixed

https://github.com/apache/cordova-coho/blob/master/docs/app-hello-world-release-process.md

> Add app-hello-world release process
> ---
>
> Key: CB-7352
> URL: https://issues.apache.org/jira/browse/CB-7352
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-app-hello-world
>Reporter: Steve Gill
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-12972) Indent is not constant

2019-04-18 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-12972.
---
Resolution: Fixed

The repo is now on Github: [https://github.com/apache/cordova-app-hello-world] 
If this is still the case, please submit a Pull Request to fix this. Thanks!

> Indent is not constant
> --
>
> Key: CB-12972
> URL: https://issues.apache.org/jira/browse/CB-12972
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-app-hello-world
>Reporter: myungseo Kang
>Priority: Trivial
>
> Just proposal.
> I hate that indentation is not constant.
> {code:html}
> 
> {code}
> This comment's indentation is not constant.
> In the " KIND," section, the indentation is not constant. (maybe one space in 
> KIND section before)
> So, I just want to remove that space.
> Thank you.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13023) Clarify documentation around deprecated/removed platforms

2019-04-18 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-13023.
-
Resolution: Fixed

Most of that is taken care of.

 

What is left, I moved to new Github issues:

https://github.com/apache/cordova-docs/issues/969
https://github.com/apache/cordova-electron/issues/49

> Clarify documentation around deprecated/removed platforms
> -
>
> Key: CB-13023
> URL: https://issues.apache.org/jira/browse/CB-13023
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-amazon-fireos (DEPRECATED), cordova-blackberry 
> (DEPRECATED), cordova-docs, cordova-ubuntu (DEPRECATED), cordova-webos 
> (DEPRECATED), cordova-website, cordova-wp8 (DEPRECATED)
>Reporter: Filip Maj
>Assignee: Filip Maj
>Priority: Major
>  Labels: backlog
>
> Our docs show platform-getting-started and plugin-development guides for a 
> variety of platforms.  A few of those are already officially deprecated by 
> Cordova (such as blackberry10 and WP8). Some I think are unofficially 
> deprecated (ubuntu).
> I think we should:
> a) remove or at least make clear in our docs the platforms that are 
> deprecated/removed
> b) reflect any needed changes on the website 
> (http://cordova.apache.org/#supported_platforms_section)
> h1. List of Docs That Need Updating
> * [Platform Support 
> Guide|https://cordova.apache.org/docs/en/latest/guide/support/index.html]: 
> has a matrix of platform/plugin.
> * https://cordova.apache.org/docs/en/latest/config_ref/images.html has BB10 
> and WP8 sections
> * https://cordova.apache.org/docs/en/latest/cordova/storage/storage.html 
> supported platforms list BB10 in some sections
> * https://cordova.apache.org/docs/en/latest/guide/appdev/whitelist/index.html 
> has BB10 section
> * https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/index.html 
> has BB10 and WP8 sections
> * https://cordova.apache.org/docs/en/latest/guide/hybrid/webviews/index.html 
> has a WP8 section link
> * https://cordova.apache.org/docs/en/latest/guide/next/index.html has some 
> BlackBerry content
> * https://cordova.apache.org/docs/en/latest/config_ref/index.html has tons of 
> BlackBerry content:
> ** remove blackberry icon from {{BackgroundColor(string)}}
> ** remove {{ChildBrowser(string)}} (blackberry only)
> ** remove {{HideKeyboardFormAccessoryBar(boolean)}} (blackberry only)
> ** remove {{PopupBlocker(string)}} (blackberry only)
> ** remove {{WebSecurity(string)}} (blackberry only)
> * https://cordova.apache.org/docs/en/latest/cordova/events/events.html needs 
> to remove BB and WP8 columns
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-cli/index.html#supported-platforms
> * 
> https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#engines-and-engine
>  supported platforms
> * https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#platform 
> allowed values
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-battery-status/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-camera/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-geolocation/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-globalization/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-media-capture/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-network-information/index.html
> * 
> https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-vibration/index.html
> * 
> h1. List of Docs That Need Removing
> * 
> https://cordova.apache.org/docs/en/latest/guide/platforms/blackberry10/home.html
> * https://cordova.apache.org/docs/en/latest/guide/platforms/osx/index.html
> * https://cordova.apache.org/docs/en/latest/guide/platforms/ubuntu/index.html
> * https://cordova.apache.org/docs/en/latest/guide/platforms/wp8/home.html
> * 
> https://cordova.apache.org/docs/en/latest/guide/platforms/blackberry10/plugin.html
> * https://cordova.apache.org/docs/en/latest/guide/platforms/wp8/plugin.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-13990) InAppBrowser should use separate OverrideUserAgent from CDVViewController

2018-12-14 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-13990.
---
Resolution: Duplicate

Now an issue at Github: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/372
 

> InAppBrowser should use separate OverrideUserAgent from CDVViewController
> -
>
> Key: CB-13990
> URL: https://issues.apache.org/jira/browse/CB-13990
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-inappbrowser
>Affects Versions: cordova-ios 4.5.0
>Reporter: Jacob G
>Priority: Major
>
> Currently, there is an OverrideUserAgent setting that will affect both the 
> core webview (i.e., that runs the main web app) as well as the inappbrowser 
> plugin. It would be great to be able to separate into two setting, i.e., have 
> an InAppBrowserOverrideUserAgent. That's because I'd like my own app to know 
> the true useragent, while sending a different useragent to other web sites.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-10958) scripts/after_install.js overwrites content @src attribute

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-10958.
-
Resolution: Fixed

PR was merged long time ago.

> scripts/after_install.js overwrites content @src attribute
> --
>
> Key: CB-10958
> URL: https://issues.apache.org/jira/browse/CB-10958
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-labs
>Reporter: Andreas Kohn
>Priority: Major
>  Labels: triaged
>
> The scripts/after_install.js script of the cordova-labs-local-webserver 
> overwrites the 'src' attribute of the 'content' element when it is executed, 
> always setting the port to '0' (randomised).
> This might be fine if one is working with the environment on a single 
> checkout on a single machine, where one merely has to modify the file 
> afterwards; it might also be fine when one opts to commit the platforms/ and 
> plugins/ directories to source control.
> This doesn't seem a proper behaviour or assumption though: For example, in 
> our environment we use the https://github.com/SamVerschueren/gulp-cordova 
> plugins to produce a reproducible state as part of the integration build. A 
> workaround would be to post-process the config.xml and restore the port we 
> need, but it is fairly easy to fix in the cordoba-labs-local-webserver plugin.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-10953) local-webserver plugin crashes with missing token

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-10953.
-
Resolution: Fixed

PR was closed as similar one was merged.

> local-webserver plugin crashes with missing token
> -
>
> Key: CB-10953
> URL: https://issues.apache.org/jira/browse/CB-10953
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-labs
>Reporter: Andreas Kohn
>Priority: Major
>  Labels: ios, triaged
>
> (This is the JIRA issue for https://github.com/apache/cordova-plugins/pull/22)
> In our cordova application we're trying to get the local-webserver plugin to 
> work, so that we can use the new web view. Due to (yet) unknown reasons 
> however we end up in the error situation where the `cdvToken` is missing from 
> a URL.
> This triggers a SIGABRT, because the completion handler in the native code is 
> invoked twice, and at the second invocation an assertion fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-6947) Moving files after unzip is very slow on Android

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-6947.
--
Resolution: Auto Closed

[https://github.com/apache/cordova-app-harness] is deprecated.

> Moving files after unzip is very slow on Android
> 
>
> Key: CB-6947
> URL: https://issues.apache.org/jira/browse/CB-6947
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-app-harness
>Affects Versions: 3.5.0
> Environment: Appharness on Android
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Major
>
> When pushing an application with a large number of files, the process of 
> moving the files from the cache to the app space is very slow. This is 
> related to the file count more than the size of the files.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-6975) Large files and high file count take a long time and will crash the zip process

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-6975.
--
Resolution: Auto Closed

[https://github.com/apache/cordova-app-harness] is deprecated

> Large files and high file count take a long time and will crash the zip 
> process
> ---
>
> Key: CB-6975
> URL: https://issues.apache.org/jira/browse/CB-6975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-app-harness
> Environment: Harness push on OSX at least - likely all platforms
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Major
>
> Directories with a number of large files cause the zip process to experience 
> exponential tie and memory use.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-566) Add manual tests for all Capture APIs and reorganize audio tests

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-566.
---
Resolution: Auto Closed

> Add manual tests for all Capture APIs and reorganize audio tests
> 
>
> Key: CB-566
> URL: https://issues.apache.org/jira/browse/CB-566
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-mobile-spec
>Affects Versions: 1.6.1
>Reporter: Filip Maj
>Priority: Major
> Fix For: 3.6.0
>
>
> Currently we do not have manual tests for using the capture API to capture an 
> image, audio and video.
> Also, we should reorganize the audio manual tests. These should be renamed to 
> "media".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9983) iOS Simulator isn't killed by medic

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-9983.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> iOS Simulator isn't killed by medic
> ---
>
> Key: CB-9983
> URL: https://issues.apache.org/jira/browse/CB-9983
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Affects Versions: Master
>Reporter: Dmitry Blotsky
>Priority: Major
>  Labels: medic, simulator
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The {{medic kill}} command isn't killing the iOS 9.1 simulator in Xcode 7.1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-6831) AppHarness - Fix header licenses (Apache RAT report)

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-6831.
--
Resolution: Auto Closed

[https://github.com/apache/cordova-app-harness] is deprecated.

> AppHarness - Fix header licenses (Apache RAT report)
> 
>
> Key: CB-6831
> URL: https://issues.apache.org/jira/browse/CB-6831
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-app-harness
>Reporter: Shazron Abdullah
>Priority: Major
> Fix For: 3.6.0
>
>
> JavaDocs are generated and so license header is optional
> Generated files do not required license headers
> Add a .ratExcludes file for files to exclude
> 8 Unknown Licenses
> ***
> Unapproved licenses:
>   ./README.md
>   ./AppHarnessUI/README.md
>   ./CacheClear/README.md
>   ./UrlRemap/README.md
>   ./harness-push/README.md
>   ./www/cdvah/css/topcoat-mobile-light.min.css
>   ./www/cdvah/js/libs/angular-route.js
>   ./www/cdvah/js/libs/angular.js



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13876) How can I measure code coverage of auto tests?

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-13876.
-
Resolution: Auto Closed

Migrated to https://github.com/apache/cordova-plugin-test-framework/issues/33

> How can I measure code coverage of auto tests?
> --
>
> Key: CB-13876
> URL: https://issues.apache.org/jira/browse/CB-13876
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-plugin-test-framework
>Reporter: Adriano Di Giovanni
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-14207) Cannot Specify Platform Version

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-14207.
-
Resolution: Cannot Reproduce

> Cannot Specify Platform Version
> ---
>
> Key: CB-14207
> URL: https://issues.apache.org/jira/browse/CB-14207
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Darrel O'Pry
>Assignee: Jan Piotrowski (Sujan)
>Priority: Major
>
> When I run
> ./node_modules/.bin/cordova-paramedic --cleanUpAfterRun --verbose 
> --platform android@6.3.0 --plugin .
> I get the error 
>    platform is not supported :: android@6.3.0
> I expect to install cordova-android version 6.3.0 instead
> I'm using Windows 10, node v10.0.0, cordova-paramedic 0.5.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-9071) Update test framework plugin to use Jasmine 2.4.1

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-9071.

Resolution: Fixed

PR was merged

> Update test framework plugin to use Jasmine 2.4.1
> -
>
> Key: CB-9071
> URL: https://issues.apache.org/jira/browse/CB-9071
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-plugin-test-framework
>Reporter: Marcus Pridham
>Priority: Minor
>
> The test framework plugin is currently using Jasmine 2.2.0.  I would like to 
> update this version to the latest Jasmine release (currently 2.4.1).  It 
> fixes some issues with beforeAll and focused tests among other things.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-12068) False Error: Camera doesn't save the image on Moto X Play

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-12068:

Component/s: (was: cordova-mobile-spec)

> False Error: Camera doesn't save the image on Moto X Play
> -
>
> Key: CB-12068
> URL: https://issues.apache.org/jira/browse/CB-12068
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-camera
>Reporter: Joe Bowser
>Assignee: Joe Bowser
>Priority: Minor
>
> The Camera Mobile Spec Manual Test  fails on the Moto X Play running Android 
> 6.0.1.
> Meanwhile, if you take the example code, it works as expected.  There could 
> be an issue with the mobile-spec test and this device.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-14208) 'rm' is not recognized as an internal or external command, operable program or batch file.

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-14208.
-
Resolution: Auto Closed

migrated to https://github.com/apache/cordova-paramedic/issues/66

> 'rm' is not recognized as an internal or external command, operable program 
> or batch file.
> --
>
> Key: CB-14208
> URL: https://issues.apache.org/jira/browse/CB-14208
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
> Environment: Windows 10, Node 10, cordova-paramedic 0.5.0
>Reporter: Darrel O'Pry
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> When running any cordova paramedic command I get the error message 
> 'rm' is not recognized as an internal or external command,
> operable program or batch file.
> result code is : 1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12302) Windows platform support for Appium testing

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-12302.
-
Resolution: Auto Closed

Migrated to https://github.com/apache/cordova-plugin-test-framework/issues/32

> Windows platform support for Appium testing
> ---
>
> Key: CB-12302
> URL: https://issues.apache.org/jira/browse/CB-12302
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-paramedic
>Affects Versions: Master
> Environment: Windows
>Reporter: Alexander Sorokin
>Priority: Major
>  Labels: CI, test
>
> Since recent release, Appium supports testing of Windows Store apps.
> We should make appropriate changes to paramedic and our existing Appium tests 
> to make use of this new feature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7178) config.xml no longer needs to be copied

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-7178.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> config.xml no longer needs to be copied
> ---
>
> Key: CB-7178
> URL: https://issues.apache.org/jira/browse/CB-7178
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>Priority: Minor
>
> In mobilespec, config.xml is no longer in the www directory, so we don't need 
> to do this copy step anymore.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-10889) Medic Log for iOS should filter out old logs

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-10889.
---
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Medic Log for iOS should filter out old logs
> 
>
> Key: CB-10889
> URL: https://issues.apache.org/jira/browse/CB-10889
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-medic
> Environment: OS X, iOS
>Reporter: Richard B Knoll
>Priority: Major
>  Labels: ios, triaged
>
> Medic log for iOS just dumps the log for the simulator application. That 
> means that if the run step fails and the simulator doesn't launch, the logs 
> that will be dumped will be the same logs from the last time the simulator 
> ran successfully. The running tests step is limited at something like 25 
> minutes, so we should just filter the logs to only include entries within 
> that range.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4005) InAppBrowser use case needs to use a different page, not one that includes cordova.js

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4005.

Resolution: Auto Closed

> InAppBrowser use case needs to use a different page, not one that includes 
> cordova.js
> -
>
> Key: CB-4005
> URL: https://issues.apache.org/jira/browse/CB-4005
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 2.8.0
>Reporter: Tim Kim
>Assignee: Joe Bowser
>Priority: Minor
>
> Related to issue: 
> https://issues.apache.org/jira/browse/CB-3665#comment-13692456
> Steps to reproduce:
> - Go to the In App Browser manual tests
> - Under Local URL, hit any of the last three tests (eg, Target=Blank: 
> InAppBrowser, Target=Random: InAppBrowser, Target=Random, no location bar: 
> InAppBrowser).
> - App will launch inapp browser
> - Hit back button
> - App unresponsive (can still scroll), but can't click on any buttons
> - Logcat shows a stream of error messages: I/Web Console( 5375): 
> processMessage failed: invalid message: at 
> file:///android_asset/www/cordova.js:977



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-11293) Cordova Paramedic failing on iPhone-6-Plus Simulator

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-11293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-11293.
-
Resolution: Cannot Reproduce

> Cordova Paramedic failing on iPhone-6-Plus Simulator
> 
>
> Key: CB-11293
> URL: https://issues.apache.org/jira/browse/CB-11293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Sarangan Rajamanickam
>Priority: Major
>  Labels: triaged
>
> I have found that there are atleast 3 plugins
> 1. Globalization
> 2. Media Capture
> 3. Geolocation
> fail crashes when tested with paramedic. This gives the error 
> "com.apple.idssimualtorsupport.errors"  & "NSUnderlyingError=0x7f96faf01c30 
> {Error Domain=NSMachErrorDomain Code=268435459 "(ipc/send) invalid 
> destination port"
> Note: I do not have logs at this moment. I will try testing once again and 
> attach the logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-10447) CI should have a matrix for NPM and Node versions

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-10447.
---
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> CI should have a matrix for NPM and Node versions
> -
>
> Key: CB-10447
> URL: https://issues.apache.org/jira/browse/CB-10447
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-medic
>Reporter: Dmitry Blotsky
>Priority: Major
>  Labels: appveyor, ci, medic, travis
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Node versions: 0.12, 4.2, 5.5
> NPM versions: 2.5, 3.3



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-5746) Android deploy reports success if no devices found

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-5746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-5746.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Android deploy reports success if no devices found
> --
>
> Key: CB-5746
> URL: https://issues.apache.org/jira/browse/CB-5746
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Affects Versions: Master
> Environment: Android master or release test with no available 
> development devices detected. 
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Major
>
> [Medic] Android master or release test with no available development devices 
> detected. The test completes with success after the compile instead of 
> reporting a failure to test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-10954) Builders should indicate OS versions

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-10954.
---
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Builders should indicate OS versions
> 
>
> Key: CB-10954
> URL: https://issues.apache.org/jira/browse/CB-10954
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Reporter: Richard B Knoll
>Priority: Minor
>  Labels: triaged
>
> The builders should make it clear what OS they are testing on. For instance, 
> both the Android builders currently run KitKat. Not sure if we should print 
> it during the build, print it in mobilespec logs, or rename the builders. 
> Probably not mobilespec logs, because that would be lost in the case of an 
> app crash.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-6829) Medic - Fix header licenses (Apache RAT report)

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-6829.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Medic - Fix header licenses (Apache RAT report)
> ---
>
> Key: CB-6829
> URL: https://issues.apache.org/jira/browse/CB-6829
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-medic
>Reporter: Shazron Abdullah
>Priority: Major
> Fix For: 3.6.0
>
>
> JavaDocs are generated and so license header is optional
> Generated files do not required license headers
> Add a .ratExcludes file for files to exclude
> 37 Unknown Licenses
> ***
> Unapproved licenses:
>   ./README.md
>   ./build_android.js
>   ./build_blackberry10.js
>   ./build_ios.js
>   ./build_windows8.js
>   ./build_wp8.js
>   ./buildinfo.js
>   ./checkout.js
>   ./config.json.sample
>   ./config.json.sample-windows
>   ./install.js
>   ./master.cfg
>   ./repos.json
>   ./writejson.js
>   ./cordova-plugin-medic/README.md
>   ./cordova-plugin-medic/plugin.xml
>   ./runner/runcca.sh
>   ./runner/runchrome.sh
>   ./runner/testrunner.js
>   ./src/build/makers/android.js
>   ./src/build/makers/blackberry10.js
>   ./src/build/makers/ios.js
>   ./src/build/makers/windows8.js
>   ./src/build/makers/wp8.js
>   ./src/build/makers/windows8/deploy.js
>   ./src/build/makers/wp8/deploy.js
>   ./src/build/makers/wp8/devices.js
>   ./src/couchdb/views/errors.json
>   ./src/couchdb/views/results.json
>   ./src/dashboard/templates/index.html
>   ./src/dashboard/templates/css/medic.css
>   ./src/dashboard/templates/img/platforms.svg
>   ./src/dashboard/templates/js/highcharts.src.js
>   ./src/dashboard/templates/js/index.js
>   ./src/dashboard/templates/js/masterdetail.js
>   ./src/dashboard/templates/js/moment.min.js
>   ./src/utils/patch_wp8_template.js



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9801) Add init.d scripts for services on cordova-vm.apache.org

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-9801.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Add init.d scripts for services on cordova-vm.apache.org
> 
>
> Key: CB-9801
> URL: https://issues.apache.org/jira/browse/CB-9801
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-medic
>Reporter: Dmitry Blotsky
>Priority: Major
>  Labels: admin, ci, linux
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The services on cordova-vm.apache.org need to run on startup, and to run 
> forever.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-10514) Medic cordova commands should be verbose

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-10514.
---
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Medic cordova commands should be verbose
> 
>
> Key: CB-10514
> URL: https://issues.apache.org/jira/browse/CB-10514
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-medic
>Reporter: Richard B Knoll
>Priority: Major
>
> We should be adding verbose flags to commands like {{cordova run}} to help us 
> diagnose some of the errors we've been getting.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4416) filetransfer.spec.15 should handle unknown host

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4416.

Resolution: Auto Closed

> filetransfer.spec.15 should handle unknown host
> ---
>
> Key: CB-4416
> URL: https://issues.apache.org/jira/browse/CB-4416
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 2.9.0
> Environment: Motorola Verizon Tablet
> Model : Xoom
> Android Version : 4.0.4
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
> Attachments: Motorola.fileTransfer.log.txt, 
> filetransfer.spec.15failing.jpg, motorola.filetransfer.spec.15.png
>
>
> The upload and download tests are redirected to a search web site and 
> incorrectly call the downloadWin/uploadWin function.
> See attached capture screens and logcat.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9197) Add tests to cordova-medic

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-9197.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Add tests to cordova-medic
> --
>
> Key: CB-9197
> URL: https://issues.apache.org/jira/browse/CB-9197
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-medic
>Reporter: Dmitry Blotsky
>Priority: Major
>  Labels: medic, tests
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Tests should be added for the medic CLI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-8873) Add support for crosswalk to the Android builder

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-8873.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Add support for crosswalk to the Android builder
> 
>
> Key: CB-8873
> URL: https://issues.apache.org/jira/browse/CB-8873
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-medic
>Reporter: Nikhil Khandelwal
>Priority: Major
>
> One approach for this to work could be as part of the cordova-android-osx & 
> cordova-android-win builder, there could be two steps added:
> - Add the latest version of the Crosswalk plugin from npm
> - Run the core plugin tests again.
> Alternatively, there could be a separate builder for this altogether - though 
> that would have of redundant setup steps.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-8507) Medic documentation contains wrong file names for cordova-config.json and cordova-repos.json

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-8507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-8507.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Medic documentation contains wrong file names for cordova-config.json and 
> cordova-repos.json
> 
>
> Key: CB-8507
> URL: https://issues.apache.org/jira/browse/CB-8507
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Reporter: Dmitriy Barkalov
>Priority: Minor
>
> Medic documentation contains wrong file names for cordova-config.json and 
> cordova-repos.json.
> Also some notes should be added about CouchDB server.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-12302) Windows platform support for Appium testing

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-12302:

Component/s: (was: Appium)

> Windows platform support for Appium testing
> ---
>
> Key: CB-12302
> URL: https://issues.apache.org/jira/browse/CB-12302
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-paramedic
>Affects Versions: Master
> Environment: Windows
>Reporter: Alexander Sorokin
>Priority: Major
>  Labels: CI, test
>
> Since recent release, Appium supports testing of Windows Store apps.
> We should make appropriate changes to paramedic and our existing Appium tests 
> to make use of this new feature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-6171) get a testsuite for the CLI that can verify commands work consistently across workstation OS's

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-6171.

Resolution: Auto Closed

> get a testsuite for the CLI that can verify commands work consistently across 
> workstation OS's
> --
>
> Key: CB-6171
> URL: https://issues.apache.org/jira/browse/CB-6171
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-cli, cordova-mobile-spec
>Affects Versions: 3.3.0, 3.4.0
>Reporter: Martin Gonzalez
>Assignee: Martin Gonzalez
>Priority: Major
>  Labels: cordova-cli, mobilespec,, test,, testsuite
> Fix For: 3.6.0
>
>
> The Windows workstation appears to get much less CLI love than OSX. Same is 
> probably true for Linux. We don't want to be surprised by problems with the 
> CLI on Windows workstations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7351) Make proposal for mobile-spec release process

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7351.

Resolution: Auto Closed

> Make proposal for mobile-spec release process
> -
>
> Key: CB-7351
> URL: https://issues.apache.org/jira/browse/CB-7351
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-mobile-spec
>Reporter: Steve Gill
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7177) Update repos instead of deleting and cloning them

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-7177.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> Update repos instead of deleting and cloning them
> -
>
> Key: CB-7177
> URL: https://issues.apache.org/jira/browse/CB-7177
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>Priority: Minor
>
> Tests fail frequently because cloning fails.  We don't need to clone so 
> much—we can just update the repos.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7624) cordova-medic and couchdb - getting it up and running

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-7624.
--
Resolution: Auto Closed

cordova-medic is deprecated, closing all Jira issues. Thanks for reporting this 
back in the day!

> cordova-medic and couchdb - getting it up and running
> -
>
> Key: CB-7624
> URL: https://issues.apache.org/jira/browse/CB-7624
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-medic
>Affects Versions: 3.5.0, 3.6.0
> Environment: All
>Reporter: Angela Fowler
>Priority: Minor
>
> The setup instructions at https://github.com/apache/cordova-medic have
> 1. Get and install couchdb 1.3.1 
> The current version of coudb is 1.6. Version 1.3.1 is not listed in the 
> archive at
> http://archive.apache.org/dist/couchdb/
> Is there another recommended version?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7239) Mobilespec should provide instructions for linking cordova-lib into cordova-cli/node_modules

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7239.

Resolution: Fixed

coho npm-link exists now

> Mobilespec should provide instructions for linking cordova-lib into 
> cordova-cli/node_modules
> 
>
> Key: CB-7239
> URL: https://issues.apache.org/jira/browse/CB-7239
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-coho, cordova-mobile-spec
>Affects Versions: 3.5.0
>Reporter: Jenny Gee
>Priority: Major
>
> {quote}
> $ ./cordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
> Creating project. If you have any errors, it may be from missing repositories.
> To clone needed repositories (android as an example):
>   ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r cli
> To update all repositories:
>   ./cordova-coho/coho repo-update
> {quote}
> 
> expected:
> 1. include {{-r lib}} (or however it's spelled)
> 2. if platforms are listed (as in {{--blackberry10}}), those should be in 
> {{-r}}'s
> 3. there should be instructions for symlinking platforms as 
> ~/.cordova/lib/{{platform}}/{{version}}
> 4. after {{coho repo-update}} there should be instructions for {{npm install}}
> 5. after {{npm install}} instructions, there should be a command for 
> _symlinking_ {{cordova-lib}} into {{cordova-cli/node-modules}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7095) [Mobilespec] atob function on file.spec 85 & 92, is ignored during test

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7095.

Resolution: Auto Closed

> [Mobilespec] atob function on file.spec 85 & 92, is ignored during test
> ---
>
> Key: CB-7095
> URL: https://issues.apache.org/jira/browse/CB-7095
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 3.5.0
>Reporter: Martin Gonzalez
>Priority: Major
>  Labels: file, mobilespec
> Fix For: 3.6.0
>
>
> The atob function that decodes a string for the file spec 85 and 92 it's been 
> completely ignored during the test execution.
> The returned object from the runReaderTest function it should returns an 
> encoded string content from the a file, how ever in the expectation statement 
> it tries to decode it and compare it with an encoded one, which it doesn't 
> make sense.
> Even so, that specific operation which compares the encoded string with the 
> javascript atob function to encode a string it is completely ignored during 
> the execution, it just continues with the next line and so.
> The problem is that the fileData string that it is trying to decode it 
> contains Unicode characters and it cannot handle those characters.
> I've tried with the other function btoa, but it also throws a error, it is 
> problem about the Unicode caracters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4879) mobilepec file tests have syntax errors thrown in console log.

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4879.

Resolution: Auto Closed

> mobilepec file tests have syntax errors thrown in console log.
> --
>
> Key: CB-4879
> URL: https://issues.apache.org/jira/browse/CB-4879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: Master
> Environment: identified on mobilespec for android. 
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Minor
>
> Logcat shows errors about undefined symbols.
> several occurrences of deleteFile(fileName) should be outputFileName



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4662) Bad code in file autotest?

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4662.

Resolution: Auto Closed

> Bad code in file autotest?
> --
>
> Key: CB-4662
> URL: https://issues.apache.org/jira/browse/CB-4662
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: David Kemp
>Priority: Minor
>
> By inspection, this code in the File autotests seems incorrect
> {code}
> function arrayBufferEqualsString(buf, str) {
> var buf = new Uint8Array(ab);
> var match = buf.length == str.length;
> for (var i = 0; match && i < buf.length; i++) {
> match = buf[i] == str.charCodeAt(i);
> }
> return match;
> }
> {code}
> Where does that _ab_ come from?
> Ref: 
> https://github.com/apache/cordova-mobile-spec/blob/master/autotest/tests/file.tests.js



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4810) KeyboardShrinksView needs a mobile-spec test page.

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4810.

Resolution: Auto Closed

> KeyboardShrinksView needs a mobile-spec test page.
> --
>
> Key: CB-4810
> URL: https://issues.apache.org/jira/browse/CB-4810
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
> Environment: iOS
>Reporter: Andrew Grieve
>Assignee: Andrew Grieve
>Priority: Minor
>
> Test page should use body height=100% and bottom-positioned elements.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-5277) Contacts specs uses gender property which does not exists.

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-5277.

Resolution: Auto Closed

> Contacts specs uses gender property which does not exists.
> --
>
> Key: CB-5277
> URL: https://issues.apache.org/jira/browse/CB-5277
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 3.1.0
>Reporter: Shingo Toda
>Priority: Minor
>  Labels: test
>
> In mobile-spec, some of contacts.specs use gender property which does not 
> exists.
> - contacts.spec.8
> - contacts.spec.17
> - contacts.spec.20
> Actually contacts.spec.20 really save a contact data on device.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7476) [mobile-spec] add missing licenses

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7476.

Resolution: Auto Closed

> [mobile-spec] add missing licenses
> --
>
> Key: CB-7476
> URL: https://issues.apache.org/jira/browse/CB-7476
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Marcel Kinard
>Priority: Minor
>
> The following files are missing a license. It should be added before the next 
> release.
> {code}
>   ./www/autotest/index.js
>   ./www/autotest/pages/all.js
>   ./www/autotest/pages/run-tests.js
>   ./www/battery/index.js
>   ./www/events/index.js
>   ./www/keyboard/index.js
>   ./www/keyboard/window-onerror.js
>   ./www/lazyloadjs/do-not-write-cordova-script.js
>   ./www/lazyloadjs/index.js
>   ./www/misc/index.js
>   ./www/misc/page2.js
>   ./www/misc/page3A.js
>   ./www/sql/index.js
>   ./www/storage/index.js
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7713) Add new-style tests to createmobilespec --plugman

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7713.

Resolution: Fixed

> Add new-style tests to createmobilespec --plugman
> -
>
> Key: CB-7713
> URL: https://issues.apache.org/jira/browse/CB-7713
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-mobile-spec
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Add new-style plugin tests when using --plugman in createmobilespec script.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7691) cordova-mobile-spec bridge test unhandled exception

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7691.

Resolution: Auto Closed

> cordova-mobile-spec bridge test unhandled exception
> ---
>
> Key: CB-7691
> URL: https://issues.apache.org/jira/browse/CB-7691
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 3.6.0
> Environment: Windows 8.1
>Reporter: Angela Fowler
>Priority: Minor
>
> There is only one bridge test which is an Android test. Clicking "Run Bridge 
> Tests" on windows causes the app to crash.
> Unhandled exception at line 31, column 5 in 
> ms-appx://44947ea0-49dd-11e4-8a50-6f9dd5c9a1fc/www/autotest/html/HtmlReporter.js
> 0x800a138f - JavaScript runtime error: Unable to get property 'suiteComplete' 
> of undefined or null reference



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-286) create a manual test for orientation changes and events

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-286.
---
Resolution: Auto Closed

> create a manual test for orientation changes and events
> ---
>
> Key: CB-286
> URL: https://issues.apache.org/jira/browse/CB-286
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-mobile-spec
>Reporter: Becky Gibson
>Priority: Minor
>  Labels: audit
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-3521) MobileSpec - Battery autotest should verify batterystatus property object

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-3521.

Resolution: Fixed

> MobileSpec - Battery autotest should verify batterystatus property object
> -
>
> Key: CB-3521
> URL: https://issues.apache.org/jira/browse/CB-3521
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-mobile-spec
>Affects Versions: 2.7.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: battery, test,
> Attachments: IMG_3521.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> MobileSpec - Battery autotest should verify batterystatus property object



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-3484) MobileSpec - Camera test doesn't test for cleanup function

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-3484.

Resolution: Fixed

> MobileSpec - Camera test doesn't test for cleanup function
> --
>
> Key: CB-3484
> URL: https://issues.apache.org/jira/browse/CB-3484
> Project: Apache Cordova
>  Issue Type: Test
>  Components: cordova-mobile-spec
>Affects Versions: 2.7.0, 2.8.0
>Reporter: Lisa Seacat DeLuca
>Assignee: Lisa Seacat DeLuca
>Priority: Minor
>  Labels: camera,, test,
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The Mobilespec automated test for camera doesn't check for the cleanup 
> function



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-7916) cordova-mobile-spec benchmark autobench crash

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-7916.

Resolution: Auto Closed

> cordova-mobile-spec benchmark autobench crash
> -
>
> Key: CB-7916
> URL: https://issues.apache.org/jira/browse/CB-7916
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-windows
> Environment: Windows 8
>Reporter: Angela Fowler
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> 1. deviceReady is undefined
> 2. alert is undefined
> 3. xhr.send RESOURCE_NOT_FOUND



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-4050) The async automated test are unnecessarily slow

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-4050.

Resolution: Auto Closed

> The async automated test are unnecessarily slow
> ---
>
> Key: CB-4050
> URL: https://issues.apache.org/jira/browse/CB-4050
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-mobile-spec
>Reporter: Xavier Vergés
>Priority: Minor
>
> The automated tests in {{cordova-mobile-spec/autotest}} are coded to wait 
> only for the expected callback and do not wait for the callback that will 
> only be called when the test fails. This causes some of the failing tests to 
> have to wait for a timeout.
> {code:JavaScript|title=test that expects fail callback to be called}
> // create jasmine spies as a success and failure callback
> var win = ...;
> var fail = ...;
> // make call, passing the two spies
> runs(function() {xxx(win, fail); });
> // wait for fail to be called 
> waitsFor(function() { return fail.wasCalled; }, 
>   "error callback never called", 
>   Tests.TEST_TIMEOUT);
> // verify the spies state
> runs(function() {
> expect(win).not.toHaveBeenCalled();
> expect(fail).toHaveBeenCalled();
> });
> {code}
> If the implementation is broken and calls the {{win}} callback, the test 
> won't finish until TEST_TIMEOUT expires. The above pattern is pervasive in 
> the tests in {{cordova-mobile-spec/autotest}}
> If the code would check that any of the callbacks have been called
> {code:JavaScript}
> // wait for either of the two callbacks to be called 
> waitsFor(function() { return fail.wasCalled | win.wasCalled; }, 
>   "callback never called", 
>   Tests.TEST_TIMEOUT);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-6348) Echo plugin did not respond when running "benchmarks"->"Exec Bridge"

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-6348.

Resolution: Auto Closed

> Echo plugin did not respond when running "benchmarks"->"Exec Bridge"
> 
>
> Key: CB-6348
> URL: https://issues.apache.org/jira/browse/CB-6348
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 3.4.0
> Environment: iOS
>Reporter: glmnbeyond
>Priority: Major
>
> Steps to reproduce it:
> 1) Using createmobilespec.sh to create mobilespec project
> 2) Load mobile-spec tests
> 3) Navigate to "Benchmarks" and click "Exec Bridge"
> 4) Click "Start"
> Results:
> Popup an alert message "Echo plugin did not respond"
> Expected:
> No alert messages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-5053) Add our own sample video (appropriately licensed) for tests

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-5053.

Resolution: Auto Closed

> Add our own sample video (appropriately licensed) for tests
> ---
>
> Key: CB-5053
> URL: https://issues.apache.org/jira/browse/CB-5053
> Project: Apache Cordova
>  Issue Type: Task
>  Components: cordova-mobile-spec, cordova-website
>Affects Versions: Master
>Reporter: Shazron Abdullah
>Priority: Major
> Fix For: 3.6.0
>
>
> Video to get:
> http://www.bigbuckbunny.org/index.php/download/
> License of video (CC BY 3.0):
> http://www.bigbuckbunny.org/index.php/about/
> HOWEVER, according to LEGAL-96 I'm not sure this is approved by policy, so we 
> may need to seek an alternative.
> Video referenced in test:
> https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=blob;f=inappbrowser/video.html;h=64ea3d1196534763801823327aa563c0d8546280;hb=3cfe781
> Add to our website, just like 
> http://cordova.apache.org/downloads/BlueZedEx.mp3 (for our audio tests).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-3061) Add mobile-spec test for ajax error/fail callback being called after server returns 401 Unauthorized

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-3061.

Resolution: Auto Closed

> Add mobile-spec test for ajax error/fail callback being called after server 
> returns 401 Unauthorized
> 
>
> Key: CB-3061
> URL: https://issues.apache.org/jira/browse/CB-3061
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
> Environment: iOS
>Reporter: Shazron Abdullah
>Priority: Major
> Fix For: 3.6.0
>
>
> On iOS it doesn't seem to be be calling the failure callback. See CB-2415
> We already have FileTransfer tests for Basic Auth, we can use the same server 
> endpoints for this test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13910) [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-13910.
-
Resolution: Won't Fix

Individual plugin test failures should be reported at the plugin repo.

> [Android] 26 mobile-spec auto test failures with cordova-android 7.1.0-dev
> --
>
> Key: CB-13910
> URL: https://issues.apache.org/jira/browse/CB-13910
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
> Environment:  !Screenshot_20180220-171147.png|width=500! 
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
> Attachments: Screenshot_20180220-171128.png, 
> Screenshot_20180220-171147.png
>
>
>  !Screenshot_20180220-171128.png|width=500! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-6194) InAppBrowser "target=_blank" test failed in iOS!

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-6194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-6194.
--
Resolution: Fixed

ancient, "by design" as per comment

> InAppBrowser "target=_blank" test failed in iOS!
> 
>
> Key: CB-6194
> URL: https://issues.apache.org/jira/browse/CB-6194
> Project: Apache Cordova
>  Issue Type: Wish
>  Components: cordova-mobile-spec, cordova-plugin-inappbrowser
> Environment: InAppBrowser v0.3.3
>Reporter: glmnbeyond
>Priority: Major
>  Labels: Triaged
>
> Steps to repro:
> 1. Load mobile-spec and test [MobileSpec->InAppBrowser->Local 
> URL->target=_blank]
> Expected result: opens successfully in InAppBrowser with locationBar at top.
> Actual result: locationBar is at bottom in iOS!
> AFAIK we can't specify locationBar's position in iOS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-7635) Plugin auto tests missing for 3.6.3 recommended plugin versions

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-7635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-7635.
--
Resolution: Auto Closed

> Plugin auto tests missing for 3.6.3 recommended plugin versions
> ---
>
> Key: CB-7635
> URL: https://issues.apache.org/jira/browse/CB-7635
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: 3.6.0
>Reporter: Angela Fowler
>Priority: Major
>
> I set up a cordova-mobile-spec project using createmobilespec.js with plugin 
> versions as listed in the 3.6.3 news 
> e.g.  cordova-plugin-camera: 0.3.1
> Many of the plugin tests seem to be missing e.g. 
> https://github.com/apache/cordova-plugin-camera/tree/r0.3.2/tests
> does not exist in
> https://github.com/apache/cordova-plugin-camera/tree/r0.3.1 
> The camera tests are no longer in the autotest folder of cordova-mobile-spec 
> as they were for 3.4 
> https://github.com/apache/cordova-mobile-spec/blob/3.4.x/autotest/tests/camera.tests.js
>  
> Is there a report showing how many tests passed for 3.6? A mobilespec project 
> set up with the newer plugins had ~400 specs under Plugin Auto Tests. When 
> the older plugins were used there were only 147 specs.
> Has 3.6 been tested with the newer versions of plugins? Should/could these be 
> used instead? 
> The plugins release on the same day i.e. 22 Sep has the newer plugin versions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-10089) mobile-spec -> Benchmarks -> Autobench XHR errors

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-10089.
-
Resolution: Duplicate

Migrated to https://github.com/apache/cordova-mobile-spec/issues/158

> mobile-spec -> Benchmarks -> Autobench XHR errors
> -
>
> Key: CB-10089
> URL: https://issues.apache.org/jira/browse/CB-10089
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Shazron Abdullah
>Priority: Major
>
> First it pops up an alert:
> "Some prereq XHR stuff to get license content failed mang"
> Then a lot of these alerts:
> "There was a problem during XHR file read!"
> The other manual tests under Benchmarks ran fine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-12924) 1 failure of file plugin in mobilespec autotest

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-12924.
---
Resolution: Won't Fix

Original issue was also closed

> 1 failure of file plugin in mobilespec autotest 
> 
>
> Key: CB-12924
> URL: https://issues.apache.org/jira/browse/CB-12924
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Affects Versions: Master
> Environment: Cordova version: 6.3.0-dev
> Platform: Android
> Version: 7.1.2
> Model: Nexus 6P
>Reporter: Haitao Huo
>Priority: Major
>  Labels: android
> Attachments: mobilespec-file.PNG
>
>
> Build and install mobilespec on latest master at [6a18318 | 
> https://github.com/apache/cordova-mobile-spec/commit/6a18318]. The file 
> plugin get 1 failure.
> Logs when debug it in chrome inspector
> {code:javascript}
> cordova.js:295 Spec 'cordova-plugin-file-tests.tests >> File API Backwards 
> compatibility file.spec.109 should be able to resolve a file:/// URL' has no 
> expectations.
> (anonymous) @ 
> /android_asset/www/plugins/cordova-plugin-test-framework/www/main.js:148
> HtmlReporter.specDone @ jasmine-html.js:106
> dispatch @ jasmine.js:1966
> (anonymous) @ jasmine.js:1949
> specResultCallback @ jasmine.js:903
> complete @ jasmine.js:368
> clearStack @ jasmine.js:660
> QueueRunner.run @ jasmine.js:1881
> (anonymous) @ jasmine.js:1898
> (anonymous) @ jasmine.js:1842
> callbackFromNative @ cordova.js:295
> (anonymous) @ VM10408:1
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:293 DEPRECATED: Update your code to use 'toURL'
> cordova.js:295 Spec 'cordova-plugin-file-tests.tests >> File API 
> IndexedDB-based impl file.spec.131 Nested file or nested directory should be 
> removed when removing a parent directory' has no expectations.
> (anonymous) @ 
> /android_asset/www/plugins/cordova-plugin-test-framework/www/main.js:148
> HtmlReporter.specDone @ jasmine-html.js:106
> dispatch @ jasmine.js:1966
> (anonymous) @ jasmine.js:1949
> specResultCallback @ jasmine.js:903
> complete @ jasmine.js:368
> clearStack @ jasmine.js:660
> QueueRunner.run @ jasmine.js:1881
> (anonymous) @ jasmine.js:1898
> (anonymous) @ jasmine.js:1842
> fail @ /android_asset/www/plugins/cordova-plugin-file/www/DirectoryEntry.js:77
> callbackFromNative @ cordova.js:295
> (anonymous) @ VM10544:1
> cordova.js:295 Spec 'cordova-plugin-file-tests.tests >> File API content: 
> URLs file.spec.140 delete: content should fail' has no expectations.
> (anonymous) @ 
> /android_asset/www/plugins/cordova-plugin-test-framework/www/main.js:148
> HtmlReporter.specDone @ jasmine-html.js:106
> dispatch @ jasmine.js:1966
> (anonymous) @ jasmine.js:1949
> specResultCallback @ jasmine.js:903
> complete @ jasmine.js:368
> clearStack @ jasmine.js:660
> QueueRunner.run @ jasmine.js:1881
> (anonymous) @ jasmine.js:1898
> (anonymous) @ jasmine.js:1842
> fail @ /android_asset/www/plugins/cordova-plugin-file/www/Entry.js:238
> callbackFromNative @ cordova.js:295
> (anonymous) @ VM10608:1
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-13810) ./cordova-mobile-spec/createmobilespec/createmobilespec.js is missing instruction to run `coho npm-link`

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-13810.
-
Resolution: Fixed

Fixed in https://github.com/apache/cordova-mobile-spec/pull/153

> ./cordova-mobile-spec/createmobilespec/createmobilespec.js is missing 
> instruction to run `coho npm-link`
> 
>
> Key: CB-13810
> URL: https://issues.apache.org/jira/browse/CB-13810
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-coho, cordova-mobile-spec
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
>
> Tried to follow these instructions:
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#what-to-test
> First command `./cordova-mobile-spec/createmobilespec/createmobilespec.js 
> --android --forceplugins` failed though:
> {code}
> sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ 
> ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows 
> --forceplugins
> Creating project from local git repos. If you have any errors, it may be from 
> missing repositories.
> To clone repositories:
>   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r 
> cli -r lib -r plugman -r windows -r js -r plugins
>   mkdir cordova-cli/node_modules
>   (cd cordova-lib && npm install)
>   (cd cordova-plugman/ && npm install)
>   mkdir cordova-cli/node_modules
>   ln -s ../../cordova-lib cordova-cli/node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   ./cordova-coho/coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> refs/heads/master
> refs/heads/master
> refs/heads/master
> You are on master branch of tools, checking npm links
> /mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:410
> throw new Error('Module ' + linkedModule + ' is not installed at all 
> (direct or npm-linked) in ' + installedModule);
> ^
> Error: Module cordova-js is not installed at all (direct or npm-linked) in 
> cordova-lib
> at verifyNpmLinkOf 
> (/mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:410:15)
> at Object. 
> (/mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:427:9)
> at Module._compile (module.js:612:30)
> at Object.Module._extensions..js (module.js:623:10)
> at Module.load (module.js:531:32)
> at tryModuleLoad (module.js:494:12)
> at Function.Module._load (module.js:486:3)
> at Function.Module.runMain (module.js:653:10)
> at startup (bootstrap_node.js:187:16)
> at bootstrap_node.js:608:3
> {code}
> After running `npm install` and `npm link` in some random subprojects 
> (cordova-cli, cordova-lib, /cordova-mobile-spec/createmobilespec) it changed 
> to this error:
> {code}
> sujan@LenovoX1:/mnt/c/Projects/Cordova/cordova-repos$ 
> ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows 
> --forceplugins
> Creating project from local git repos. If you have any errors, it may be from 
> missing repositories.
> To clone repositories:
>   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r 
> cli -r lib -r plugman -r windows -r js -r plugins
>   mkdir cordova-cli/node_modules
>   (cd cordova-lib && npm install)
>   (cd cordova-plugman/ && npm install)
>   mkdir cordova-cli/node_modules
>   ln -s ../../cordova-lib cordova-cli/node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   ./cordova-coho/coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> refs/heads/master
> refs/heads/master
> refs/heads/master
> You are on master branch of tools, checking npm links
> /mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:407
> throw new Error('Module ' + linkedModule + ' installed in ' + 
> installedModule + ' is not npm-linked. I recommend you run "coho npm-link".');
> ^
> Error: Module cordova-js installed in cordova-lib is not npm-linked. I 
> recommend you run "coho npm-link".
> at verifyNpmLinkOf 
> (/mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:407:19)
> at Object. 
> (/mnt/c/Projects/Cordova/cordova-repos/cordova-mobile-spec/createmobilespec/createmobilespec.js:427:9)
> at Module._compile (module.js:612:30)
> at Object.Module._extensions..js (module.js:623:10)
> at Module.load (module.js:531:32)
> at tryModuleLoad (module.js:494:12)
> at Function.Module._load (module.js:486:3)
> at Function.Module.runMain (module.js:653:10)
> at startup (bootstrap_node.js:187:16)
> at 

[jira] [Resolved] (CB-13905) [Windows] Tests with external URLs fail because of `http://`

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-13905.
-
Resolution: Duplicate

Moved to https://github.com/apache/cordova-mobile-spec/issues/157

> [Windows] Tests with external URLs fail because of `http://`
> 
>
> Key: CB-13905
> URL: https://issues.apache.org/jira/browse/CB-13905
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Jan Piotrowski (Sujan)
>Priority: Major
> Attachments: image-2018-02-20-11-57-42-825.png
>
>
> Creating a mobile-spec project for Windows with:
> {code}
>  ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows 
> --forceplugins
> {code}
> shows lots of errors like these during creation:
> {code}
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://audio.ibeat.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://whatheaders.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://*.apache.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://www.google.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://google.co.uk
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://techslides.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://example.com
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "http://example.com".
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "cdvfile:*".
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "data:*".
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://audio.ibeat.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://whatheaders.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://*.apache.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://www.google.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://google.co.uk
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://techslides.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://example.com
> {code}
> Those also repeat when running the created project with `cordova run windows 
> --archs=x86`:
> {code}
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://audio.ibeat.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://whatheaders.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://*.apache.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://www.google.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://google.co.uk
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://techslides.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://example.com
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "http://example.com".
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "cdvfile:*".
> The following navigation rule had an invalid URI scheme and will be ignored: 
> "data:*".
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://audio.ibeat.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://whatheaders.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://*.apache.org
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://www.google.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://google.co.uk
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://techslides.com
> Access rules must begin with "https://;, the following rule will be ignored: 
> http://example.com
> Tests will use the following file transfer server address: 
> http://rwswbpiopr.localtunnel.me
> {code}
> And as a result the automates tests using those URLs also fail:
>  !image-2018-02-20-11-57-42-825.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: 

[jira] [Resolved] (CB-12706) Verify coho npm-link works through createmobilespec

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-12706.
-
Resolution: Fixed

Updated instructions to something that works in 
[https://github.com/apache/cordova-mobile-spec/pull/154] (and similar PRs open 
right now)

> Verify coho npm-link works through createmobilespec
> ---
>
> Key: CB-12706
> URL: https://issues.apache.org/jira/browse/CB-12706
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-coho, cordova-mobile-spec
>Reporter: Shazron Abdullah
>Priority: Major
>
> Right now, several of us have npm-link issues when trying to use 
> createmobilespec. Needs to be tested on a clean repo clone.
> `coho npm-link` steps needs to be verified and made reliable, if possible.
> I know there are issues with npm link, perhaps test also with the new 
> `--use-yarn` option, although in my tests yarn had problems as well, but need 
> to verify.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-9364) Mobile-spec on windows doesn't create project when there are spaces in the path

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-9364.
--
Resolution: Duplicate

migrated to https://github.com/apache/cordova-mobile-spec/issues/156

> Mobile-spec on windows doesn't create project when there are spaces in the 
> path
> ---
>
> Key: CB-9364
> URL: https://issues.apache.org/jira/browse/CB-9364
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Suraj Pindoria
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-10718) createmobilespec instructions incomplete for cordova-common

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-10718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-10718.
-
Resolution: Duplicate

PR that includes a rewrite of the READMEs of this project: 
https://github.com/apache/cordova-mobile-spec/pull/154

> createmobilespec instructions incomplete for cordova-common
> ---
>
> Key: CB-10718
> URL: https://issues.apache.org/jira/browse/CB-10718
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Shazron Abdullah
>Priority: Major
>  Labels: triaged
>
> {code}
> $ ./cordova-mobile-spec/createmobilespec/createmobilespec.js --ios
> Creating project from local git repos. If you have any errors, it may be from 
> missing repositories.
> To clone repositories:
>   ./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r 
> cli -r lib -r plugman -r ios -r js -r plugins
>   mkdir cordova-cli/node_modules
>   (cd cordova-lib/cordova-lib/ && npm install)
>   (cd cordova-plugman/ && npm install)
>   mkdir cordova-cli/node_modules
>   ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
>   (cd cordova-cli && npm install)
> To update all repositories:
>   ./cordova-coho/coho repo-update
> Checking if you are using master branch of tools
> refs/heads/master
> refs/heads/master
> refs/heads/master
> refs/heads/master
> You are on master branch of tools, checking npm links
> npm links are OK
> Creating project mobilespec...
> module.js:338
> throw err;
>   ^
> Error: Cannot find module 'ansi'
> at Function.Module._resolveFilename (module.js:336:15)
> at Function.Module._load (module.js:278:25)
> at Module.require (module.js:365:17)
> at require (module.js:384:17)
> at Object. 
> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-common/src/CordovaLogger.js:20:12)
> at Module._compile (module.js:460:26)
> at Object.Module._extensions..js (module.js:478:10)
> at Module.load (module.js:355:32)
> at Function.Module._load (module.js:310:12)
> at Module.require (module.js:365:17)
> {code}
> It should instruct you to run "npm install" inside cordova-lib/cordova-common 
> as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-13906) [Windows] 27 mobile-spec auto tests are failing

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-13906.
---
Resolution: Won't Fix

Those auto tests refer to plugin tests. Those should be reported (and fixed)  
in the plugin repositories themselves.

> [Windows] 27 mobile-spec auto tests are failing
> ---
>
> Key: CB-13906
> URL: https://issues.apache.org/jira/browse/CB-13906
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec
>Reporter: Jan Piotrowski (Sujan)
>Priority: Critical
> Attachments: image-2018-02-20-13-12-40-538.png, 
> mobilespec-windows-failures.txt
>
>
>  !image-2018-02-20-13-12-40-538.png! 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-13904) [Windows] Can't run project using `cordova-plugin-globalization` with `cordova run windows`

2018-11-26 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-13904.
---
Resolution: Won't Fix

> [Windows] Can't run project using `cordova-plugin-globalization` with 
> `cordova run windows`
> ---
>
> Key: CB-13904
> URL: https://issues.apache.org/jira/browse/CB-13904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-mobile-spec, cordova-plugin-globalization 
> (DEPRECATED)
>Reporter: Jan Piotrowski (Sujan)
>Priority: Critical
>
> Created a project with mobilespec:
> {code}
>  ./cordova-mobile-spec/createmobilespec/createmobilespec.js --windows 
> --forceplugins
> {code}
> This includes `cordova-plugin-globalization` which is causing an exception 
> when trying to run it with `cordova run windows` as instructed by the output 
> of mobilespec (and usual usage):
> {code}
> λ cd mobilespec && cordova run windows
> ...
> Building project: 
> C:\Projects\Cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj
> Configuration : debug
> Platform  : anycpu
> Buildflags: /p:AppxBundle=Never
> MSBuildTools  : C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\MSBuild\15.0\Bin
> buildProject spawn: C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\MSBuild\15.0\Bin\msbuild [ 
> 'C:\\Projects\\Cordova\\mobilespec\\platforms\\windows\\CordovaApp.Windows10.jsproj',
>   '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
>   '/nologo',
>   '/p:Configuration=debug',
>   '/p:Platform=anycpu',
>   '/p:AppxBundle=Never' ] { stdio: 'inherit' }
>   prebuild.js: Patching platform `10`
>   - Injected `base.js` reference to `/www/index.html`
>   - Removing /( 
> *)(\s*<\/script>)(\s*)/
>  from /www/index.html
>   - Removing /( 
> *)(\s*<\/script>)(\s*)/
>  from /www/index.html
> C:\Projects\Cordova\mobilespec\platforms\windows\CordovaApp.Windows10.jsproj(86,9):
>  error : The following component requires .NET Native compilation which is 
> not available when targeting ' Windows10' and 'AnyCPU'. Consider changing the 
> targeted processor architecture to one of the following: 'x86, x64, ARM' (if 
> you are using command line this could be done by adding '--archs ' parameter, 
> for example: 'cordova build windows --archs=x64'). 
> C:\Projects\Cordova\mobilespec\platforms\windows\plugins\cordova-plugin-globalization\GlobalizationProxy.winmd
> (node:13872) UnhandledPromiseRejectionWarning: Unhandled promise rejection 
> (rejection id: 1): code: Error: C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe: Command failed with exit 
> code 1 No valid MSBuild was detected for the selected target: Error: 
> C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe: Command failed with exit 
> code 1
> (node:13872) DeprecationWarning: Unhandled promise rejections are deprecated. 
> In the future, promise rejections that are not handled will terminate the 
> Node.js process with a non-zero exit code.
> {code}
> Running `cordova run windows --archs=x86` does work though.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-11293) Cordova Paramedic failing on iPhone-6-Plus Simulator

2018-11-24 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-11293:
-

Did you ever get to testing this again and retrieve some logs?

> Cordova Paramedic failing on iPhone-6-Plus Simulator
> 
>
> Key: CB-11293
> URL: https://issues.apache.org/jira/browse/CB-11293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Sarangan Rajamanickam
>Priority: Major
>  Labels: triaged
>
> I have found that there are atleast 3 plugins
> 1. Globalization
> 2. Media Capture
> 3. Geolocation
> fail crashes when tested with paramedic. This gives the error 
> "com.apple.idssimualtorsupport.errors"  & "NSUnderlyingError=0x7f96faf01c30 
> {Error Domain=NSMachErrorDomain Code=268435459 "(ipc/send) invalid 
> destination port"
> Note: I do not have logs at this moment. I will try testing once again and 
> attach the logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-14052) Exits with 0 when build fails

2018-11-24 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-14052.
---
Resolution: Later

Migrated to https://github.com/apache/cordova-paramedic/issues/55

> Exits with 0 when build fails
> -
>
> Key: CB-14052
> URL: https://issues.apache.org/jira/browse/CB-14052
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Affects Versions: Master
>Reporter: Darrel O'Pry
>Assignee: Jesse MacFadyen
>Priority: Major
>
> I'm using cordova-paramedic with --justbuild. The build of the app is 
> failing, but cordova paramedic is reporting success. You can check out one of 
> my ci builds to see it. 
> In this case the requirements check is failing. I would expect this to return 
> a non-zero and fail the build.
> {code:java}
> #!/bin/bash -eo pipefail npx cordova-paramedic --cleanUpAfterRun --verbose 
> --platform android@6.x --plugin "." --justbuild
> cordova-paramedic: Will use the following cli: cordova(node:1495) [DEP0022] 
> DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() 
> instead.cordova-paramedic: creating temp project at 
> /tmp/tmp-1495jQi7eTMc8Hh6Creating a new cordova project.
> /tmp/tmp-1495jQi7eTMc8Hh6 /home/circleci/projectcordova-paramedic: installing 
> pluginscordova-paramedic: installing /home/circleci/project --no-telemetry 
> --no-update-notifier
> Adding com.unarin.cordova.beacon to package.json
> Saved plugin info for "com.unarin.cordova.beacon" to config.xml
> com.unarin.cordova.beacon 3.6.1 "Proximity Beacon Plugin"
> cordova-paramedic: installing cordova-plugin-test-framework --no-telemetry 
> --no-update-notifier
> Adding cordova-plugin-test-framework to package.json
> Saved plugin info for "cordova-plugin-test-framework" to config.xml
> cordova-paramedic: installing 
> /home/circleci/project/node_modules/cordova-paramedic/paramedic-plugin 
> --no-telemetry --no-update-notifier
> Adding cordova-plugin-paramedic to package.json
> Saved plugin info for "cordova-plugin-paramedic" to config.xml
> cordova-paramedic: setting app start page to test pagecordova-paramedic: 
> adding platform android@6.x( --no-telemetry --no-update-notifier)Using 
> cordova-fetch for cordova-android@6.x
> Adding android project...
> Creating Cordova project for the Android platform:
> Path: platforms/android
> Package: io.cordova.hellocordova
> Name: HelloCordova
> Activity: MainActivity
> Android target: android-26
> Subproject Path: CordovaLib
> Android project created with cordova-android@6.4.0
> Installing "com.unarin.cordova.beacon" for android
> Installing "cordova-plugin-device" for android
> Installing "cordova-plugin-paramedic" for android
> Installing "cordova-plugin-test-framework" for android
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Installing "cordova-plugin-whitelist" for androidThis plugin is only 
> applicable for versions of cordova-android greater than 4.0. If you have a 
> previous platform version, you do not need this plugin since the whitelist 
> will be built in.Adding cordova-plugin-whitelist to package.json
> Saved plugin info for "cordova-plugin-whitelist" to config.xml
> --save flag or autosave detected
> Saving android@~6.4.0 into config.xml file ...cordova-paramedic: successfully 
> finished adding platform android@6.xcordova-paramedic: checking requirements 
> for platform androidRequirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> {{Android target: not installed }}
> Please install Android target / API level: "android-26".Hint: Open the SDK 
> manager by running: /opt/android/sdk/tools/android
> You will require:
> 1. "SDK Platform" for API level android-26
> 2. "Android SDK Platform-tools (latest)
> 3. "Android SDK Build-tools" (latest)
> Gradle: installed /usr/share/gradle/bin/gradle
> (node:1822) UnhandledPromiseRejectionWarning: CordovaError: Some of 
> requirements check failed
> at /home/circleci/project/node_modules/cordova/src/cli.js:414:27
> at _fulfilled 
> (/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:787:54)
> at self.promiseDispatch.done 
> (/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:816:30)
> at Promise.promise.promiseDispatch 
> (/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:749:13)
> at /home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:108:17)
> at _combinedTickCallback (internal/process/next_tick.js:131:7)
> at process._tickCallback (internal/process/next_tick.js:180:9)
> (node:1822) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
> This error originated either by throwing inside 

[jira] [Commented] (CB-14207) Cannot Specify Platform Version

2018-11-24 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14207:
-

Thanks for the feedback Darrel.

I am currently fighting my way through understanding how paramedic works 
exactly and fixing it up a bit. I tested your command and had success:


{code:java}
λ node main.js --cleanUpAfterRun --verbose --platform android@6.3.0 --plugin 
cordova-plugin-inappbrowser
cordova-paramedic: Will use the following cli: cordova
(node:73172) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use 
os.tmpdir() instead.
cordova-paramedic: creating temp project at 
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j
$ cordova create C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j 
--no-telemetry --no-update-notifier
Creating a new cordova project.
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j 
C:\Projects\Cordova\cordova-paramedic
cordova-paramedic: installing plugins
cordova-paramedic: installing cordova-plugin-inappbrowser --no-telemetry 
--no-update-notifier
$ cordova plugin add cordova-plugin-inappbrowser --no-telemetry 
--no-update-notifier
Adding cordova-plugin-inappbrowser to package.json
Saved plugin info for "cordova-plugin-inappbrowser" to config.xml
cordova-paramedic: installing 
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j\plugins\cordova-plugin-inappbrowser\tests
 --no-telemetry --no-update-notifier
$ cordova plugin add 
C:\Users\Jan\AppData\Local\Temp\tmp-731724FjJQZUOJ64j\plugins\cordova-plugin-inappbrowser\tests
 --no-telemetry --no-update-notifier
Adding cordova-plugin-inappbrowser-tests to package.json
Saved plugin info for "cordova-plugin-inappbrowser-tests" to config.xml
$ cordova plugins --no-telemetry --no-update-notifier
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-inappbrowser-tests 3.0.0 "Cordova InAppBrowser Plugin Tests"
cordova-paramedic: installing cordova-plugin-test-framework --no-telemetry 
--no-update-notifier
$ cordova plugin add cordova-plugin-test-framework --no-telemetry 
--no-update-notifier
Adding cordova-plugin-test-framework to package.json
Saved plugin info for "cordova-plugin-test-framework" to config.xml
cordova-paramedic: installing 
C:\Projects\Cordova\cordova-paramedic\paramedic-plugin --no-telemetry 
--no-update-notifier
$ cordova plugin add C:\Projects\Cordova\cordova-paramedic\paramedic-plugin 
--no-telemetry --no-update-notifier
Adding cordova-plugin-paramedic to package.json
Saved plugin info for "cordova-plugin-paramedic" to config.xml
cordova-paramedic: setting app start page to test page
cordova-paramedic: adding platform android@6.3.0 (with:  --no-telemetry 
--no-update-notifier)
$ cordova platform add android@6.3.0 --no-telemetry --no-update-notifier
Using cordova-fetch for cordova-android@6.3.0
Adding android project...
Creating Cordova project for the Android platform:
    Path: platforms\android
    Package: io.cordova.hellocordova
    Name: HelloCordova
    Activity: MainActivity
    Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.3.0{code}
Important: I did not use the version available on npm, but the current `master` 
of [https://github.com/apache/cordova-paramedic.] There hasn't been a release 
for a long time, so I guess you better use the code from the repository 
directly.

Let me know if this works for you!

> Cannot Specify Platform Version
> ---
>
> Key: CB-14207
> URL: https://issues.apache.org/jira/browse/CB-14207
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Darrel O'Pry
>Assignee: Jan Piotrowski (Sujan)
>Priority: Major
>
> When I run
> ./node_modules/.bin/cordova-paramedic --cleanUpAfterRun --verbose 
> --platform android@6.3.0 --plugin .
> I get the error 
>    platform is not supported :: android@6.3.0
> I expect to install cordova-android version 6.3.0 instead
> I'm using Windows 10, node v10.0.0, cordova-paramedic 0.5.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Assigned] (CB-14207) Cannot Specify Platform Version

2018-11-24 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) reassigned CB-14207:
---

Assignee: Jan Piotrowski (Sujan)  (was: Jesse MacFadyen)

> Cannot Specify Platform Version
> ---
>
> Key: CB-14207
> URL: https://issues.apache.org/jira/browse/CB-14207
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Darrel O'Pry
>Assignee: Jan Piotrowski (Sujan)
>Priority: Major
>
> When I run
> ./node_modules/.bin/cordova-paramedic --cleanUpAfterRun --verbose 
> --platform android@6.3.0 --plugin .
> I get the error 
>    platform is not supported :: android@6.3.0
> I expect to install cordova-android version 6.3.0 instead
> I'm using Windows 10, node v10.0.0, cordova-paramedic 0.5.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12210) Specifying the --plugin flag without a value causes an exception

2018-11-24 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-12210.
-
Resolution: Fixed

[https://github.com/apache/cordova-paramedic/pull/19] is merged

> Specifying the --plugin flag without a value causes an exception
> 
>
> Key: CB-12210
> URL: https://issues.apache.org/jira/browse/CB-12210
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: sterling gerritz
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> FYI: when I failed to add a path paramedic threw a 'type error':
>  cordova-paramedic --platform android --plugin
> cordova-paramedic: creating temp project at 
> /var/folders/p4/m50wzcnx3_5grsq_d3z5kq5wgn/T/tmp-21300Vfzeii04OHd0
> cordova-paramedic: installing true
> path.js:7
>throw new TypeError('Path must be a string. Received ' + inspect(path));
>^
> TypeError: Path must be a string. Received true
>at assertPath (path.js:7:11)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-8659) iOS Plugins: Cordova-iOS 4.0.0 compatibility

2018-10-03 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-8659:


See the list of repositories here: [https://github.com/apache/cordova] Use 
GitHub issues to report your problem.
Please close your issue over at AAR - they have nothing to do with Cordova.

> iOS Plugins: Cordova-iOS 4.0.0 compatibility
> 
>
> Key: CB-8659
> URL: https://issues.apache.org/jira/browse/CB-8659
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-plugin-battery-status, 
> cordova-plugin-camera, cordova-plugin-contacts (DEPRECATED), 
> cordova-plugin-device-orientation (DEPRECATED), cordova-plugin-dialogs, 
> cordova-plugin-file, cordova-plugin-geolocation, cordova-plugin-globalization 
> (DEPRECATED), cordova-plugin-inappbrowser, cordova-plugin-media, 
> cordova-plugin-media-capture
>Affects Versions: 4.0.0
>Reporter: Ian Clelland
>Assignee: Ian Clelland
>Priority: Major
>  Labels: cordova-ios-4.0.x
>
> iOS Plugins need to stop using initWithWebView:
> They also depend on several deprecated categories:
>   - NSArray+Comparisons.h
>   - NSDictionary+Extensions.h
> These need to be fixed in a backwards-compatible way before 4.0.0 is released.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13230) Remove service worker from cordova-browser

2018-10-03 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-13230:
-

See the list of repositories here: [https://github.com/apache/cordova] Use 
GitHub issues to report your problem.

> Remove service worker from cordova-browser
> --
>
> Key: CB-13230
> URL: https://issues.apache.org/jira/browse/CB-13230
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 5.0.0
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
>Priority: Major
>  Labels: browser-next
> Fix For: 5.1.0
>
>
> It doesn't make sense to include service workers by default in 
> cordova-browser. We are better off documenting how to add service workers so 
> our users can do that. I think we need to delete 
> https://github.com/apache/cordova-browser/blob/master/bin/template/www/cordova-sw.js
>  and remove any references to cordova-sw.js 
> https://github.com/apache/cordova-browser/search?utf8=%E2%9C%93=cordova-sw.js=



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Resolved] (CB-12941) Update typings to latest DefinitelyTyped revision

2018-10-02 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) resolved CB-12941.
-
Resolution: Fixed

was merged

> Update typings to latest DefinitelyTyped revision
> -
>
> Key: CB-12941
> URL: https://issues.apache.org/jira/browse/CB-12941
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Reporter: Tim Brust
>Priority: Major
>  Labels: inappbrowser, plugins, typescript, typings
>
> Update the typings in the cordova-plugin-inappbrowser to match the current 
> revision published via DefinitelyTyped.
> This fixes e.g. this issue: https://stackoverflow.com/q/42095516/1902598
> DefinitelyTyped PR: 
> https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17192



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13745) Add build-tools-26.0.2 to travis for Android tests

2018-10-01 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-13745:
-

Did you do this manually or do you have a script to make as many changes across 
as many repos?

> Add build-tools-26.0.2 to travis for Android tests
> --
>
> Key: CB-13745
> URL: https://issues.apache.org/jira/browse/CB-13745
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: jcesarmobile
>Priority: Major
>
> Android tests are failing in plugins because of unaccepted licenses, to fix 
> it we have to add build-tools-26.0.2 to the travis.yml for all plugins



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-12032) AppVeyor tests are failing

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-12032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-12032.
---
Resolution: Duplicate

Rereported at Github, moving there: 
https://github.com/apache/cordova-paramedic/issues/37

> AppVeyor tests are failing
> --
>
> Key: CB-12032
> URL: https://issues.apache.org/jira/browse/CB-12032
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Shazron Abdullah
>Priority: Critical
>
> "Error: Can not run this platform with administrative permissions. Must be 
> run from a non-admin prompt."
> Might be related? 
> https://github.com/appveyor/ci/issues/201#issuecomment-180349566



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Closed] (CB-13783) Broken tests on cordova-plugin-file

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-13783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) closed CB-13783.
---
Resolution: Duplicate

https://github.com/apache/cordova-plugin-file/issues/257

> Broken tests on cordova-plugin-file
> ---
>
> Key: CB-13783
> URL: https://issues.apache.org/jira/browse/CB-13783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic, cordova-plugin-file
>Reporter: jcesarmobile
>Assignee: Jesse MacFadyen
>Priority: Major
>
> The tests of cordova-plugin-file for browser-safari are failing. Other 
> platforms are ok.
>  There are multiple specs failing
> See [https://travis-ci.org/apache/cordova-plugin-file/jobs/327439711] for 
> reference



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13783) Broken tests on cordova-plugin-file

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-13783:
-

Phew, I thought I caused that by a recent upgrade of the Safari test runs to 
High Sierra and Safari 11.1 - I am s happy this is not the case.

This problem is now tracked at 
https://github.com/apache/cordova-plugin-file/issues/257

> Broken tests on cordova-plugin-file
> ---
>
> Key: CB-13783
> URL: https://issues.apache.org/jira/browse/CB-13783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic, cordova-plugin-file
>Reporter: jcesarmobile
>Assignee: Jesse MacFadyen
>Priority: Major
>
> The tests of cordova-plugin-file for browser-safari are failing. Other 
> platforms are ok.
>  There are multiple specs failing
> See [https://travis-ci.org/apache/cordova-plugin-file/jobs/327439711] for 
> reference



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (CB-14052) Exits with 0 when build fails

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-14052:

Description: 
I'm using cordova-paramedic with --justbuild. The build of the app is failing, 
but cordova paramedic is reporting success. You can check out one of my ci 
builds to see it. 

In this case the requirements check is failing. I would expect this to return a 
non-zero and fail the build.
{code:java}
#!/bin/bash -eo pipefail npx cordova-paramedic --cleanUpAfterRun --verbose 
--platform android@6.x --plugin "." --justbuild
cordova-paramedic: Will use the following cli: cordova(node:1495) [DEP0022] 
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() 
instead.cordova-paramedic: creating temp project at 
/tmp/tmp-1495jQi7eTMc8Hh6Creating a new cordova project.
/tmp/tmp-1495jQi7eTMc8Hh6 /home/circleci/projectcordova-paramedic: installing 
pluginscordova-paramedic: installing /home/circleci/project --no-telemetry 
--no-update-notifier
Adding com.unarin.cordova.beacon to package.json
Saved plugin info for "com.unarin.cordova.beacon" to config.xml
com.unarin.cordova.beacon 3.6.1 "Proximity Beacon Plugin"
cordova-paramedic: installing cordova-plugin-test-framework --no-telemetry 
--no-update-notifier
Adding cordova-plugin-test-framework to package.json
Saved plugin info for "cordova-plugin-test-framework" to config.xml
cordova-paramedic: installing 
/home/circleci/project/node_modules/cordova-paramedic/paramedic-plugin 
--no-telemetry --no-update-notifier
Adding cordova-plugin-paramedic to package.json
Saved plugin info for "cordova-plugin-paramedic" to config.xml
cordova-paramedic: setting app start page to test pagecordova-paramedic: adding 
platform android@6.x( --no-telemetry --no-update-notifier)Using cordova-fetch 
for cordova-android@6.x
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: io.cordova.hellocordova
Name: HelloCordova
Activity: MainActivity
Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0
Installing "com.unarin.cordova.beacon" for android
Installing "cordova-plugin-device" for android
Installing "cordova-plugin-paramedic" for android
Installing "cordova-plugin-test-framework" for android
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Installing "cordova-plugin-whitelist" for androidThis plugin is only applicable 
for versions of cordova-android greater than 4.0. If you have a previous 
platform version, you do not need this plugin since the whitelist will be built 
in.Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving android@~6.4.0 into config.xml file ...cordova-paramedic: successfully 
finished adding platform android@6.xcordova-paramedic: checking requirements 
for platform androidRequirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
{{Android target: not installed }}
Please install Android target / API level: "android-26".Hint: Open the SDK 
manager by running: /opt/android/sdk/tools/android
You will require:
1. "SDK Platform" for API level android-26
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
Gradle: installed /usr/share/gradle/bin/gradle
(node:1822) UnhandledPromiseRejectionWarning: CordovaError: Some of 
requirements check failed
at /home/circleci/project/node_modules/cordova/src/cli.js:414:27
at _fulfilled 
(/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done 
(/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch 
(/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:749:13)
at /home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/circleci/project/node_modules/cordova-lib/node_modules/q/q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:1822) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This 
error originated either by throwing inside of an async function without a catch 
block, or by rejecting a promise which was not handled with .catch(). 
(rejection id: 1)
(node:1822) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
deprecated. In the future, promise rejections that are not handled will 
terminate the Node.js process with a non-zero exit code.cordova-paramedic: 
successfully finished checking requirements for platform androidlocal-server: 
scanning ports from 7008 to 7208
local-server: port 7028 is availablelocal-server: starting local medic 
servercordova-paramedic: writing medic log url to project http://10.0.2.2:7028
Start running tests at 

[jira] [Commented] (CB-14207) Cannot Specify Platform Version

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14207:
-

Per documentation this should work already:
{code:java}
cordova-paramedic --platform ios@4.0 --plugin cordova-plugin-inappbrowser{code}
[https://github.com/apache/cordova-paramedic#--platform-required]

> Cannot Specify Platform Version
> ---
>
> Key: CB-14207
> URL: https://issues.apache.org/jira/browse/CB-14207
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
>Reporter: Darrel O'Pry
>Assignee: Jesse MacFadyen
>Priority: Major
>
> When I run
> ./node_modules/.bin/cordova-paramedic --cleanUpAfterRun --verbose 
> --platform android@6.3.0 --plugin .
> I get the error 
>    platform is not supported :: android@6.3.0
> I expect to install cordova-android version 6.3.0 instead
> I'm using Windows 10, node v10.0.0, cordova-paramedic 0.5.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14208) 'rm' is not recognized as an internal or external command, operable program or batch file.

2018-09-30 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14208:
-

paramedic seems to use `shell.rm` in several places: 
[https://github.com/apache/cordova-paramedic/search?q=rm_q=rm] Seems 
this is not cross platform save, so this doesn't work on Windows :/

Can you please provide more of the output you are getting so we can track this 
down?

> 'rm' is not recognized as an internal or external command, operable program 
> or batch file.
> --
>
> Key: CB-14208
> URL: https://issues.apache.org/jira/browse/CB-14208
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-paramedic
> Environment: Windows 10, Node 10, cordova-paramedic 0.5.0
>Reporter: Darrel O'Pry
>Assignee: Jesse MacFadyen
>Priority: Minor
>
> When running any cordova paramedic command I get the error message 
> 'rm' is not recognized as an internal or external command,
> operable program or batch file.
> result code is : 1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-12 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

Github. List of all repositories is here: https://github.com/apache/cordova

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13774) cordova-plugin-media broken recording and playback functionality

2018-09-07 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-13774:
-

Both the issue and PR description describe what code is broken, but not what 
actual functionality. 
>From what you wrote it seems to be "record something, then play it back 
>immediately".
So I have to assume using `media.startRecord`, then `media.stopRecord` and then 
`media.play` would fail. Correct?

> cordova-plugin-media broken recording and playback functionality 
> -
>
> Key: CB-13774
> URL: https://issues.apache.org/jira/browse/CB-13774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Android
>Reporter: Mark Mitchell
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The problem seems to be that somehow the encoder and decoder are set to 
> different encoding types and are not compatible. Additionally its assuming an 
> encoder is available on the platform and since the interface to the this 
> object does not allow a way to specifying encoding I feel like the default 
> may have been more appropriate. 
> Currently the code is as follows 
> {code:java}
> this.recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); // 
> RAW_AMR);
> this.recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); //AMR_NB);
> {code}
> But trying to play back the recorded audio fails with a decoder error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13774) cordova-plugin-media broken recording and playback functionality

2018-09-07 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-13774:
-

What exactly is the problem and what is broken?

> cordova-plugin-media broken recording and playback functionality 

does not really explain which steps do not work or which use case is broken. 
This would be really helpful to know.

> cordova-plugin-media broken recording and playback functionality 
> -
>
> Key: CB-13774
> URL: https://issues.apache.org/jira/browse/CB-13774
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media
> Environment: Android
>Reporter: Mark Mitchell
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The problem seems to be that somehow the encoder and decoder are set to 
> different encoding types and are not compatible. Additionally its assuming an 
> encoder is available on the platform and since the interface to the this 
> object does not allow a way to specifying encoding I feel like the default 
> may have been more appropriate. 
> Currently the code is as follows 
> {code:java}
> this.recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); // 
> RAW_AMR);
> this.recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); //AMR_NB);
> {code}
> But trying to play back the recorded audio fails with a decoder error



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

That special handling the existing PR removes sure is there for a reason - a 
long time ago something was broken and this was the fix.
So removing it might this one current use case (using Nodist) work, but break 
other, unknown things at the same time.

The real solution for this is of course to properly fix _all_ of this by making 
sure that Cordova has a way to just tell _someone_ to run a specific command, 
and it is run on all platforms. But someone has to create that PR first for 
this to be an option ;)

Until then, maybe some special handling for Nodist (e.g. path includes 
"Nodist")? Super dirty, but quick and works and will be removed when the real 
rewrite comes in.

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

And the creator of the PR that should fix this also uses Nodist:
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with 
> exit code 1 Error output:
https://github.com/apache/cordova-lib/pull/622#issuecomment-405315198

Now the question becomes: Is this something Cordova should actually work around?

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

The initial reporter was also using Nodist. 
I think we found the culprit!

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

For your `main.js` I get this:

{code}
C:\Projects\experiments\foo 
   
λ node main.js  
   
events.js:167   
   
  throw er; // Unhandled 'error' event  
   
  ^ 
   

   
Error: spawn npm ENOENT 
   
at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19)   
   
at onErrorNT (internal/child_process.js:406:16) 
   
at process._tickCallback (internal/process/next_tick.js:63:19)  
   
at Function.Module.runMain (internal/modules/cjs/loader.js:746:11)  
   
at startup (internal/bootstrap/node.js:240:19)  
   
at bootstrapNodeJSCore (internal/bootstrap/node.js:564:3)   
   
Emitted 'error' event at:   
   
at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)   
   
at onErrorNT (internal/child_process.js:406:16) 
   
[... lines matching original stack trace ...]   
   
at bootstrapNodeJSCore (internal/bootstrap/node.js:564:3)   
   

   
C:\Projects\experiments\foo 
   
λ npm -v
   
6.1.0   
   
{code}

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

And here is my verbose output with `-d`:

{code}
C:\Projects\experiments\foo
λ cordova create CB14166
Creating a new cordova project.

C:\Projects\experiments\foo
λ cd CB14166\

C:\Projects\experiments\foo\CB14166  (helloworld@1.0.0)
λ cordova platform add windows@5.0.0 -d
No scripts found for hook "before_platform_add".
Using cordova-fetch for cordova-windows@5.0.0
saving
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-windows@5.0.0 --production --save""
Command finished with error code 0: cmd /s /c ""C:\Program 
Files\nodejs\npm.cmd" install cordova-windows@5.0.0 --production --save"
Removing "cordova-" prefix from cordova-windows
Adding windows project...
PlatformApi successfully found for platform windows
Creating Cordova Windows Project:
Path: platforms\windows
Namespace: io.cordova.hellocordova
Name: HelloCordova
Copying windows template project to 
C:\Projects\experiments\foo\CB14166\platforms\windows
Copying cordova-js sources to platform_www
Copying node_modules to C:\Projects\experiments\foo\CB14166\platforms\windows
Updating manifest files with project configuration.
Windows project created with cordova-windows@5.0.0
Checking for any plugins added to the project that have not been installed in 
windows platform
No differences found between plugins added to project and installed in windows 
platform. Continuing...
PlatformApi successfully found for platform windows
Merging project's config.xml into platform-specific windows config.xml
Merging and updating files from [www, platforms\windows\platform_www] to 
platforms\windows\www
  mkdir platforms\windows\www\cordova-js-src
  copy  platforms\windows\platform_www\cordova-js-src\confighelper.js 
platforms\windows\www\cordova-js-src\confighelper.js (new file)
  copy  platforms\windows\platform_www\cordova-js-src\exec.js 
platforms\windows\www\cordova-js-src\exec.js (new file)
  copy  platforms\windows\platform_www\cordova-js-src\platform.js 
platforms\windows\www\cordova-js-src\platform.js (new file)
  copy  platforms\windows\platform_www\cordova-js-src\splashscreen.js 
platforms\windows\www\cordova-js-src\splashscreen.js (new file)
  copy  platforms\windows\platform_www\cordova.js 
platforms\windows\www\cordova.js (updated file)
  copy  platforms\windows\platform_www\css\splashscreen.css 
platforms\windows\www\css\splashscreen.css (updated file)
  delete platforms\windows\www\img\smalllogo.png (no source)
  delete platforms\windows\www\img\splashscreen.png (no source)
  delete platforms\windows\www\img\storelogo.png (no source)
  copy  www\index.html platforms\windows\www\index.html (updated file)
  copy  www\js\index.js platforms\windows\www\js\index.js (updated file)
This app does not have any icons or splash screens defined
Prepared windows project successfully
No scripts found for hook "pre_package".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been 
added to the project
Checking config.xml for saved plugins that haven't been added to the project
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
No scripts found for hook "before_plugin_add".
Calling plugman.fetch on plugin "cordova-plugin-whitelist@1"
saving
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
Command finished with error code 0: cmd /s /c ""C:\Program 
Files\nodejs\npm.cmd" install cordova-plugin-whitelist@"1" --production --save"
Copying plugin 
"C:\Projects\experiments\foo\CB14166\node_modules\cordova-plugin-whitelist" => 
"C:\Projects\experiments\foo\CB14166\plugins\cordova-plugin-whitelist" Calling 
plugman.install on plugin 
"C:\Projects\experiments\foo\CB14166\plugins\cordova-plugin-whitelist" for 
platform "windows
Installing "cordova-plugin-whitelist" for windows
Running command: cmd "/s /c 
"C:\Projects\experiments\foo\CB14166\platforms\windows\cordova\version.bat""
Command finished with error code 0: cmd /s /c 
"C:\Projects\experiments\foo\CB14166\platforms\windows\cordova\version.bat"
Finding scripts for "before_plugin_install" hook from plugin 
cordova-plugin-whitelist on windows platform only.
No scripts found for hook "before_plugin_install".
Install start for "cordova-plugin-whitelist" on windows.
Beginning processing of action stack for windows project...
Action stack processing complete.
Install complete for cordova-plugin-whitelist on windows.
Finding scripts for "after_plugin_install" hook from plugin 
cordova-plugin-whitelist on windows platform only.
No scripts found for hook "after_plugin_install".
Adding cordova-plugin-whitelist to package.json
Saved plugin info for 

[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

Is the problem maybe caused by Nodist? I am using nvm-windows: 
https://github.com/coreybutler/nvm-windows

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) edited comment on CB-14166 at 9/6/18 11:39 AM:
--

Here is your install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is min:
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/


was (Author: sujan12):
Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) edited comment on CB-14166 at 9/6/18 11:39 AM:
--

Here is your install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is mine:
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/


was (Author: sujan12):
Here is your install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is min:
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) edited comment on CB-14166 at 9/6/18 11:38 AM:
--

Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference?


was (Author: sujan12):
Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper thingie you are using adds the 
`cmd "/s /c " ... ""` and breaks the command while doing so?

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) edited comment on CB-14166 at 9/6/18 11:41 AM:
--

Here is your install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is mine:
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/

Update: Nope, I can also run
{code}
"C:\Program Files\nodejs\npm.cmd" install cordova-plugin-whitelist@"1" 
--production --save
{code}
locally just fine.


was (Author: sujan12):
Here is your install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is mine:
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) edited comment on CB-14166 at 9/6/18 11:39 AM:
--

Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference? 

Also mine is run via npm.cmd, yours via npm.exe :/


was (Author: sujan12):
Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper doesn't use the `cmd "/s /c " ... 
""` and breaks the command while doing so? Or why the difference?

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

Here is my install command:
{code}
Running command: "C:\Program Files (x86)\Nodist\bin\npm.exe" install 
cordova-plugin-whitelist@"1" --production --save
{code}
And here is yours
{code}
Running command: cmd "/s /c ""C:\Program Files\nodejs\npm.cmd" install 
cordova-plugin-whitelist@"1" --production --save""
{code}

Is it posisble that your `cordova80` wrapper thingie you are using adds the 
`cmd "/s /c " ... ""` and breaks the command while doing so?

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

I installed the same node/npm combination you are using [~knaito] and tried 
again:

{code}
C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ node -v
v10.5.0

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ npm -v
6.1.0

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ cordova create CB-14166_5
'cordova' is not recognized as an internal or external command,
operable program or batch file.

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ npm install -g cordova
C:\Program Files\nodejs\cordova -> C:\Program 
Files\nodejs\node_modules\cordova\bin\cordova
+ cordova@8.0.0
added 415 packages from 394 contributors in 37.757s

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ cordova -v
8.0.0

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ cordova create CB-14166_5
Creating a new cordova project.

C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0)
λ cd CB-14166_5\

C:\Projects\Cordova Projects\CB-14166_4\CB-14166_5  (helloworld@1.0.0)
λ cordova platform add windows@5.0.0
Using cordova-fetch for cordova-windows@5.0.0
Adding windows project...
Creating Cordova Windows Project:
Path: platforms\windows
Namespace: io.cordova.hellocordova
Name: HelloCordova
Windows project created with cordova-windows@5.0.0
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Installing "cordova-plugin-whitelist" for windows
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving windows@~5.0.0 into config.xml file ...

C:\Projects\Cordova Projects\CB-14166_4\CB-14166_5  (helloworld@1.0.0)
λ
{code}

Still works.

Could someone else please try as well? This is strange!

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


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

Jan Piotrowski (Sujan) commented on CB-14166:
-

That is strange. The exact same command work just fine for me:

{code}
C:\Projects\Cordova Projects
   
λ node -v   
   
v10.7.0 
   

   
C:\Projects\Cordova Projects
   
λ npm -v
   
6.1.0   
   

   
C:\Projects\Cordova Projects
   
λ cordova create CB-14166_4 
   
Creating a new cordova project. 
   

   
C:\Projects\Cordova Projects
   
λ cd CB-14166_4 
   

   
C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0) 
   
λ cordova platform add windows@5.0.0
   
Using cordova-fetch for cordova-windows@5.0.0   
   
Adding windows project...   
   
Creating Cordova Windows Project:   
   
Path: platforms\windows 
   
Namespace: io.cordova.hellocordova  
   
Name: HelloCordova  
   
Windows project created with cordova-windows@5.0.0  
   
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project   
Installing "cordova-plugin-whitelist" for windows   
   
Adding cordova-plugin-whitelist to package.json 
   
Saved plugin info for "cordova-plugin-whitelist" to config.xml  
   
--save flag or autosave detected
   
Saving windows@~5.0.0 into config.xml file ...  
   

   
C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0) 
   
λ cordova -v
   
8.0.0   
   

   
C:\Projects\Cordova Projects\CB-14166_4  (helloworld@1.0.0) 
   
λ   
   
{code}

 !screenshot-1.png! 

Any idea what could be causing this?


> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

[jira] [Updated] (CB-14166) Cordova on windows fails when adding plugin

2018-09-06 Thread Jan Piotrowski (Sujan) (JIRA)


 [ 
https://issues.apache.org/jira/browse/CB-14166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Piotrowski (Sujan) updated CB-14166:

Attachment: screenshot-1.png

> Cordova on windows fails when adding plugin
> ---
>
> Key: CB-14166
> URL: https://issues.apache.org/jira/browse/CB-14166
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Reporter: takuya
>Assignee: Jesse MacFadyen
>Priority: Blocker
> Attachments: screenshot-1.png, スクリーンショット 2018-09-06 11.36.42.png
>
>
> cordova on windows fails to add the plugin.
> This error happens even when cordova-plugin-whitelist.
> Therefore `cordova platform add windows` also fails.
> For example,
> ```
> > cordova create sample
> > cd sample
> > cordova platform add windows
> ```
> brings following error.
> ```
> ...
> Check your connection and plugin name/version/URL.
> Error: C:\Program Files (x86)\Nodist\bin\npm.exe: Command failed with exit 
> code 1 Error output:
> npm ERR! code EINVALIDTAGNAME
> npm ERR! Invalid tag name ""1"": Tags may not have any characters that 
> encodeURIComponent encodes.
> ```
> This error happens for windows environment only.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



  1   2   3   4   5   6   7   8   9   >