[jira] [Created] (CB-13856) cordova plugin list prints helper message to STDOUT instead of STDERR

2018-02-08 Thread Ryan Williams (JIRA)
Ryan Williams created CB-13856:
--

 Summary: cordova plugin list prints helper message to STDOUT 
instead of STDERR
 Key: CB-13856
 URL: https://issues.apache.org/jira/browse/CB-13856
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-cli
Affects Versions: Master
Reporter: Ryan Williams


The message "No plugins added. Use `cordova plugin add `." is printed 
to STDOUT when running the command "cordova plugin list" when there are no 
plugins installed.

It should be printed to STDERR instead to be consistent with other linux 
programs.

 

Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null
No plugins added. Use `cordova plugin add `.



Ryans-Mac:MyApp ryan$ cordova plugin list 2>/dev/null | wc -l
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-9027) FileTransfer#download fails with FileTransferError.CONNECTION_ERR after 60 sec. on iOS

2016-08-28 Thread Ryan Williams (JIRA)

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

Ryan Williams commented on CB-9027:
---

iOS timeout appears to be 60 seconds. (iOS prior to 5 or 6 was 240 seconds)
Android appears to use 60 seconds.
Windows appears to use 120 seconds.

I'm also encountering this timeout when uploading using HTTPS over AT LTE as 
they appear to have some sort of TCP buffering or Proxy server in place.
I'm planning to submit a PR to expose the timeout as an option.


> FileTransfer#download fails with FileTransferError.CONNECTION_ERR after 60 
> sec. on iOS
> --
>
> Key: CB-9027
> URL: https://issues.apache.org/jira/browse/CB-9027
> Project: Apache Cordova
>  Issue Type: New Feature
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin File Transfer
>Affects Versions: 3.4.0
> Environment: iPhone 4s, iOS 8.3
> iPhone 5s, iOS 8.3
> Cordova 3.4.1
> FileTransfer 0.4.2
>Reporter: Alexander Kilinskiy
>
> (x) when I try to download large file on iOS I receive 
> FileTransferError.CONNECTION_ERR in 60 seconds (file generation tooks ~ 70-90 
> sec).
> Standard code used:
> {code:javascript}var fileTransfer = new window.FileTransfer(),
>   fileUrl = "", // some valid url (big file ~ 100Mb)
>   filePath = ""; // some valid location
> fileTransfer.download(fileUrl, 
>   filePath, 
>   function(entry) {
> // process file
>   }, 
>   function(error) {
> // process error
>   });{code}
> Could i set custom timeout instead of 60 sec? 
> P.S. android devices wait till file is generated (70-90 sec)
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (CB-11630) implement property 'quality' in captureImage() to set JPEG compression

2016-07-27 Thread Ryan Williams (JIRA)
Ryan Williams created CB-11630:
--

 Summary: implement property 'quality' in captureImage() to set 
JPEG compression
 Key: CB-11630
 URL: https://issues.apache.org/jira/browse/CB-11630
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media Capture
Reporter: Ryan Williams
Priority: Minor


Allow developers to specify the level of JPEG compression



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (CB-11629) Optionally disable ViewController animations

2016-07-27 Thread Ryan Williams (JIRA)
Ryan Williams created CB-11629:
--

 Summary: Optionally disable ViewController animations
 Key: CB-11629
 URL: https://issues.apache.org/jira/browse/CB-11629
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media Capture
 Environment: iOS
Reporter: Ryan Williams
Priority: Minor


Implement property to allow animations to be disabled when loading and 
unloading native screens.

Predominately iOS UIViewController animations as iOS does not support the 
'limit' property so some developers may call the plugin multiple times in a 
loop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-5519) Should we add DEBUG=1 to Preprocessor Macros-Debug ?

2015-01-06 Thread Ryan Williams (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267306#comment-14267306
 ] 

Ryan Williams commented on CB-5519:
---

The following 3 line sed command will inject the DEBUG=1 preprocessor macro 
into your xcode project file.
I recommend executing it immediately after cordova platform add ios.
(Substitute MyProject for your projects name)

{noformat}
sed -i '' '/^[[:space:]]*GCC_OPTIMIZATION_LEVEL[[:space:]]*=[[:space:]]*0;/ a\
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1;\
' platforms/ios/MyProject.xcodeproj/project.pbxproj
{noformat}

 Should we add DEBUG=1 to Preprocessor Macros-Debug ?
 ---

 Key: CB-5519
 URL: https://issues.apache.org/jira/browse/CB-5519
 Project: Apache Cordova
  Issue Type: Wish
  Components: iOS
Affects Versions: 3.2.0
Reporter: glmnbeyond
Priority: Minor

 I created a helloCordova project via Cordova CLI, and added some debug info 
 to native code:
 DLog('This is a debug info');
 But the debug info is never outputted.If I use  ALog, the info can be 
 outputted, so I think it probably has something to do with the DEBUG macro.
 After I added DEBUG=1 to Preprocessor Macros, ran the helloCordova 
 target, DLog can be outputted.
 So here is my question:
 Should we add DEBUG=1 to iOS template project-Build 
 Settings-Preprocessor Macros-Debug ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (CB-5520) Use .xcconfig file for adding/tweaking settings in the default template

2015-01-06 Thread Ryan Williams (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14267304#comment-14267304
 ] 

Ryan Williams commented on CB-5520:
---

The following 3 line sed command will inject the DEBUG=1 preprocessor macro 
into your xcode project file.
I recommend executing it immediately after cordova platform add ios.
(Substitute MyProject for your projects name)

{noformat}
sed -i '' '/^[[:space:]]*GCC_OPTIMIZATION_LEVEL[[:space:]]*=[[:space:]]*0;/ a\
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1;\
' platforms/ios/MyProject.xcodeproj/project.pbxproj
{noformat}

 Use .xcconfig file for adding/tweaking settings in the default template
 ---

 Key: CB-5520
 URL: https://issues.apache.org/jira/browse/CB-5520
 Project: Apache Cordova
  Issue Type: New Feature
  Components: iOS
Affects Versions: 3.2.0
Reporter: glmnbeyond
Priority: Minor
  Labels: core
 Fix For: 4.0.0

 Attachments: Screen Shot 2014-03-29 at 9.57.58 AM.png


 I created a helloCordova project via Cordova CLI, and added some debug info 
 to native code:
 DLog('This is a debug info');
 But the debug info is never outputted.If I use  ALog, the info can be 
 outputted, so I think it probably has something to do with the DEBUG macro.
 After I added DEBUG=1 to Preprocessor Macros, ran the helloCordova 
 target, DLog can be outputted.
 So here is my question:
 Should we add DEBUG=1 to iOS template project-Build Settings- 
 Preprocessor Macros -Debug ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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