[jira] [Resolved] (CB-8987) cordova-windows doesn't support saving contacts, it can be added for Windows 10

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-8987.
---
Resolution: Fixed

> cordova-windows doesn't support saving contacts, it can be added for Windows 
> 10
> ---
>
> Key: CB-8987
> URL: https://issues.apache.org/jira/browse/CB-8987
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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] [Resolved] (CB-9015) Pull Windows 10 support to master and release

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-9015.
---
Resolution: Fixed

> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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] [Resolved] (CB-9016) Add Windows 10 WinJS reference to cordova-js

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-9016.
---
Resolution: Fixed

> Add Windows 10 WinJS reference to cordova-js
> 
>
> Key: CB-9016
> URL: https://issues.apache.org/jira/browse/CB-9016
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>Priority: Minor
>




--
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] [Updated] (CB-9015) Pull Windows 10 support to master and release

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal updated CB-9015:
--
Assignee: Rob Paveza

> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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] [Assigned] (CB-9023) Add support for build.json to be picked up automatically from the CLI

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal reassigned CB-9023:
-

Assignee: Nikhil Khandelwal

> Add support for build.json to be picked up automatically from the CLI
> -
>
> Key: CB-9023
> URL: https://issues.apache.org/jira/browse/CB-9023
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: Master
>Reporter: Nikhil Khandelwal
>Assignee: Nikhil Khandelwal
>Priority: Minor
>




--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G commented on CB-8836:
-

I'd like to symbolicate whatever you need. I just don't understand the
problem. All thread stacktraces looks symbolicated to me. I don't see any
running execution in a Cordova library. I just see crashing on what appears
to be the garbage collector, which I thought was the original splashscreen
bug.

ᐧ

On Wed, May 13, 2015 at 4:30 PM, Shazron Abdullah (JIRA) 



> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-8998) Can't use backspace on android on text from voice recognition

2015-05-13 Thread Nikolay (JIRA)

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

Nikolay commented on CB-8998:
-

I agree that it probably somehow specific to the device as I wasn't able to 
reproduce this bug on "Sumsung Galaxy Note 3, Android 4.2" with the same sample 
"Hello World" app I had created for Moto G.

But I can't confirm that this behaviour is general for the keyboard on my Moto 
G. I can't reproduce the bug for native apps and it also works fine for this 
page http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_submit in 
Chrome and Firefox browsers. A keyboard popup looks same in Cordova app and in 
tested browsers.

> Can't use backspace on android on text from voice recognition
> -
>
> Key: CB-8998
> URL: https://issues.apache.org/jira/browse/CB-8998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
>Reporter: Nikolay
>
> Create a "hello world" applicaiton with form and simple input. Run an 
> application on android and focus the input. On the keyboard select to mic to 
> start voice recognition input. Do some input and try to delete it with 
> backspace button on the keyboard. Backspace do nothing for the text from text 
> recognition.
> Android 4.4.4, Moto G 1st generation, tested for Russion and English 
> languages.



--
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-9026) Add banner informing people that plugins.cordova.io is going away

2015-05-13 Thread Josh Soref (JIRA)
Josh Soref created CB-9026:
--

 Summary: Add banner informing people that plugins.cordova.io is 
going away
 Key: CB-9026
 URL: https://issues.apache.org/jira/browse/CB-9026
 Project: Apache Cordova
  Issue Type: Bug
  Components: Registry Web
Reporter: Josh Soref


plugins.cordova.io should include a banner informing people that it's going 
away.

Preferably w/ a link to something explaining the transition plan+schedule.



--
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] [Resolved] (CB-9018) 2 geolocation tests fail on mobile-spec in Android 5.1.1

2015-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-9018.

Resolution: Not A Problem

> 2 geolocation tests fail on mobile-spec in Android 5.1.1
> 
>
> Key: CB-9018
> URL: https://issues.apache.org/jira/browse/CB-9018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, mobile-spec, Plugin Geolocation
>Affects Versions: Master, 2.3.0, 2.6.0, 3.1.0, 3.4.0
> Environment: Android 5.1.1
>Reporter: Karen Tran
> Fix For: Master
>
> Attachments: screenshot-1.png
>
>
> Did regression testing on mobile-spec for Android 5.1.1
> I tested on a Nexus 7. 
> Two automated tests in geolocation failed across all cordova versions that I 
> tested on, including master. The earliest version I tested on was 2.3.0. 
> (Also tested on 3.6.1 and 3.6.4 from the forked versions I have that are not 
> mentioned above)
> The geolocation tests were spec 6 and 8; both failed by "Timeout - Async 
> callback was not invoked within timeout specified by jasmine 
> DEFAULT_TIMEOUT_INTERVAL."
> (Side note: There were no problems with the other latest Android update 5.0.2)



--
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-9018) 2 geolocation tests fail on mobile-spec in Android 5.1.1

2015-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-9018:


I'm unable to reproduce this unless I turn off Geolocation on this device.  
That's expected behaviour.  You should make sure that your Location Services 
are enabled on the Nexus 7..


> 2 geolocation tests fail on mobile-spec in Android 5.1.1
> 
>
> Key: CB-9018
> URL: https://issues.apache.org/jira/browse/CB-9018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, mobile-spec, Plugin Geolocation
>Affects Versions: Master, 2.3.0, 2.6.0, 3.1.0, 3.4.0
> Environment: Android 5.1.1
>Reporter: Karen Tran
> Fix For: Master
>
> Attachments: screenshot-1.png
>
>
> Did regression testing on mobile-spec for Android 5.1.1
> I tested on a Nexus 7. 
> Two automated tests in geolocation failed across all cordova versions that I 
> tested on, including master. The earliest version I tested on was 2.3.0. 
> (Also tested on 3.6.1 and 3.6.4 from the forked versions I have that are not 
> mentioned above)
> The geolocation tests were spec 6 and 8; both failed by "Timeout - Async 
> callback was not invoked within timeout specified by jasmine 
> DEFAULT_TIMEOUT_INTERVAL."
> (Side note: There were no problems with the other latest Android update 5.0.2)



