[jira] [Updated] (CB-13537) Regular Expression Denial of Service in cordova-plugin-globalization's moment.js version 2.8.4 that is being used

2018-02-01 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi updated CB-13537:

Description: 
Following critical and medium security violation was found on moment
 (version 2.8.4).

This is used by the plugin cordova-plugin-globalization.
 This plugin obtains information and performs operations specific to the
 user's locale, language, and timezone

Vulnerability
 The moment package is vulnerable to a Regular Expression Denial of
 Service (ReDoS). The moment.duration() method in moment.js contains a
 regular expression, used to determine if an input is of the ASP.NET
 date format, that can cause an application to hang. The aspNetRegex,
 the variable's name in the code, causes very slow processing of
 exponentially long repetitive sequences leading to a Denial of Service
 (DoS) due to excessive resource consumption. A remote attacker could
 exploit this flaw by supplying a specially crafted request URL
 containing long repetitive sequences to cause the denial of service
 (DoS).

Link : [https://nodesecurity.io/advisories/55]

 

 

Further ReDoS fixes were provided and the moment.js version 2.19.3 and above 
solves the security vulnerability completely.

  was:
Following critical and medium security violation was found on moment
(version 2.8.4).

This is used by the plugin cordova-plugin-globalization.
This plugin obtains information and performs operations specific to the
user's locale, language, and timezone

Vulnerability
The moment package is vulnerable to a Regular Expression Denial of
Service (ReDoS). The moment.duration() method in moment.js contains a
regular expression, used to determine if an input is of the ASP.NET
date format, that can cause an application to hang. The aspNetRegex,
the variable's name in the code, causes very slow processing of
exponentially long repetitive sequences leading to a Denial of Service
(DoS) due to excessive resource consumption. A remote attacker could
exploit this flaw by supplying a specially crafted request URL
containing long repetitive sequences to cause the denial of service
(DoS).

Link : https://nodesecurity.io/advisories/55



> Regular Expression Denial of Service in cordova-plugin-globalization's 
> moment.js version 2.8.4 that is being used
> -
>
> Key: CB-13537
> URL: https://issues.apache.org/jira/browse/CB-13537
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-globalization
>Affects Versions: 3.0.0
> Environment: All users of globalization plugin
>Reporter: Srutha Keerthi
>Priority: Critical
>  Labels: security
> Fix For: 3.0.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Following critical and medium security violation was found on moment
>  (version 2.8.4).
> This is used by the plugin cordova-plugin-globalization.
>  This plugin obtains information and performs operations specific to the
>  user's locale, language, and timezone
> Vulnerability
>  The moment package is vulnerable to a Regular Expression Denial of
>  Service (ReDoS). The moment.duration() method in moment.js contains a
>  regular expression, used to determine if an input is of the ASP.NET
>  date format, that can cause an application to hang. The aspNetRegex,
>  the variable's name in the code, causes very slow processing of
>  exponentially long repetitive sequences leading to a Denial of Service
>  (DoS) due to excessive resource consumption. A remote attacker could
>  exploit this flaw by supplying a specially crafted request URL
>  containing long repetitive sequences to cause the denial of service
>  (DoS).
> Link : [https://nodesecurity.io/advisories/55]
>  
>  
> Further ReDoS fixes were provided and the moment.js version 2.19.3 and above 
> solves the security vulnerability completely.



--
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-13640) Cordova Activity gets killed when heavy load on Android OS

2017-12-14 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-13640:
-

Opened this as the previous issue was opened only for the camera plugin. The 
issue occurs for all activities as well, so opened this. Thank you for pointing 
to a possible solution in https://issues.apache.org/jira/browse/CB-1513 .

> Cordova Activity gets killed when heavy load on Android OS
> --
>
> Key: CB-13640
> URL: https://issues.apache.org/jira/browse/CB-13640
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Android 
>Reporter: Srutha Keerthi
>Assignee: Joe Bowser
>
> In any cordova android application, from a cordova activity, if any other 
> activity (like Camera or File) is opened and the resource usage is heavy(when 
> there are other downloads and streaming and games running on the mobile 
> device), the Cordova Activity is being killed by the Android OS. Due to this, 
> when the other activity returns after its completion, it does not find the 
> Cordova Activity and this is causing the app to crash. This scenario can be 
> recreated by running the sample app with the setting 'Don't keep Activities' 
> turned on.
> Is there some way to ensure that the Cordova Activity is not killed by the OS?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13537) Regular Expression Denial of Service in cordova-plugin-globalization's moment.js version 2.8.4 that is being used