--
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] [Resolved] (CB-8998) Can't use backspace on android on text from voice recognition

2015-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8998.

Resolution: Unresolved

Closing as unresolved.  We can't fix this. :(

> Can't use backspace on android on text from voice recognition
> -
>
> Key: CB-8998
> URL: https://issues.apache.org/jira/browse/CB-8998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
>Reporter: Nikolay
>
> Create a "hello world" applicaiton with form and simple input. Run an 
> application on android and focus the input. On the keyboard select to mic to 
> start voice recognition input. Do some input and try to delete it with 
> backspace button on the keyboard. Backspace do nothing for the text from text 
> recognition.
> Android 4.4.4, Moto G 1st generation, tested for Russion and English 
> languages.



--
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-8998) Can't use backspace on android on text from voice recognition

2015-05-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8998:


I can reproduce this on any text field in Android and in Chrome.  This sadly 
isn't anything that we can resolve, since this seems to be a bug with the 
keyboard, and not unique to Cordova. :(

> Can't use backspace on android on text from voice recognition
> -
>
> Key: CB-8998
> URL: https://issues.apache.org/jira/browse/CB-8998
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.0.0
>Reporter: Nikolay
>
> Create a "hello world" applicaiton with form and simple input. Run an 
> application on android and focus the input. On the keyboard select to mic to 
> start voice recognition input. Do some input and try to delete it with 
> backspace button on the keyboard. Backspace do nothing for the text from text 
> recognition.
> Android 4.4.4, Moto G 1st generation, tested for Russion and English 
> languages.



--
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] [Deleted] (CB-9014) Man In The Middle Attack - SSL Connection - Jquery - Burp Suite

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah deleted CB-9014:
-


> Man In The Middle Attack - SSL Connection - Jquery - Burp Suite
> ---
>
> Key: CB-9014
> URL: https://issues.apache.org/jira/browse/CB-9014
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: iPhone5s - iOS 8.3 / iPad4 iOS8.3
>Reporter: Niek Heezemans
>  Labels: security
>
> I manually added a Proxy (Burp Suite) to my Wifi Connection and let my App 
> connect to a server with a valid SSL certificate threw a jQuery Ajax call. 
> Burp generates its own CA certificate (Self Signed) but this is not detected 
> by Cordova.
> I can read all the Requests and Responses to and from my secure server within 
> Burp.
> This happens on both Debug as well as on the Enterprise Signed IPA.



--
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-9016) Add Windows 10 WinJS reference to cordova-js

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9016:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-js/pull/111


> Add Windows 10 WinJS reference to cordova-js
> 
>
> Key: CB-9016
> URL: https://issues.apache.org/jira/browse/CB-9016
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>Priority: Minor
>




--
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-9015) Pull Windows 10 support to master and release

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9015:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-windows/pull/76


> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>




--
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-9015) Pull Windows 10 support to master and release

2015-05-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 48ced3f0f1f86d1882b373cc43936ab2867dfdce in cordova-windows's branch 
refs/heads/master from [~robpaveza]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git;h=48ced3f ]

CB-9015: Merge Windows 10 support back to master, also reverted change
that had changed windows-target-version preference to pascal case.  While
this had functionally been reverted previously, documentation and unit
tests hadn't been modified to address that.


> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>




--
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-8987) cordova-windows doesn't support saving contacts, it can be added for Windows 10

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8987:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-contacts/pull/62


> cordova-windows doesn't support saving contacts, it can be added for Windows 
> 10
> ---
>
> Key: CB-8987
> URL: https://issues.apache.org/jira/browse/CB-8987
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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-8987) cordova-windows doesn't support saving contacts, it can be added for Windows 10

2015-05-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 959fffad4a1e7c27b16478b24cdc628200d718d4 in cordova-plugin-contacts's 
branch refs/heads/master from [~robpaveza]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=959fffa 
]

CB-8987: Support for save and remove for Windows 10


> cordova-windows doesn't support saving contacts, it can be added for Windows 
> 10
> ---
>
> Key: CB-8987
> URL: https://issues.apache.org/jira/browse/CB-8987
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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-9014) Man In The Middle Attack - SSL Connection - Jquery - Burp Suite

2015-05-13 Thread Niek Heezemans (JIRA)

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

Niek Heezemans commented on CB-9014:


Shazron,

If neccessary please remove the issue and I'll send an Email with the steps for 
reproduction. Thanks for the reply.

Met vriendelijke groet / Kind regards,

Niek Heezemans
Enterprise Mobility Consultant

Ringwade 1, 3439 LM Nieuwegein
Telefoon: +31(0)30 663 70 00
Mobiel: +31(0)61 076 12 19
niek.heezem...@clockwork.nl

Clockwork wint Quli DIA award 2014 categorie Best Service
Ordina wint Computable Award voor beste ICT-Dienstverlener van 2014




On Wed, May 13, 2015 at 12:35 PM -0700, "Shazron Abdullah (JIRA)" 
mailto:j...@apache.org>> wrote:


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

Shazron Abdullah commented on CB-9014:
--

If this is a security issue, reports should be sent to 
secur...@cordova.apache.org instead, with steps to ensure a reproduction, and 
for evaluation. This should never be reported in a public issue tracker.

See: https://www.apache.org/security/committers.html

I'll leave this up until tonight until you can get to it (you should get an 
email anyway) -- we can correspond privately at shazron (at) apache (dot) org 
for next steps if you have more questions.






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


> Man In The Middle Attack - SSL Connection - Jquery - Burp Suite
> ---
>
> Key: CB-9014
> URL: https://issues.apache.org/jira/browse/CB-9014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, iOS
>Affects Versions: 3.8.0, 5.0.0
> Environment: iPhone5s - iOS 8.3 / iPad4 iOS8.3
>Reporter: Niek Heezemans
>  Labels: security
> Fix For: 3.8.0, 5.0.0
>
>
> I manually added a Proxy (Burp Suite) to my Wifi Connection and let my App 
> connect to a server with a valid SSL certificate threw a jQuery Ajax call. 
> Burp generates its own CA certificate (Self Signed) but this is not detected 
> by Cordova.
> I can read all the Requests and Responses to and from my secure server within 
> Burp.
> This happens on both Debug as well as on the Enterprise Signed IPA.



--
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-9009) default CSP needs to include 8472 for blackberry

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9009:


Github user jsoref commented on the pull request:


https://github.com/apache/cordova-app-hello-world/pull/10#issuecomment-101817138
  
It's required for runtime if an app (running on BlackBerry 10) has any 
plugins. The app doesn't actually talk to port 8472, it's just magically 
intercepted.


> default CSP needs to include 8472 for blackberry
> 
>
> Key: CB-9009
> URL: https://issues.apache.org/jira/browse/CB-9009
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, Plugin Whitelist
>Affects Versions: 5.0.0
>Reporter: Josh Soref
>Assignee: Josh Soref
>Priority: Blocker
>
> These files:
> {code}
> ./cordova-js-src/exec.js
> ./framework/bootstrap/require.js
> ./framework/lib/utils.js
> ./javascript/cordova.blackberry10.js
> {code}
> all hard code 8472 as a magical port for cordova-blackberry apps 
> (specifically it's used for the exec bridge).
> The current hello-world CSP prevents cordova-blackberry from working out of 
> the box.



--
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-9015) Pull Windows 10 support to master and release

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9015:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-windows/pull/76#issuecomment-101816672
  
Looks good to me too!  +1 to merge.
I am not yet completely setup to test win10, so I am taking some things on 
faith, but looking over the code it all looks good.


> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>




--
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-9009) default CSP needs to include 8472 for blackberry

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9009:


Github user nikhilkh commented on the pull request:


https://github.com/apache/cordova-app-hello-world/pull/10#issuecomment-101816514
  
Is this required for development time experience or every app needs access 
to localhost port 8472 to run on the phone?


> default CSP needs to include 8472 for blackberry
> 
>
> Key: CB-9009
> URL: https://issues.apache.org/jira/browse/CB-9009
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: App Hello World, Plugin Whitelist
>Affects Versions: 5.0.0
>Reporter: Josh Soref
>Assignee: Josh Soref
>Priority: Blocker
>
> These files:
> {code}
> ./cordova-js-src/exec.js
> ./framework/bootstrap/require.js
> ./framework/lib/utils.js
> ./javascript/cordova.blackberry10.js
> {code}
> all hard code 8472 as a magical port for cordova-blackberry apps 
> (specifically it's used for the exec bridge).
> The current hello-world CSP prevents cordova-blackberry from working out of 
> the box.



--
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-9015) Pull Windows 10 support to master and release

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9015:


Github user nikhilkh commented on the pull request:

https://github.com/apache/cordova-windows/pull/76#issuecomment-101816033
  
LGTM for merge! @purplecabbage for review.


> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>




--
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-9015) Pull Windows 10 support to master and release

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9015:


Github user nikhilkh commented on a diff in the pull request:

https://github.com/apache/cordova-windows/pull/76#discussion_r30275632
  
--- Diff: README.md ---
@@ -24,7 +24,10 @@ Apache Cordova for Windows
 
 [![Build 
status](https://ci.appveyor.com/api/projects/status/19h1fq0lyvwtei05/branch/master)](https://ci.appveyor.com/project/Humbedooh/cordova-windows/branch/master)
 
-Includes Windows universal app template to build [Apache 
Cordova](http://cordova.apache.org) applications that target Windows 8.0, 
Windows 8.1 and Windows Phone 8.1. An Apache Cordova based applications is, at 
the core, an application written with web technology: HTML, CSS and JavaScript.
+# Experimental branch for Windows 10 #
--- End diff --

Now that we are merging - should we update the README.md?


> Pull Windows 10 support to master and release
> -
>
> Key: CB-9015
> URL: https://issues.apache.org/jira/browse/CB-9015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Reporter: Rob Paveza
>




--
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-8954) Update platform check_reqs script to return structured result to 'requirements' command

2015-05-13 Thread Tim Windsor (JIRA)

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

Tim Windsor commented on CB-8954:
-

Is there a spec for this structure defined somewhere? I'm working backwards 
from the requirements.js code but I expect I may miss something.

> Update platform check_reqs script to return structured result to 
> 'requirements' command
> ---
>
> Key: CB-8954
> URL: https://issues.apache.org/jira/browse/CB-8954
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Windows, WP8
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Since {{requirements}} LIB method assumes that underlying platform script 
> will be {{require}}d instead of spawning child process and capturing output, 
> we need to modify these scripts to provide method that will be called for 
> getting current requirements status.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8836:
--

Please read: 
https://developer.apple.com/library/ios/technotes/tn2151/_index.html 
"Symbolication"

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8836:
--

If any part of the crash originated from Cordova code, we would see it in the 
log -- which suggests they are not symbolicated. They don't. As it is, if you 
don't want to symbolicate, there is nothing I can do.

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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] [Resolved] (CB-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread Murat Sutunc (JIRA)

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

Murat Sutunc resolved CB-8879.
--
Resolution: Fixed

> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G commented on CB-8836:
-

so it looks like those crash logs have function names on them don't they?

---Jacob



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


Shazron Abdullah commented on CB-8836:

--



Yes.  





























--

This message was sent by Atlassian JIRA

(v6.3.4#6332)



> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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] [Closed] (CB-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread Murat Sutunc (JIRA)

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

Murat Sutunc closed CB-8879.


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user muratsu closed the pull request at:

https://github.com/apache/cordova-plugin-camera/pull/94


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8836:
--

Yes. 

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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] [Updated] (CB-8970) For app launch, remove usage of global js function handleOpenURL, and send an event instead

2015-05-13 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen updated CB-8970:

Issue Type: Sub-task  (was: Bug)
Parent: CB-8972

> For app launch, remove usage of global js function handleOpenURL, and send an 
> event instead
> ---
>
> Key: CB-8970
> URL: https://issues.apache.org/jira/browse/CB-8970
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: iOS
>Reporter: Shazron Abdullah
> Fix For: 4.0.0
>
>
> Change it here:
> https://github.com/apache/cordova-ios/blob/4.0.x/CordovaLib/Classes/Private/Plugins/CDVHandleOpenURL/CDVHandleOpenURL.m#L62
> Event name to be determined.
> Update the upgrade guide in /guides.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G commented on CB-8836:
-

Hmm...I use HockeyApp to collect crash logs, and I added symbol files. Does 
symbolicated mean that the stacktrace has function names?

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-9014) Man In The Middle Attack - SSL Connection - Jquery - Burp Suite

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-9014:
--

If this is a security issue, reports should be sent to 
secur...@cordova.apache.org instead, with steps to ensure a reproduction, and 
for evaluation. This should never be reported in a public issue tracker.

See: https://www.apache.org/security/committers.html

I'll leave this up until tonight until you can get to it (you should get an 
email anyway) -- we can correspond privately at shazron (at) apache (dot) org 
for next steps if you have more questions.