2017-12-14 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi updated CB-13537:

Priority: Critical  (was: Major)

> Regular Expression Denial of Service in cordova-plugin-globalization's 
> moment.js version 2.8.4 that is being used
> -
>
> Key: CB-13537
> URL: https://issues.apache.org/jira/browse/CB-13537
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-globalization
>Affects Versions: 3.0.0
> Environment: All users of globalization plugin
>Reporter: Srutha Keerthi
>Priority: Critical
>  Labels: security
> Fix For: 3.0.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Following critical and medium security violation was found on moment
> (version 2.8.4).
> This is used by the plugin cordova-plugin-globalization.
> This plugin obtains information and performs operations specific to the
> user's locale, language, and timezone
> Vulnerability
> The moment package is vulnerable to a Regular Expression Denial of
> Service (ReDoS). The moment.duration() method in moment.js contains a
> regular expression, used to determine if an input is of the ASP.NET
> date format, that can cause an application to hang. The aspNetRegex,
> the variable's name in the code, causes very slow processing of
> exponentially long repetitive sequences leading to a Denial of Service
> (DoS) due to excessive resource consumption. A remote attacker could
> exploit this flaw by supplying a specially crafted request URL
> containing long repetitive sequences to cause the denial of service
> (DoS).
> Link : https://nodesecurity.io/advisories/55



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13537) Regular Expression Denial of Service in cordova-plugin-globalization's moment.js version 2.8.4 that is being used

2017-12-14 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi updated CB-13537:

Security: (was: Non-Public)

> Regular Expression Denial of Service in cordova-plugin-globalization's 
> moment.js version 2.8.4 that is being used
> -
>
> Key: CB-13537
> URL: https://issues.apache.org/jira/browse/CB-13537
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-globalization
>Affects Versions: 3.0.0
> Environment: All users of globalization plugin
>Reporter: Srutha Keerthi
>  Labels: security
> Fix For: 3.0.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Following critical and medium security violation was found on moment
> (version 2.8.4).
> This is used by the plugin cordova-plugin-globalization.
> This plugin obtains information and performs operations specific to the
> user's locale, language, and timezone
> Vulnerability
> The moment package is vulnerable to a Regular Expression Denial of
> Service (ReDoS). The moment.duration() method in moment.js contains a
> regular expression, used to determine if an input is of the ASP.NET
> date format, that can cause an application to hang. The aspNetRegex,
> the variable's name in the code, causes very slow processing of
> exponentially long repetitive sequences leading to a Denial of Service
> (DoS) due to excessive resource consumption. A remote attacker could
> exploit this flaw by supplying a specially crafted request URL
> containing long repetitive sequences to cause the denial of service
> (DoS).
> Link : https://nodesecurity.io/advisories/55



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13640) Cordova Activity gets killed when heavy load on Android OS

2017-12-06 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi updated CB-13640:

Flags: Important

> Cordova Activity gets killed when heavy load on Android OS
> --
>
> Key: CB-13640
> URL: https://issues.apache.org/jira/browse/CB-13640
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.2
> Environment: Android 
>Reporter: Srutha Keerthi
>Assignee: Joe Bowser
> Fix For: 7.0.2
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> In any cordova android application, from a cordova activity, if any other 
> activity (like Camera or File) is opened and the resource usage is heavy(when 
> there are other downloads and streaming and games running on the mobile 
> device), the Cordova Activity is being killed by the Android OS. Due to this, 
> when the other activity returns after its completion, it does not find the 
> Cordova Activity and this is causing the app to crash. This scenario can be 
> recreated by running the sample app with the setting 'Don't keep Activities' 
> turned on.
> Is there some way to ensure that the Cordova Activity is not killed by the OS?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-13640) Cordova Activity gets killed when heavy load on Android OS