> Man In The Middle Attack - SSL Connection - Jquery - Burp Suite
> ---
>
> Key: CB-9014
> URL: https://issues.apache.org/jira/browse/CB-9014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, iOS
>Affects Versions: 3.8.0, 5.0.0
> Environment: iPhone5s - iOS 8.3 / iPad4 iOS8.3
>Reporter: Niek Heezemans
>  Labels: security
> Fix For: 3.8.0, 5.0.0
>
>
> I manually added a Proxy (Burp Suite) to my Wifi Connection and let my App 
> connect to a server with a valid SSL certificate threw a jQuery Ajax call. 
> Burp generates its own CA certificate (Self Signed) but this is not detected 
> by Cordova.
> I can read all the Requests and Responses to and from my secure server within 
> Burp.
> This happens on both Debug as well as on the Enterprise Signed IPA.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8836:
--

They don't appear to be symbolicated: 
http://stackoverflow.com/questions/25855389/how-to-symbolicate-crash-log-xcode-6


> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G commented on CB-8836:
-

They are attached: CRASH LOG 1 & CRASH LOG 2.

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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] [Updated] (CB-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G updated CB-8836:

Attachment: CRASH LOG 2
CRASH LOG 1

These are the two crash groups I've seen so far.

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: CRASH LOG 1, CRASH LOG 2
>
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF subversion and git services (JIRA)

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

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

Commit a830b3e08b610388c51aba38db41424e72db3d8b in cordova-plugin-camera's 
branch refs/heads/master from [~muratsu]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=a830b3e 
]

CB-8879 fix stripe issue with correct aspect ratio


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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] [Resolved] (CB-8959) Plugins Release 5/5/2015

2015-05-13 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-8959.

Resolution: Pending Closed

> Plugins Release 5/5/2015
> 
>
> Key: CB-8959
> URL: https://issues.apache.org/jira/browse/CB-8959
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Rob Paveza
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md



--
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] [Closed] (CB-8959) Plugins Release 5/5/2015

2015-05-13 Thread Steve Gill (JIRA)

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

Steve Gill closed CB-8959.
--

> Plugins Release 5/5/2015
> 
>
> Key: CB-8959
> URL: https://issues.apache.org/jira/browse/CB-8959
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Rob Paveza
>Assignee: Steve Gill
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user muratsu commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30262317
  
--- Diff: src/windows/CameraProxy.js ---
@@ -438,6 +457,61 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 });
 };
 
+var getAspectRatios = function (capture) {
+var photoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoRecord).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoPreviewAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoPreview).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var allAspectRatios = [].concat(photoAspectRatios, 
videoAspectRatios, videoPreviewAspectRatios);
+
+var aspectObj = allAspectRatios.reduce(function (map, item) {
+if (!map[item]) {
+map[item] = 0;
+}
+map[item]++;
+return map;
+}, {});
+
+return Object.keys(aspectObj).filter(function (k) {
+return aspectObj[k] === 3;
--- End diff --

this is by design. all of the capture modes should be set to the same ratio 
otherwise there are artifacts on the captured image. this is a platform 
limitation. 


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user muratsu commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30262108
  
--- Diff: src/windows/CameraProxy.js ---
@@ -337,28 +336,48 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 }
 });
 
-capture.initializeAsync(captureSettings).done(function () {
-// 
msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
-capturePreview.msZoom = true;
-capturePreview.src = URL.createObjectURL(capture);
-capturePreview.play();
+captureSettings.photoCaptureSource = 
Windows.Media.Capture.PhotoCaptureSource.photo;
 
-// Insert preview frame and controls into page
-document.body.appendChild(capturePreview);
-document.body.appendChild(captureCancelButton);
+return capture.initializeAsync(captureSettings);
+}).then(function () {
+// msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
+capturePreview.msZoom = true;
+capturePreview.src = URL.createObjectURL(capture);
+capturePreview.play();
 
-// Bind events to controls
-window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
-capturePreview.addEventListener('click', captureAction);
-captureCancelButton.addEventListener('click', function () {
-destroyCameraPreview();
-errorCallback('Cancelled');
-}, false);
-}, function (err) {
+// Insert preview frame and controls into page
+document.body.appendChild(capturePreview);
+document.body.appendChild(captureCancelButton);
+
+// Bind events to controls
+window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
+capturePreview.addEventListener('click', captureAction);
+captureCancelButton.addEventListener('click', function () {
 destroyCameraPreview();
-errorCallback('Camera intitialization error ' + err);
-});
-}, errorCallback);
+errorCallback('Cancelled');
+}, false);
+
+// Get available aspect ratios
+var aspectRatios = getAspectRatios(capture);
+
+// Couldn't find a good ratio
+if (aspectRatios.length === 0) {
+destroyCameraPreview();
+errorCallback('There\'s not a good aspect ratio 
available');
+return;
+}
+
+// Default aspect ratio 1.78 (16:9 hd video standard)
+if (aspectRatios.indexOf("1.8") > -1) {
--- End diff --

i need to add jshint later to this repo


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing somethin

[jira] [Commented] (CB-8836) Crashes after animating splashscreen

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8836:
--

Not sure -- any symbolicated crash logs?

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-8987) cordova-windows doesn't support saving contacts, it can be added for Windows 10

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8987:


Github user purplecabbage commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/62#issuecomment-101766786
  
LGTM. 
I'm sure Dooney Evans would approve. 


> cordova-windows doesn't support saving contacts, it can be added for Windows 
> 10
> ---
>
> Key: CB-8987
> URL: https://issues.apache.org/jira/browse/CB-8987
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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-4846) Support the two new multitasking modes in iOS 7

2015-05-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-4846:
--

Going to close this since [~edewit] already has a plugin.

> Support the two new multitasking modes in iOS 7
> ---
>
> Key: CB-4846
> URL: https://issues.apache.org/jira/browse/CB-4846
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: iOS, Plugins
>Affects Versions: 3.0.0
>Reporter: Shazron Abdullah
>Priority: Minor
>  Labels: core, ios7
>
> See 
> https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html#//apple_ref/doc/uid/TP40013162-SW10
> https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4
> New background modes:
> 1. background fetch
> 2. remote notification
> This is either/or mode (modification of Info.plist).
> These require appdelegate functions to be implemented as well. As an 
> alternative, this could be added as "empty" plugins (we provide the plugin 
> template), and the user can just add their custom code in. 
> "Hooking" into the appdelegate is possible with plugins by method proxying, 
> see the Pushwoosh plugin: 
> https://github.com/shaders/phonegap-cordova-push-notifications/blob/cf7f1c1857a4bb88931e8bd34356f0cc6add3c74/iOS/Plugins/PushRuntime.m#L111
> My suggestion is this is added as a plugin.



--
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-8836) Crashes after animating splashscreen

2015-05-13 Thread Jacob G (JIRA)

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

Jacob G commented on CB-8836:
-

Hi @shazron: I'm still getting the same crash from users after applied the 
latest fix. Any ideas? Thanks.

> Crashes after animating splashscreen
> 
>
> Key: CB-8836
> URL: https://issues.apache.org/jira/browse/CB-8836
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Discussion in https://github.com/apache/cordova-plugin-splashscreen/pull/21
> Fix here: 
> https://gist.github.com/shazron/e45705f76bef4448139a/e6e1820943197e48fd6baf44b765ebdea0252b04
> Affected lines:
> https://github.com/apache/cordova-plugin-splashscreen/blob/35272415d3b75440b1ea5fe9a5baab5e1586b3c1/src/ios/CDVSplashScreen.m#L292-L304
> Crash causes:
> 1. retain cycle problem on self in the block
> 2. performing UIKit operations while not in the main thread.



--
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-7204) Race condition when hiding and showing spinner

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7204:


Github user jacobg commented on the pull request:


https://github.com/apache/cordova-plugin-splashscreen/pull/21#issuecomment-101761529
  
Hi @shazron: I'm still getting the same crash from users after applied the 
latest fix. Any ideas? Thanks.


> Race condition when hiding and showing spinner
> --
>
> Key: CB-7204
> URL: https://issues.apache.org/jira/browse/CB-7204
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Andrey Kurdyumov
>Assignee: Shazron Abdullah
>Priority: Minor
> Attachments: Screenshot 2014-07-27 at 19.31.09.png
>
>
> I have application which show spinner on resume to indicate loading activity 
> for the application.
> When quickly show and hide application there appears race condition which 
> result in the application crash.



--
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-8987) cordova-windows doesn't support saving contacts, it can be added for Windows 10

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8987:


Github user robpaveza commented on the pull request:


https://github.com/apache/cordova-plugin-contacts/pull/62#issuecomment-101757332
  
Ping Can I get a merge?


> cordova-windows doesn't support saving contacts, it can be added for Windows 
> 10
> ---
>
> Key: CB-8987
> URL: https://issues.apache.org/jira/browse/CB-8987
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Rob Paveza
>Assignee: Rob Paveza
>




--
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] [Resolved] (CB-9021) [MOBILESPEC] mobilespec fails to create on WP8

2015-05-13 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal resolved CB-9021.
---
Resolution: Fixed

Resolved with this commit: 
https://github.com/apache/cordova-wp8/commit/14b6cc3e8b2522142a7d0d1d935ac161e7299a9b