2017-12-06 Thread Srutha Keerthi (JIRA)
Srutha Keerthi created CB-13640:
---

 Summary: Cordova Activity gets killed when heavy load on Android OS
 Key: CB-13640
 URL: https://issues.apache.org/jira/browse/CB-13640
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
Affects Versions: 7.0.2
 Environment: Android 
Reporter: Srutha Keerthi
Assignee: Joe Bowser
 Fix For: 7.0.2


In any cordova android application, from a cordova activity, if any other 
activity (like Camera or File) is opened and the resource usage is heavy(when 
there are other downloads and streaming and games running on the mobile 
device), the Cordova Activity is being killed by the Android OS. Due to this, 
when the other activity returns after its completion, it does not find the 
Cordova Activity and this is causing the app to crash. This scenario can be 
recreated by running the sample app with the setting 'Don't keep Activities' 
turned on.

Is there some way to ensure that the Cordova Activity is not killed by the OS?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-13551) cordova-android app restarts when "Don't keep activities" developer option is enabled on the Android device.

2017-11-08 Thread Srutha Keerthi (JIRA)
Srutha Keerthi created CB-13551:
---

 Summary: cordova-android app restarts when "Don't keep activities" 
developer option is enabled on the Android device.
 Key: CB-13551
 URL: https://issues.apache.org/jira/browse/CB-13551
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-camera
Affects Versions: 7.0.0
 Environment: Android
Reporter: Srutha Keerthi
Priority: Minor
 Fix For: 7.0.0


Cordova - android application that uses the camera plugin restarts after taking 
a picture and trying to return to the calling Activity. This happens when there 
are a lot of other heavy resource usage apps (like downloading videos and 
running multiple games). 

Repro steps for developers are :
1. In the Developer Options settings of the Android device, enable the option 
"Don't keep Activities". This is to recreate a heavy resource usage on the OS 
(that is in reality caused by heavy resource usage by multiple apps)
2. Create a cordova app and add cordova-plugin-camera
3. Add a button and code to getPicture on button click.
4. Build and deploy the app onto the device.
5. Open camera by clicking on the button.
6. Take picture and click on the tick mark to accept the taken picture.
7. App restarts and does not execute the callback of the camera activity.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (CB-13537) Regular Expression Denial of Service in cordova-plugin-globalization's moment.js version 2.8.4 that is being used

2017-11-05 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi updated CB-13537:

Priority: Minor  (was: Major)

> Regular Expression Denial of Service in cordova-plugin-globalization's 
> moment.js version 2.8.4 that is being used
> -
>
> Key: CB-13537
> URL: https://issues.apache.org/jira/browse/CB-13537
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-globalization
>Affects Versions: 3.0.0
> Environment: All users of globalization plugin
>Reporter: Srutha Keerthi
>Priority: Minor
>  Labels: security
> Fix For: 3.0.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Following critical and medium security violation was found on moment
> (version 2.8.4).
> This is used by the plugin cordova-plugin-globalization.
> This plugin obtains information and performs operations specific to the
> user's locale, language, and timezone
> Vulnerability
> The moment package is vulnerable to a Regular Expression Denial of
> Service (ReDoS). The moment.duration() method in moment.js contains a
> regular expression, used to determine if an input is of the ASP.NET
> date format, that can cause an application to hang. The aspNetRegex,
> the variable's name in the code, causes very slow processing of
> exponentially long repetitive sequences leading to a Denial of Service
> (DoS) due to excessive resource consumption. A remote attacker could
> exploit this flaw by supplying a specially crafted request URL
> containing long repetitive sequences to cause the denial of service
> (DoS).
> Link : https://nodesecurity.io/advisories/55



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Created] (CB-13537) Regular Expression Denial of Service in cordova-plugin-globalization's moment.js version 2.8.4 that is being used