> [MOBILESPEC] mobilespec fails to create on WP8
> --
>
> Key: CB-9021
> URL: https://issues.apache.org/jira/browse/CB-9021
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: Master
>Reporter: Dmitry Blotsky
>  Labels: mobilespec, plugin-file-transfer, wp8
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Seems like cordova-plugin-file-transfer dependencies fail for cordova-wp8. 
> Output below.
> $ node cordova-mobile-spec/createmobilespec/createmobilespec.js --copywww 
> --skiplink --wp8 mobilespec
> 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 wp8 -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
> Creating project mobilespec...
> Creating a new cordova project.
> Adding platforms...
> Adding Platform: wp8
> platformArg: 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-cli\bin\cordova 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8
> Adding wp8 project...
> Running command: 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8\bin\create.bat 
> C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8 
> org.apache.mobilespec mobilespec
> Creating Cordova Windows Project:
>   App Name  : mobilespec
>   Namespace : org.apache.mobilespec
>   Path  : 
> C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8
> Copying necessary files to 
> C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8
> Updating project files
> Command finished with error code 0: 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8\bin\create.bat 
> C:\Users\buildbot\slaves\apache\cordova-wp8\mobilespec\platforms\wp8,org.apache.mobilespec,mobilespec
> Generating config.xml from defaults for platform "wp8"
> Calling plugman.prepare for platform "wp8"
> Preparing wp8 project
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> saving wp8@C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-wp8 into 
> platforms.json
> Updating js for platforms...
> Running "compile:wp8" (compile) task
> generated cordova.wp8.js @ b0463746dd842818c1f08560e998ec847460596c in 13ms
> Done, without errors.
> JavaScript file updated for wp8
> Adding plugins using CLI...
> Searchpath: C:\Users\buildbot\slaves\apache\cordova-wp8\
> Installing local test framework plugins...
> Installing "org.apache.cordova.mobilespec.tests" for wp8
> Installing "org.apache.cordova.test.whitelist" for wp8
> Installing "org.apache.cordova.test.echo" for wp8
> Installing "cordova-plugin-test-framework" for wp8
> Installing "cordova-plugin-device" for wp8
> Installing "cordova-plugin-battery-status" for wp8
> Installing "cordova-plugin-camera" for wp8
> Installing "cordova-plugin-console" for wp8
> Installing "cordova-plugin-contacts" for wp8
> Plugin "cordova-plugin-device" already installed on wp8.
> Installing "cordova-plugin-device-motion" for wp8
> Installing "cordova-plugin-device-orientation" for wp8
> Installing "cordova-plugin-dialogs" for wp8
> Installing "cordova-plugin-file" for wp8
> Installing "cordova-plugin-file-transfer" for wp8
> Failed to install 'cordova-plugin-file-transfer':CordovaError: Plugin doesn't 
> support this project's cordova-wp8 version. cordova-wp8: 4.0.0-dev, failed 
> version requirement: 1.0.0
> at checkEngines 
> (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\src\plugman\install.js:119:29)
> at 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\src\plugman\install.js:296:16
> at _fulfilled 
> (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:787:54)
> at self.promiseDispatch.done 
> (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:816:30)
> at Promise.promise.promiseDispatch 
> (C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:749:13)
> at 
> C:\Users\buildbot\slaves\apache\cordova-wp8\cordova-lib\cordova-lib\node_modules\q\q.js:557:44
> at flush 
> (C:\Users\buil

[jira] [Commented] (CB-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user robpaveza commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30254781
  
--- Diff: src/windows/CameraProxy.js ---
@@ -337,28 +336,48 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 }
 });
 
-capture.initializeAsync(captureSettings).done(function () {
-// 
msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
-capturePreview.msZoom = true;
-capturePreview.src = URL.createObjectURL(capture);
-capturePreview.play();
+captureSettings.photoCaptureSource = 
Windows.Media.Capture.PhotoCaptureSource.photo;
 
-// Insert preview frame and controls into page
-document.body.appendChild(capturePreview);
-document.body.appendChild(captureCancelButton);
+return capture.initializeAsync(captureSettings);
+}).then(function () {
+// msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
+capturePreview.msZoom = true;
+capturePreview.src = URL.createObjectURL(capture);
+capturePreview.play();
 
-// Bind events to controls
-window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
-capturePreview.addEventListener('click', captureAction);
-captureCancelButton.addEventListener('click', function () {
-destroyCameraPreview();
-errorCallback('Cancelled');
-}, false);
-}, function (err) {
+// Insert preview frame and controls into page
+document.body.appendChild(capturePreview);
+document.body.appendChild(captureCancelButton);
+
+// Bind events to controls
+window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
+capturePreview.addEventListener('click', captureAction);
+captureCancelButton.addEventListener('click', function () {
 destroyCameraPreview();
-errorCallback('Camera intitialization error ' + err);
-});
-}, errorCallback);
+errorCallback('Cancelled');
+}, false);
+
+// Get available aspect ratios
+var aspectRatios = getAspectRatios(capture);
+
+// Couldn't find a good ratio
+if (aspectRatios.length === 0) {
+destroyCameraPreview();
+errorCallback('There\'s not a good aspect ratio 
available');
+return;
+}
+
+// Default aspect ratio 1.78 (16:9 hd video standard)
+if (aspectRatios.indexOf("1.8") > -1) {
--- End diff --

jshint rule violation: should be single quotes.


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missin

[jira] [Created] (CB-9025) Call platform-specific 'prepare' logic on windows as part of the 'prepare' step

2015-05-13 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-9025:


 Summary: Call platform-specific 'prepare' logic on windows as part 
of the 'prepare' step
 Key: CB-9025
 URL: https://issues.apache.org/jira/browse/CB-9025
 Project: Apache Cordova
  Issue Type: Task
  Components: CordovaLib, Windows
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


All of the 'prepare' logic of windows is called as part of build and this makes 
other tools and hooks to plug in correctly difficult.

The proposed approach is to require and execute this logic inside of 
cordova-lib {{prepare}} method like this is done for android here: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/install.js#L565
 

However, to avoid this logic to be called twice (from cordova-lib {{prepare}} 
and platfrom's {{build}}) we need to remove {{applyPlatformConfig}} call from 
build script.



--
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] [Updated] (CB-9014) Man In The Middle Attack - SSL Connection - Jquery - Burp Suite

2015-05-13 Thread Niek Heezemans (JIRA)

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

Niek Heezemans updated CB-9014:
---
Affects Version/s: 5.0.0
Fix Version/s: 5.0.0

> Man In The Middle Attack - SSL Connection - Jquery - Burp Suite
> ---
>
> Key: CB-9014
> URL: https://issues.apache.org/jira/browse/CB-9014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib, iOS
>Affects Versions: 3.8.0, 5.0.0
> Environment: iPhone5s - iOS 8.3 / iPad4 iOS8.3
>Reporter: Niek Heezemans
>  Labels: security
> Fix For: 3.8.0, 5.0.0
>
>
> I manually added a Proxy (Burp Suite) to my Wifi Connection and let my App 
> connect to a server with a valid SSL certificate threw a jQuery Ajax call. 
> Burp generates its own CA certificate (Self Signed) but this is not detected 
> by Cordova.
> I can read all the Requests and Responses to and from my secure server within 
> Burp.
> This happens on both Debug as well as on the Enterprise Signed IPA.



--
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-9024) Incorrect screen height in Lumia 535

2015-05-13 Thread Sergi Arbona (JIRA)
Sergi Arbona created CB-9024:


 Summary: Incorrect screen height in Lumia 535
 Key: CB-9024
 URL: https://issues.apache.org/jira/browse/CB-9024
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 5.0.0
 Environment: Windows phone 8 html
Reporter: Sergi Arbona
Assignee: Jesse MacFadyen


In the external URL attached in this issue, there is a HTML page that shows a 
99% height red div.
This page has been tested in desktop with IE 11 AND IE 10, in Lumia 920 broswer 
and Lumia 535 browser and all devices show a small white line at the end of the 
red div.
Using this HTML page as the index.html in a cordova wp8 App shows the same 
white line in Lumia 920 but not in Lumia 535. The Lumia 535 shows the full 
screen with a red div.
Maybe the system bar (back, start and search buttons) is confusing cordova that 
thinks there is no system bar like in 920?
Both 920 and 535 have Lumia Denim version.




--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user vladimir-kotikov commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30210599
  
--- Diff: src/windows/CameraProxy.js ---
@@ -337,28 +336,48 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 }
 });
 
-capture.initializeAsync(captureSettings).done(function () {
-// 
msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
-capturePreview.msZoom = true;
-capturePreview.src = URL.createObjectURL(capture);
-capturePreview.play();
+captureSettings.photoCaptureSource = 
Windows.Media.Capture.PhotoCaptureSource.photo;
 
-// Insert preview frame and controls into page
-document.body.appendChild(capturePreview);
-document.body.appendChild(captureCancelButton);
+return capture.initializeAsync(captureSettings);
+}).then(function () {
+// msdn.microsoft.com/en-us/library/windows/apps/hh452807.aspx
+capturePreview.msZoom = true;
+capturePreview.src = URL.createObjectURL(capture);
+capturePreview.play();
 
-// Bind events to controls
-window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
-capturePreview.addEventListener('click', captureAction);
-captureCancelButton.addEventListener('click', function () {
-destroyCameraPreview();
-errorCallback('Cancelled');
-}, false);
-}, function (err) {
+// Insert preview frame and controls into page
+document.body.appendChild(capturePreview);
+document.body.appendChild(captureCancelButton);
+
+// Bind events to controls
+window.addEventListener('deviceorientation', 
cameraPreviewOrientation, false);
+capturePreview.addEventListener('click', captureAction);
+captureCancelButton.addEventListener('click', function () {
 destroyCameraPreview();
-errorCallback('Camera intitialization error ' + err);
-});
-}, errorCallback);
+errorCallback('Cancelled');
+}, false);
+
+// Get available aspect ratios
+var aspectRatios = getAspectRatios(capture);
+
+// Couldn't find a good ratio
+if (aspectRatios.length === 0) {
+destroyCameraPreview();
+errorCallback('There\'s not a good aspect ratio 
available');
+return;
+}
+
+// Default aspect ratio 1.78 (16:9 hd video standard)
+if (aspectRatios.indexOf("1.8") > -1) {
--- End diff --

IMO it will be better to use constant here instead: `DEFAULT_ASPECT_RATIO = 
1.8`


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamTy

[jira] [Commented] (CB-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user vladimir-kotikov commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30210499
  
--- Diff: src/windows/CameraProxy.js ---
@@ -438,6 +457,61 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 });
 };
 
+var getAspectRatios = function (capture) {
+var photoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoRecord).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoPreviewAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoPreview).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var allAspectRatios = [].concat(photoAspectRatios, 
videoAspectRatios, videoPreviewAspectRatios);
+
+var aspectObj = allAspectRatios.reduce(function (map, item) {
+if (!map[item]) {
+map[item] = 0;
+}
+map[item]++;
+return map;
+}, {});
+
+return Object.keys(aspectObj).filter(function (k) {
+return aspectObj[k] === 3;
+});
+};
+
+var setAspectRatio = function (capture, aspect) {
+// Max photo resolution with desired aspect ratio
+var photoResolution = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo).filter(function
 (elem) {
+return ((elem.width / elem.height).toFixed(1) === aspect) ? 1 
: 0;
--- End diff --

nit: `return (elem.width / elem.height).toFixed(1) === aspect)` is 
sufficient for filtering, ternary operator is excess.


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user vladimir-kotikov commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30210493
  
--- Diff: src/windows/CameraProxy.js ---
@@ -438,6 +457,61 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 });
 };
 