2017-11-05 Thread Srutha Keerthi (JIRA)
Srutha Keerthi created CB-13537:
---

 Summary: Regular Expression Denial of Service in 
cordova-plugin-globalization's moment.js version 2.8.4 that is being used
 Key: CB-13537
 URL: https://issues.apache.org/jira/browse/CB-13537
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-globalization
Affects Versions: 3.0.0
 Environment: All users of globalization plugin
Reporter: Srutha Keerthi
 Fix For: 3.0.0


Following critical and medium security violation was found on moment
(version 2.8.4).

This is used by the plugin cordova-plugin-globalization.
This plugin obtains information and performs operations specific to the
user's locale, language, and timezone

Vulnerability
The moment package is vulnerable to a Regular Expression Denial of
Service (ReDoS). The moment.duration() method in moment.js contains a
regular expression, used to determine if an input is of the ASP.NET
date format, that can cause an application to hang. The aspNetRegex,
the variable's name in the code, causes very slow processing of
exponentially long repetitive sequences leading to a Denial of Service
(DoS) due to excessive resource consumption. A remote attacker could
exploit this flaw by supplying a specially crafted request URL
containing long repetitive sequences to cause the denial of service
(DoS).

Link : https://nodesecurity.io/advisories/55




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-12853) Update available message after update [on Windows]

2017-05-26 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12853:
-

I have observed this on create command too despite having 7.0.1 installed.

> Update available message after update [on Windows]
> --
>
> Key: CB-12853
> URL: https://issues.apache.org/jira/browse/CB-12853
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-cli
>Reporter: Chris Brody
>Priority: Minor
>
> As I reported in https://github.com/cordova/cordova-discuss/issues/68 I saw 
> the following on my Windows 10 professional dev machine:
> C:\Users\Chris
> λ
> C:\Users\Chris
> λ npm update -g cordova
> npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
> C:\Users\Chris\nvs\default\cordova -> 
> C:\Users\Chris\nvs\default\node_modules\cordova\bin\cordova
> C:\Users\Chris\nvs\default
> `-- cordova@7.0.1
> C:\Users\Chris
> λ cordova --version
> 7.0.1
> ┌──┐
> │ Update available: 7.0.1 (current: 7.0.0) │
> │ Run npm install -g cordova to update.│
> └──┘
> C:\Users\Chris
> λ cordova --version
> 7.0.1
> C:\Users\Chris
> λ



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12857) Discovered plugin "Device" in config.xml. Adding it to the project Failed to restore plugin "Device" from config.xml. You might need to try adding it again. Error: Error:

2017-05-26 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12857:
-

Could you please share your node and npm versions too?

> Discovered plugin "Device" in config.xml. Adding it to the project Failed to 
> restore plugin "Device" from config.xml. You might need to try adding it 
> again. Error: Error: Registry returned 404 for GET on 
> https://registry.npmjs.org/Device
> -
>
> Key: CB-12857
> URL: https://issues.apache.org/jira/browse/CB-12857
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: navitha
>
> Discovered plugin "Device" in config.xml. Adding it to the project
> Failed to restore plugin "Device" from config.xml. You might need to try 
> adding it again. Error: Error: Registry returned 404 for GET on 
> https://registry.npmjs.org/Device
> I got this error during run my project.. anyone help me... 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Comment Edited] (CB-12850) Adding plugin wkwebview-engine-localhost fails: --fetch does not support subdirectories

2017-05-24 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi edited comment on CB-12850 at 5/24/17 1:43 PM:
--

>From cordova version 7, all the plugins will be added with the -- fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"-- nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes : "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."


was (Author: sruthakeerthik):
>From cordova version 7, all the plugins will be added with the -- fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"-- nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes : "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."

> Adding plugin wkwebview-engine-localhost fails: --fetch does not support 
> subdirectories
> ---
>
> Key: CB-12850
> URL: https://issues.apache.org/jira/browse/CB-12850
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: cordova@7.0.0
>Reporter: Andrin Moloko
>Assignee: Shazron Abdullah
>
> cordova plugin add 
> https://github.com/apache/cordova-plugins.git#master:wkwebview-engine-localhost
> support for subdirectories is deprecated and will be removed in Cordova@7
> Error: --fetch does not support subdirectories



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Comment Edited] (CB-12850) Adding plugin wkwebview-engine-localhost fails: --fetch does not support subdirectories

2017-05-24 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi edited comment on CB-12850 at 5/24/17 1:43 PM:
--

>From cordova version 7, all the plugins will be added with the -- fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"-- nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes : "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."


was (Author: sruthakeerthik):
>From cordova version 7, all the plugins will be added with the --fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"--nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes : "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."

> Adding plugin wkwebview-engine-localhost fails: --fetch does not support 
> subdirectories
> ---
>
> Key: CB-12850
> URL: https://issues.apache.org/jira/browse/CB-12850
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: cordova@7.0.0
>Reporter: Andrin Moloko
>Assignee: Shazron Abdullah
>
> cordova plugin add 
> https://github.com/apache/cordova-plugins.git#master:wkwebview-engine-localhost
> support for subdirectories is deprecated and will be removed in Cordova@7
> Error: --fetch does not support subdirectories



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12850) Adding plugin wkwebview-engine-localhost fails: --fetch does not support subdirectories

2017-05-24 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12850:
-

>From cordova version 7, all the plugins will be added with the --fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"--nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."

> Adding plugin wkwebview-engine-localhost fails: --fetch does not support 
> subdirectories
> ---
>
> Key: CB-12850
> URL: https://issues.apache.org/jira/browse/CB-12850
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: cordova@7.0.0
>Reporter: Andrin Moloko
>Assignee: Shazron Abdullah
>
> cordova plugin add 
> https://github.com/apache/cordova-plugins.git#master:wkwebview-engine-localhost
> support for subdirectories is deprecated and will be removed in Cordova@7
> Error: --fetch does not support subdirectories



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Comment Edited] (CB-12850) Adding plugin wkwebview-engine-localhost fails: --fetch does not support subdirectories

2017-05-24 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi edited comment on CB-12850 at 5/24/17 1:42 PM:
--

>From cordova version 7, all the plugins will be added with the --fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"--nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes : "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."


was (Author: sruthakeerthik):
>From cordova version 7, all the plugins will be added with the --fetch option 
>as a default and fetch does not support if there are sub directories. To avoid 
>this error, the behaviour before cordova 7 can be used by adding the option 
>"--nofetch" while adding the plugin.

More details about this can be found here : 
https://cordova.apache.org/news/2017/05/04/cordova-7.html

It is clearly stated in the above release notes "Fetch is now the default 
method for fetching platforms. Fetch uses your system npm to npm install 
modules into your project. The --fetch flag is no longer required. Use the 
--nofetch flag to revert to pre-Cordova@7.0 behavior (npm install is not used 
to fetch modules)."

> Adding plugin wkwebview-engine-localhost fails: --fetch does not support 
> subdirectories
> ---
>
> Key: CB-12850
> URL: https://issues.apache.org/jira/browse/CB-12850
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: cordova@7.0.0
>Reporter: Andrin Moloko
>Assignee: Shazron Abdullah
>
> cordova plugin add 
> https://github.com/apache/cordova-plugins.git#master:wkwebview-engine-localhost
> support for subdirectories is deprecated and will be removed in Cordova@7
> Error: --fetch does not support subdirectories



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12844) Escape backslashes when creating a PBXShellScriptBuildPhase

2017-05-24 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12844:
-

https://github.com/apache/cordova-node-xcode/pull/2

> Escape backslashes when creating a PBXShellScriptBuildPhase
> ---
>
> Key: CB-12844
> URL: https://issues.apache.org/jira/browse/CB-12844
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios, cordova-osx
>Affects Versions: 7.0.0, 6.4.0, 6.5.0
> Environment: MacOS 10.12.4
> Xcode 8.3.2 (8E2002)
> Cordova 6.5.0
> node-xcode 0.9.0
>Reporter: Nicholas Rawlings
>Assignee: Tobias Bocanegra
>Priority: Minor
>
> Hooks can use the `node-xcode` package, which was contributed to the Cordova 
> project about a month ago, to modify an Xcode project.  When using 
> `pbxProject.addBuildPhase()` to add a new "Run Script" phase, backslashes in 
> the passed script are not properly escaped.  Unescaped backslashes can break 
> the expected behavior of the shell script and result in a malformed *.pbxproj 
> file.
> The solution should be as simple as modifying the 
> `pbxShellScriptBuildPhaseObj()` function to replace unescaped backslashes  
> with escaped ones in the same way that double quote characters are handled:
> ```javascript
> function pbxShellScriptBuildPhaseObj(obj, options, phaseName) {
> obj.name = '"' + phaseName + '"';
> obj.inputPaths = options.inputPaths || [];
> obj.outputPaths = options.outputPaths || [];
> obj.shellPath = options.shellPath;
> obj.shellScript = '"' + options.shellScript.replace(/"/g, 
> '\\"').replace(/\\/g, '') + '"';
> return obj;
> }
> ```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12553) cordova-plugin-dialogs support more confirm choices on Windows

2017-03-09 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12553:
-

Any sample app or screenshot available on how the intended mulit-option pop up 
has to be?

> cordova-plugin-dialogs support more confirm choices on Windows
> --
>
> Key: CB-12553
> URL: https://issues.apache.org/jira/browse/CB-12553
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Dialogs
>Reporter: Chris Brody
>
> In cordova-plugin-dialogs the confirm dialog has a quirk where it cannot 
> display more than 2 buttons on Windows mobile or more than 3 buttons on 
> Windows desktop. This can be solved by using `Windows.UI.Popups.PopupMenu` 
> instead of `Windows.UI.Popups.MessageDialog` as documented in 
> .
> An alternative idea to support yes-no-cancel choices on Windows desktop and 
> mobile is described in: 
> https://maximelabelle.wordpress.com/2016/03/02/displaying-a-yes-no-cancel-message-dialog-in-a-universal-windows-platform-uwp-app/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Reopened] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.

2017-03-08 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi reopened CB-12499:
-

Pull request still open

> UWP  : Dependent external libraries specified as resource-file not being 
> referenced in Release mode.
> 
>
> Key: CB-12499
> URL: https://issues.apache.org/jira/browse/CB-12499
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.0.0, 4.4.2, 4.4.3
> Environment: Cordova Windows
>Reporter: Srutha Keerthi
> Fix For: 5.0.0, 4.4.2, 4.4.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Closed] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.

2017-03-08 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi closed CB-12499.
---
Resolution: Fixed

> UWP  : Dependent external libraries specified as resource-file not being 
> referenced in Release mode.
> 
>
> Key: CB-12499
> URL: https://issues.apache.org/jira/browse/CB-12499
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.0.0, 4.4.2, 4.4.3
> Environment: Cordova Windows
>Reporter: Srutha Keerthi
> Fix For: 5.0.0, 4.4.2, 4.4.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.

2017-02-23 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12499:
-

The mfp jsonstore plugin fails : 
https://www.npmjs.com/package/cordova-plugin-mfp-jsonstore.

> UWP  : Dependent external libraries specified as resource-file not being 
> referenced in Release mode.
> 
>
> Key: CB-12499
> URL: https://issues.apache.org/jira/browse/CB-12499
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.0.0, 4.4.2, 4.4.3
> Environment: Cordova Windows
>Reporter: Srutha Keerthi
> Fix For: 5.0.0, 4.4.2, 4.4.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.

2017-02-23 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12499:
-

The fix for this is to include the file "Default.rd.xml" to the that specifies 
the actions to be taken on release build. The contents of the file should be 
the same as the contents of the file in a standard uwp project, which is as 
below : 

http://schemas.microsoft.com/netfx/2013/01/metadata;>
  



  




> UWP  : Dependent external libraries specified as resource-file not being 
> referenced in Release mode.
> 
>
> Key: CB-12499
> URL: https://issues.apache.org/jira/browse/CB-12499
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: 5.0.0, 4.4.2, 4.4.3
> Environment: Cordova Windows
>Reporter: Srutha Keerthi
> Fix For: 5.0.0, 4.4.2, 4.4.3
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12499) UWP : Dependent external libraries specified as resource-file not being referenced in Release mode.

2017-02-23 Thread Srutha Keerthi (JIRA)
Srutha Keerthi created CB-12499:
---

 Summary: UWP  : Dependent external libraries specified as 
resource-file not being referenced in Release mode.
 Key: CB-12499
 URL: https://issues.apache.org/jira/browse/CB-12499
 Project: Apache Cordova
  Issue Type: Bug
  Components: Windows
Affects Versions: 5.0.0, 4.4.2, 4.4.3
 Environment: Cordova Windows
Reporter: Srutha Keerthi
 Fix For: 5.0.0, 4.4.2, 4.4.3






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Closed] (CB-12438) Adding android platform gives the error : "Error: Error validating package name. Package name must look like: com.company.Name"

2017-02-09 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi closed CB-12438.
---
Resolution: Invalid

> Adding android platform gives the error : "Error: Error validating package 
> name. Package name must look like: com.company.Name"
> ---
>
> Key: CB-12438
> URL: https://issues.apache.org/jira/browse/CB-12438
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.4.0
> Environment: MAC and LINUX. 
>Reporter: Srutha Keerthi
> Fix For: 6.4.0
>
>
> The version of cordova is '6.5.0' on running 'cordova --version'
> On installing the latest cordova using 'npm install -g cordova', creating a 
> blank cordova app and then trying to add platforms, on running 'cordova 
> platform add android' the following error occurs : < package name. Package name must look like: com.company.Name>>.
> Windows and ios get added without any errors. This occurs only with the 
> latest installation of cordova. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12438) Adding android platform gives the error : "Error: Error validating package name. Package name must look like: com.company.Name"

2017-02-09 Thread Srutha Keerthi (JIRA)

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

Srutha Keerthi commented on CB-12438:
-

Thanks for sharing the regex! The package name was not in the format you have 
mentioned!


> Adding android platform gives the error : "Error: Error validating package 
> name. Package name must look like: com.company.Name"
> ---
>
> Key: CB-12438
> URL: https://issues.apache.org/jira/browse/CB-12438
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.4.0
> Environment: MAC and LINUX. 
>Reporter: Srutha Keerthi
> Fix For: 6.4.0
>
>
> The version of cordova is '6.5.0' on running 'cordova --version'
> On installing the latest cordova using 'npm install -g cordova', creating a 
> blank cordova app and then trying to add platforms, on running 'cordova 
> platform add android' the following error occurs : < package name. Package name must look like: com.company.Name>>.
> Windows and ios get added without any errors. This occurs only with the 
> latest installation of cordova. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Created] (CB-12438) Adding android platform gives the error : "Error: Error validating package name. Package name must look like: com.company.Name"

2017-02-08 Thread Srutha Keerthi (JIRA)
Srutha Keerthi created CB-12438:
---

 Summary: Adding android platform gives the error : "Error: Error 
validating package name. Package name must look like: com.company.Name"
 Key: CB-12438
 URL: https://issues.apache.org/jira/browse/CB-12438
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 6.4.0
 Environment: MAC and LINUX. 
Reporter: Srutha Keerthi
 Fix For: 6.4.0


The version of cordova is '6.5.0' on running 'cordova --version'
On installing the latest cordova using 'npm install -g cordova', creating a 
blank cordova app and then trying to add platforms, on running 'cordova 
platform add android' the following error occurs : <>.
Windows and ios get added without any errors. This occurs only with the latest 
installation of cordova. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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