+var getAspectRatios = function (capture) {
+var photoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
--- End diff --

nit: it should be enough simply return result of comparison from filter 
function, like `return index === array.indexOf(element)`


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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-8879) [Windows] Camera picture has black/green stripes that crop image

2015-05-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-8879:


Github user vladimir-kotikov commented on a diff in the pull request:

https://github.com/apache/cordova-plugin-camera/pull/94#discussion_r30210477
  
--- Diff: src/windows/CameraProxy.js ---
@@ -438,6 +457,61 @@ function takePictureFromCameraWP(successCallback, 
errorCallback, args) {
 });
 };
 
+var getAspectRatios = function (capture) {
+var photoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoRecord).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var videoPreviewAspectRatios = 
capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.videoPreview).map(function
 (element) {
+return (element.width / element.height).toFixed(1);
+}).filter(function (element, index, array) { if (index === 
array.indexOf(element)) return 1; return 0; });
+
+var allAspectRatios = [].concat(photoAspectRatios, 
videoAspectRatios, videoPreviewAspectRatios);
+
+var aspectObj = allAspectRatios.reduce(function (map, item) {
+if (!map[item]) {
+map[item] = 0;
+}
+map[item]++;
+return map;
+}, {});
+
+return Object.keys(aspectObj).filter(function (k) {
+return aspectObj[k] === 3;
--- End diff --

You are restricting aspect ratios to those which only supported by __all__ 
capture modes (picture, video and videoPreview). Not sure if it is by intent.

Probably it makes sense to respect __current__ capture mode and return 
aspect ratios for this capture mode. Potentially there could be a situation 
when device's camera support a different aspect ratios for video and image 
capture.

For example video is captured only in 640*480, which is equal to 1.3 aspect 
ratio, and for image there could be a number of other aspect ratios). This 
logic will return only '1.3' or even an empty set.


> [Windows] Camera picture has black/green stripes that crop image
> 
>
> Key: CB-8879
> URL: https://issues.apache.org/jira/browse/CB-8879
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 3.6.0
> Environment: windows
>Reporter: Olivier VERMONT
>Assignee: Murat Sutunc
>  Labels: camera, resolution, stripes, windows-phone-81
>
> When a photo is taken with Windows Phone 8.1 device Nokia Lumia 735, the 
> picture returned shows black or green stripes on the sides and is out of 
> shape. It seems this is related to photo resolution but I can't get it fixed 
> in JS.
> It seems to be quite a common problem with the Media Capture API and people 
> solved issue in C# here is an illustration : 
> http://stackoverflow.com/questions/23709547/captured-photo-with-stripes
> Here is what I tried without success :
> var resolutions = 
> capture.videoDeviceController.getAvailableMediaStreamProperties(Windows.Media.Capture.MediaStreamType.photo);
> var maxWidth = 0;
> var maxResolution = null;
> for(var i=0; i   //console.log(resolutions[i].width);
>   if(resolutions[i].width > maxResolution){
>   maxWidth = resolutions[i].width;
>   maxResolution = resolutions[i];
>   }
> } 
> capture.videoDeviceController.setMediaStreamPropertiesAsync(Windows.Media.Capture.MediaStreamType.photo,
>  maxResolution)
> Am I missing something ?



--
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] [Resolved] (CB-8996) Mobilespec app hang on windows

2015-05-13 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin resolved CB-8996.
---
Resolution: Fixed

> Mobilespec app hang on windows
> --
>
> Key: CB-8996
> URL: https://issues.apache.org/jira/browse/CB-8996
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: mobile-spec, Windows
>Reporter: Alexander Sorokin
>
> Mobile spec app times out on windows:
> http://ci.apache.org/builders/cordova-windows/builds/1404
> Can be reproduced by running from a directory with cloned and installed 
> tools, windows platform and core plugins:
> {code}
> cordova-mobile-spec\createmobilespec\createmobilespec --windows mobilespc
> cd mobilespec
> cordova run
> {code}



--
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] [Resolved] (CB-8761) WP8: FileTransfer does not inherit cookies from WebBrowser

2015-05-13 Thread Dan Polivy (JIRA)

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

Dan Polivy resolved CB-8761.

Resolution: Fixed

> WP8: FileTransfer does not inherit cookies from WebBrowser
> --
>
> Key: CB-8761
> URL: https://issues.apache.org/jira/browse/CB-8761
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin File Transfer
>Reporter: Dan Polivy
>
> On Android and iOS (and presumably other platforms), the file transfer plugin 
> will inherit any relevant cookies from the WebBrowser control when 
> communicating with a particular domain. On WP8, however, that is not the 
> case, as HttpWebRequest does not share cookies with the WebBrowser control.
> When cookies are used for authentication, and authentication is required for 
> file uploads, it becomes important to be able to set cookies on the 
> HttpWebRequest containing the upload. This should be supported on WP8 like it 
> is on other platforms.
> I have built a solution to this problem that works; it essentially copies the 
> relevant cookies from the WebBrowser control and manually generates a Cookie 
> header for the HttpWebRequest. Due to some bugs in the version of .NET on 
> WP8, not all cookie data is accessible in this manner (e.g. path, domain), 
> however enough is there to get the job done.
> This fix is more limited to only scenarios where the browser scheme and host 
> match that of the file transfer request to avoid any security issues with 
> cookies going to the wrong domain. In my scenario, I am hosting my web pages 
> remotely, on the same server I upload files to, so this works OK. 
> Unfortunately, it won't help with scenarios where the transfer is to a 
> different remote host.



--
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