[jira] [Commented] (CB-8936) Surface platform-specific logs in buildbot

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

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

ASF GitHub Bot commented on CB-8936:


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

https://github.com/apache/cordova-medic/pull/53#discussion_r29915107
  
--- Diff: medic/medic-log.js ---
@@ -0,0 +1,60 @@
+#!/usr/bin/env node
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/* jshint node: true */
+
+"use strict";
+
+var fs = require("fs");
+
+var shelljs  = require("shelljs");
+var optimist = require("optimist");
+var util = require("../lib/util");
+
+// main
+function main() {
+
+// shell config
+shelljs.config.fatal  = false;
+shelljs.config.silent = false;
+
+// command-specific args
+var argv = optimist
+.usage("Usage: $0 {platform}")
+.argv;
+
+switch (argv.platform) {
+case util.ANDROID:
+var cmd = "adb logcat -d";
+console.log("executing " + cmd);
+shelljs.exec(cmd, function(code, output) {
+if (code > 0) {
+fatal('Failed to run logcat command.');
--- End diff --

I was about to merge and did a test, and caught a small bug. It's now 
`util.fatal`.


> Surface platform-specific logs in buildbot
> --
>
> Key: CB-8936
> URL: https://issues.apache.org/jira/browse/CB-8936
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Medic
>Reporter: Alexander Sorokin
>
> Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for 
> iOS etc.) should be gathered and displayed in buildbot.



--
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-8936) Surface platform-specific logs in buildbot

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

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

ASF GitHub Bot commented on CB-8936:


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

https://github.com/apache/cordova-medic/pull/53#discussion_r29915081
  
--- Diff: medic/medic-log.js ---
@@ -0,0 +1,60 @@
+#!/usr/bin/env node
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/* jshint node: true */
+
+"use strict";
+
+var fs = require("fs");
+
+var shelljs  = require("shelljs");
+var optimist = require("optimist");
+var util = require("../lib/util");
+
+// main
+function main() {
+
+// shell config
+shelljs.config.fatal  = false;
+shelljs.config.silent = false;
+
+// command-specific args
+var argv = optimist
+.usage("Usage: $0 {platform}")
+.argv;
--- End diff --

Please `demand()` the `platform` argument.


> Surface platform-specific logs in buildbot
> --
>
> Key: CB-8936
> URL: https://issues.apache.org/jira/browse/CB-8936
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Medic
>Reporter: Alexander Sorokin
>
> Platform specific logs (e.g. logcat for android, stderr.log and stdin.log for 
> iOS etc.) should be gathered and displayed in buildbot.



--
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-8783) 'default' value for Orientation does not support both landscape and portrait orientations.

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

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

ASF GitHub Bot commented on CB-8783:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-docs/pull/276#issuecomment-100076679
  
@nikhilkh can you edit the title to have a prefix of CB-8783 to enable auto 
JIRA tracking.


> 'default' value for Orientation does not support both landscape and portrait 
> orientations.
> --
>
> Key: CB-8783
> URL: https://issues.apache.org/jira/browse/CB-8783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 3.8.0
>Reporter: Nikhil Khandelwal
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>
> There is no support for adding both landscape and portrait orientation for 
> iOS as can be seen by the plist value for 'default'
> https://github.com/apache/cordova-lib/blob/8de97feba2fa883298eb9c99be0c425c73960f1a/cordova-lib/src/cordova/metadata/ios_parser.js#L84



--
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] [Comment Edited] (CB-8783) 'default' value for Orientation does not support both landscape and portrait orientations.

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-8783 at 5/8/15 2:03 AM:
--

This affects both iPad and iPhone. See CB-6462 and 
https://github.com/apache/cordova-lib/pull/207


was (Author: shazron):
This affects both iPad and iPhone. See CB-6762 and 
https://github.com/apache/cordova-lib/pull/207

> 'default' value for Orientation does not support both landscape and portrait 
> orientations.
> --
>
> Key: CB-8783
> URL: https://issues.apache.org/jira/browse/CB-8783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 3.8.0
>Reporter: Nikhil Khandelwal
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>
> There is no support for adding both landscape and portrait orientation for 
> iOS as can be seen by the plist value for 'default'
> https://github.com/apache/cordova-lib/blob/8de97feba2fa883298eb9c99be0c425c73960f1a/cordova-lib/src/cordova/metadata/ios_parser.js#L84



--
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-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-6462.
--
Resolution: Fixed

PR integrated and tested. Will be in the next Tools release.

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-6462) Support "Orientation" global preference

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

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

ASF GitHub Bot commented on CB-6462:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-lib/pull/207#issuecomment-100069439
  
Integrated: 
https://git1-us-west.apache.org/repos/asf?p=cordova-lib.git;a=commit;h=93ab6b61
You can close this issue now, thanks!


> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-8990) cordova-js unit tests fail on node 0.12.0

2015-05-07 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-8990:


 Summary: cordova-js unit tests fail on node 0.12.0
 Key: CB-8990
 URL: https://issues.apache.org/jira/browse/CB-8990
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: Master
Reporter: Shazron Abdullah


Tests however pass on node 0.10.x

{code}
$ npm test

> cordova-js@3.9.1-dev test /Users/shazron/Desktop/cordova-js
> grunt test --platformVersion=3.6.0

Running "compile:amazon-fireos" (compile) task
generated cordova.amazon-fireos.js @ b0463746dd842818c1f08560e998ec847460596c 
in 25ms

Running "compile:android" (compile) task
generated cordova.android.js @ b0463746dd842818c1f08560e998ec847460596c in 16ms

Running "compile:blackberry10" (compile) task
generated cordova.blackberry10.js @ b0463746dd842818c1f08560e998ec847460596c in 
40ms

Running "compile:ios" (compile) task
generated cordova.ios.js @ b0463746dd842818c1f08560e998ec847460596c in 8ms

Running "compile:osx" (compile) task
generated cordova.osx.js @ b0463746dd842818c1f08560e998ec847460596c in 9ms

Running "compile:test" (compile) task
generated cordova.test.js @ b0463746dd842818c1f08560e998ec847460596c in 10ms

Running "compile:windows" (compile) task
generated cordova.windows.js @ b0463746dd842818c1f08560e998ec847460596c in 15ms

Running "compile:wp8" (compile) task
generated cordova.wp8.js @ b0463746dd842818c1f08560e998ec847460596c in 13ms

Running "compile:firefoxos" (compile) task
generated cordova.firefoxos.js @ b0463746dd842818c1f08560e998ec847460596c in 
10ms

Running "compile:webos" (compile) task
generated cordova.webos.js @ b0463746dd842818c1f08560e998ec847460596c in 9ms

Running "compile:ubuntu" (compile) task
generated cordova.ubuntu.js @ b0463746dd842818c1f08560e998ec847460596c in 7ms

Running "compile:browser" (compile) task
generated cordova.browser.js @ b0463746dd842818c1f08560e998ec847460596c in 7ms

Running "jshint:src" (jshint) task
>> 54 files lint free.

Running "_test" task
starting node-based tests

Unit Tests:
Could not find cordova.js script tag. Plugin loading may fail.
Fatal error: Cannot set property length of [object Object] which has only a 
getter
npm ERR! Test failed.  See above for more details.
{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-8989) cordova-lib jasmine tests are failing on older hardware

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-8989.
--
Resolution: Fixed

> cordova-lib jasmine tests are failing on older hardware
> ---
>
> Key: CB-8989
> URL: https://issues.apache.org/jira/browse/CB-8989
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> I cloned the cordova-lib repo everytime in my tests.
> Tests are failing on older hardware. My home machine is a 2011 MBP w/ SSD.
> Tests pass on my 2013 MBA.
> Isolated to 500ms timeout in the start/start functions in plugman tests:
> 1. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install-browserify.spec.js#L149
> 2. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install.spec.js#L147
> 3. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/uninstall.spec.js#L78
> Increasing the timeout to 2000ms will pass all tests on older hardware.



--
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-8989) cordova-lib jasmine tests are failing on older hardware

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

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

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

Commit 76ecfd182cb91dd981d78493d3eafe919b81981d in cordova-lib's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=76ecfd1 ]

CB-8989 - cordova-lib jasmine tests are failing on older hardware


> cordova-lib jasmine tests are failing on older hardware
> ---
>
> Key: CB-8989
> URL: https://issues.apache.org/jira/browse/CB-8989
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: Master
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> I cloned the cordova-lib repo everytime in my tests.
> Tests are failing on older hardware. My home machine is a 2011 MBP w/ SSD.
> Tests pass on my 2013 MBA.
> Isolated to 500ms timeout in the start/start functions in plugman tests:
> 1. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install-browserify.spec.js#L149
> 2. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install.spec.js#L147
> 3. 
> https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/uninstall.spec.js#L78
> Increasing the timeout to 2000ms will pass all tests on older hardware.



--
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-6462) Support "Orientation" global preference

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

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

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

Commit 93ab6b6174b579130efcd56f4a5c0fcebb93296f in cordova-lib's branch 
refs/heads/master from Rachel Carvalho
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=93ab6b6 ]

CB-6462 CB-6026 - Orientation preference now updates 
`UISupportedInterfaceOrientations~ipad` too.

Also deleting iPad orientation values


> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-6026) Orientation preference is ignored on iOS

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

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

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

Commit 93ab6b6174b579130efcd56f4a5c0fcebb93296f in cordova-lib's branch 
refs/heads/master from Rachel Carvalho
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=93ab6b6 ]

CB-6462 CB-6026 - Orientation preference now updates 
`UISupportedInterfaceOrientations~ipad` too.

Also deleting iPad orientation values


> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
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-8989) cordova-lib jasmine tests are failing on older hardware

2015-05-07 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-8989:


 Summary: cordova-lib jasmine tests are failing on older hardware
 Key: CB-8989
 URL: https://issues.apache.org/jira/browse/CB-8989
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Affects Versions: Master
 Environment: iOS
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah


I cloned the cordova-lib repo everytime in my tests.

Tests are failing on older hardware. My home machine is a 2011 MBP w/ SSD.
Tests pass on my 2013 MBA.

Isolated to 500ms timeout in the start/start functions in plugman tests:
1. 
https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install-browserify.spec.js#L149
2. 
https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/install.spec.js#L147
3. 
https://github.com/apache/cordova-lib/blob/d6f2b11412f323557f950a92fa4c24ae4443bbf5/cordova-lib/spec-plugman/uninstall.spec.js#L78

Increasing the timeout to 2000ms will pass all tests on older hardware.



--
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-3562) Wrong splash screen ratio for landscape-only applications

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

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

ASF GitHub Bot commented on CB-3562:


GitHub user dpolivy opened a pull request:

https://github.com/apache/cordova-plugin-splashscreen/pull/47

CB-3562: Disable screen rotation for iPhone when splash screen is shown 
(updated)

This is an updated port of emarashliev's fix for CB-3562, as this bug still 
exists. The original PR #14 seems to be dead, however. I ported these changes 
over to the latest branch of the plugin, and made some minor adjustments to 
avoid deprecated functions.

@shazron @agrieve Given the discussion in the previous PR, hopefully this 
can be reviewed and incorporated quickly.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dpolivy/cordova-plugin-splashscreen CB3562

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-splashscreen/pull/47.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #47


commit 545b0a81139dd48accc4c25ccc8c8b2052635928
Author: Emil Marashliev 
Date:   2014-02-19T14:05:34Z

CB-3562 Disable screen rotation for iPhone when splash screen is shown.

commit b6e3023f31063f4d6204355e6b13c348180cf603
Author: Dan Polivy 
Date:   2015-05-08T00:35:10Z

CB-3562: Disable screen rotation for iPhone when splash screen is shown.

This is a port of emarashliev's original fix for CB-3562, cleaned up
to avoid deprecated functions.

Merge branch 'master' of 
https://github.com/emarashliev/cordova-plugin-splashscreen into CB3562




> Wrong splash screen ratio for landscape-only applications
> -
>
> Key: CB-3562
> URL: https://issues.apache.org/jira/browse/CB-3562
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugin SplashScreen
>Affects Versions: 2.6.0, 2.7.0, 2.9.0
>Reporter: Michael Hanselmann
>Assignee: Shazron Abdullah
> Fix For: 3.4.0
>
>
> CDVSplashScreen.m shows the splash image with a wrong ratio for 
> landscape-only applications on iPhone/iPod touch devices. I fixed it locally 
> by applying a 90° transformation (“CGAffineTransformMakeRotation(M_PI / 2)”) 
> to the image view.



--
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-8959) Plugins Release 5/5/2015

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

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

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

Commit ef4af1e8a670456e54c1fcf4fc07f82dd84898f5 in cordova-plugin-vibration's 
branch refs/heads/master from [~stevegill]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-vibration.git;h=ef4af1e
 ]

Revert "Revert "CB-8959 Incremented plugin version.""

This reverts commit 81729f0f5c764bf39e7d21bb50a963a252df3c71.


> 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-8959) Plugins Release 5/5/2015

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

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

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

Commit 81729f0f5c764bf39e7d21bb50a963a252df3c71 in cordova-plugin-vibration's 
branch refs/heads/master from [~stevegill]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-vibration.git;h=81729f0
 ]

Revert "CB-8959 Incremented plugin version."

This reverts commit 3df4885b16b998ff411d18334b4db1062a85c9e9.


> 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-8986) Tools Release: May 7, 2015

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

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

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

Commit 27a14fd04c512a9d8eded0173a9cb11e7663ad7c in cordova-plugman's branch 
refs/heads/0.23.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=27a14fd ]

Revert "CB-8986 Updated version for release 0.23.2"

This reverts commit bef26de5b7fe4bf269b0b53c4b9e97e55c124c27.


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

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

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

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

Commit 3ec24f31ef9713372ca1a41aa10f5df1817cb0ff in cordova-lib's branch 
refs/heads/5.0.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=3ec24f3 ]

Revert "CB-8986 Updated version for release 5.0.1"

This reverts commit 3cb3835b96c11b15f1c6513aaff7fe7011645752.


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

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

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

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

Commit 95f199557a8ee7da68d33a91f2ab28dc637d2775 in cordova-cli's branch 
refs/heads/5.0.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=95f1995 ]

Revert "CB-8986 Updated version for release 5.0.1"

This reverts commit ef3ff2c847071b2f9b18cbb8a2dcb2ee1238aab1.


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-7667) [Camera] iOS8: Handle case where camera is not authorized

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

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

ASF GitHub Bot commented on CB-7667:


Github user dpolivy commented on the pull request:


https://github.com/apache/cordova-plugin-camera/pull/49#issuecomment-100047309
  
@shazron Any possibility of a review & merge for the next plugin release?


> [Camera] iOS8: Handle case where camera is not authorized
> -
>
> Key: CB-7667
> URL: https://issues.apache.org/jira/browse/CB-7667
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Plugin Camera, Plugin Media Capture
>Affects Versions: 3.5.0
> Environment: iOS 8
>Reporter: Dan Polivy
>Priority: Minor
>
> In iOS 8, it's possible for the camera to be disabled for any given app; in 
> iOS 7, this was only possible in certain regions (e.g. China).
> If the camera is disabled, and someone launches the Camera plugin to capture 
> an image from the camera, they'll just get the camera UI with a black screen, 
> and no indication that the camera permission is disabled for the app. A 
> better UX would be to show the user a prompt indicating that the camera 
> permission is disabled, and (on iOS 8) providing a button to take them to the 
> Settings app to change it.
> As of iOS 7, there's a new API to test whether the app has access to capture 
> the desired media type:
> https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVCaptureDevice_Class/index.html#//apple_ref/occ/clm/AVCaptureDevice/authorizationStatusForMediaType:
> [AVCaptureDevice authorizationStatusForMediaType:mediaType];



--
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-8988) [splashscreen] iOS splash screen rotation incorrectly scales image

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

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

ASF GitHub Bot commented on CB-8988:


Github user dpolivy commented on the pull request:


https://github.com/apache/cordova-plugin-splashscreen/pull/46#issuecomment-100047179
  
@shazron Can you please review & merge?


> [splashscreen] iOS splash screen rotation incorrectly scales image
> --
>
> Key: CB-8988
> URL: https://issues.apache.org/jira/browse/CB-8988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Dan Polivy
>
> On iOS devices, if rotation occurs while the splash screen is visible, it 
> ends up horribly/incorrectly scaling the existing image, instead of loading 
> the correctly oriented image.
> This happens on both iPad and iPhone -- although technically iPhone should 
> not allow rotation at all. (I see there is another issue tracking that for 
> iPhone.)
> From debugging, the issue appears to be that the interfaceOrientation of the 
> viewController has not been updated at the time that the frame/bounds changes 
> are observed by the plugin. Thus, even though the frame/bounds change, the 
> correct image for the new orientation is never loaded.
> I will provide a PR with an alternate fix shortly. I found it worked better 
> to use [[UIApplication sharedApplication] statusBarOrientation] to determine 
> orientation.



--
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-8988) [splashscreen] iOS splash screen rotation incorrectly scales image

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

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

ASF GitHub Bot commented on CB-8988:


GitHub user dpolivy opened a pull request:

https://github.com/apache/cordova-plugin-splashscreen/pull/46

CB-8988: Fix rotation on iOS/iPad

The viewController.interfaceOrientation passed to getImageName has not
yet been updated with the new orientation, even when the frame/bounds
change event has fired. Thus, the plugin never actually loads the
correct image for the new orientation. Instead, it poorly scales the
existing image.

This fix uses the statusBarOrientation property of the UIApplication
object to detect the actual orientation, and correctly load the right
image.

Fixes https://issues.apache.org/jira/browse/CB-8988

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dpolivy/cordova-plugin-splashscreen CB8988

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-splashscreen/pull/46.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #46


commit 4df490b4d935ffd43904dda1726a790372c64d92
Author: Dan Polivy 
Date:   2015-05-07T23:37:02Z

CB-8988: Fix rotation on iOS/iPad

The viewController.interfaceOrientation passed to getImageName has not
yet been updated with the new orientation, even when the frame/bounds
change event has fired. Thus, the plugin never actually loads the
correct image for the new orientation. Instead, it poorly scales the
existing image.

This fix uses the statusBarOrientation property of the UIApplication
object to detect the actual orientation, and correctly load the right
image.




> [splashscreen] iOS splash screen rotation incorrectly scales image
> --
>
> Key: CB-8988
> URL: https://issues.apache.org/jira/browse/CB-8988
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin SplashScreen
> Environment: iOS
>Reporter: Dan Polivy
>
> On iOS devices, if rotation occurs while the splash screen is visible, it 
> ends up horribly/incorrectly scaling the existing image, instead of loading 
> the correctly oriented image.
> This happens on both iPad and iPhone -- although technically iPhone should 
> not allow rotation at all. (I see there is another issue tracking that for 
> iPhone.)
> From debugging, the issue appears to be that the interfaceOrientation of the 
> viewController has not been updated at the time that the frame/bounds changes 
> are observed by the plugin. Thus, even though the frame/bounds change, the 
> correct image for the new orientation is never loaded.
> I will provide a PR with an alternate fix shortly. I found it worked better 
> to use [[UIApplication sharedApplication] statusBarOrientation] to determine 
> orientation.



--
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-8988) [splashscreen] iOS splash screen rotation incorrectly scales image

2015-05-07 Thread Dan Polivy (JIRA)
Dan Polivy created CB-8988:
--

 Summary: [splashscreen] iOS splash screen rotation incorrectly 
scales image
 Key: CB-8988
 URL: https://issues.apache.org/jira/browse/CB-8988
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin SplashScreen
 Environment: iOS
Reporter: Dan Polivy


On iOS devices, if rotation occurs while the splash screen is visible, it ends 
up horribly/incorrectly scaling the existing image, instead of loading the 
correctly oriented image.

This happens on both iPad and iPhone -- although technically iPhone should not 
allow rotation at all. (I see there is another issue tracking that for iPhone.)

>From debugging, the issue appears to be that the interfaceOrientation of the 
>viewController has not been updated at the time that the frame/bounds changes 
>are observed by the plugin. Thus, even though the frame/bounds change, the 
>correct image for the new orientation is never loaded.

I will provide a PR with an alternate fix shortly. I found it worked better to 
use [[UIApplication sharedApplication] statusBarOrientation] to determine 
orientation.



--
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-8833) Cordova-Android Platform Release April 9, 2015

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8833.

Resolution: Implemented

Cordova 4.0.0 has been released, closing this task.

> Cordova-Android Platform Release April 9, 2015
> --
>
> Key: CB-8833
> URL: https://issues.apache.org/jira/browse/CB-8833
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Android
>Reporter: Andrew Grieve
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-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] [Resolved] (CB-8904) Splashscreen show when open url in _self with inappbrowser on android

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8904.

Resolution: Fixed

We were resetting the static variable every time the object is destroyed.  The 
thing is that this object gets destroyed whenever we navigate from one page to 
another and reset the pluginManager, which I'm surprised nobody found until 
now.  Now, the splashscreen only shows up on the first run of the device, and 
when splashscreen.show() is called, and no other time.

> Splashscreen show when open url in _self with inappbrowser on android
> -
>
> Key: CB-8904
> URL: https://issues.apache.org/jira/browse/CB-8904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin InAppBrowser, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Mickael Magniez
>Assignee: Joe Bowser
>
> Hi,
> On android, when opening external url in InAppBrowser, using _self, 
> splashscreen is showing.
> This is annoying because we have flieckering 
>  - application
>  - splashscreen
>  - application again for few millisecond
>  - webpage in inappbrowser



--
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-8904) Splashscreen show when open url in _self with inappbrowser on android

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

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

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

Commit 6cc3d1f3fe71309055a9f3778c75c5360c0a1ec6 in 
cordova-plugin-splashscreen's branch refs/heads/master from [~bowserj]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-splashscreen.git;h=6cc3d1f
 ]

CB-8904: Don't reset the static variable when it's destroyed, otherwise we 
might as well just have a member variable


> Splashscreen show when open url in _self with inappbrowser on android
> -
>
> Key: CB-8904
> URL: https://issues.apache.org/jira/browse/CB-8904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin InAppBrowser, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Mickael Magniez
>Assignee: Joe Bowser
>
> Hi,
> On android, when opening external url in InAppBrowser, using _self, 
> splashscreen is showing.
> This is annoying because we have flieckering 
>  - application
>  - splashscreen
>  - application again for few millisecond
>  - webpage in inappbrowser



--
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-6462) Support "Orientation" global preference

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

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

ASF GitHub Bot commented on CB-6462:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-lib/pull/207#issuecomment-100042422
  
CB-8783 affects iPad as well, by inspecting the existing code (not yours).


> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-8783) 'default' value for Orientation does not support both landscape and portrait orientations.

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8783:
--

This affects both iPad and iPhone. See CB-6762 and 
https://github.com/apache/cordova-lib/pull/207

> 'default' value for Orientation does not support both landscape and portrait 
> orientations.
> --
>
> Key: CB-8783
> URL: https://issues.apache.org/jira/browse/CB-8783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 3.8.0
>Reporter: Nikhil Khandelwal
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>
> There is no support for adding both landscape and portrait orientation for 
> iOS as can be seen by the plist value for 'default'
> https://github.com/apache/cordova-lib/blob/8de97feba2fa883298eb9c99be0c425c73960f1a/cordova-lib/src/cordova/metadata/ios_parser.js#L84



--
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-8783) 'default' value for Orientation does not support both landscape and portrait orientations.

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-8783:


Assignee: Shazron Abdullah

> 'default' value for Orientation does not support both landscape and portrait 
> orientations.
> --
>
> Key: CB-8783
> URL: https://issues.apache.org/jira/browse/CB-8783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 3.8.0
>Reporter: Nikhil Khandelwal
>Assignee: Shazron Abdullah
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>
> There is no support for adding both landscape and portrait orientation for 
> iOS as can be seen by the plist value for 'default'
> https://github.com/apache/cordova-lib/blob/8de97feba2fa883298eb9c99be0c425c73960f1a/cordova-lib/src/cordova/metadata/ios_parser.js#L84



--
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] [Comment Edited] (CB-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-6462 at 5/7/15 10:53 PM:
---

Also see CB-8783, where "default" orientation value is not handled for iPhone.


was (Author: shazron):
Also see CB-8783, where "default" orientation value is not handled.

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6462:
--

Also see CB-8783, where "default" orientation value is not handled.

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-8783) 'default' value for Orientation does not support both landscape and portrait orientations.

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-8783:
-
Summary: 'default' value for Orientation does not support both landscape 
and portrait orientations.  (was: 'default' value for Orientation does not 
support both landscape and potrait orientations.)

> 'default' value for Orientation does not support both landscape and portrait 
> orientations.
> --
>
> Key: CB-8783
> URL: https://issues.apache.org/jira/browse/CB-8783
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 3.8.0
>Reporter: Nikhil Khandelwal
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>
> There is no support for adding both landscape and portrait orientation for 
> iOS as can be seen by the plist value for 'default'
> https://github.com/apache/cordova-lib/blob/8de97feba2fa883298eb9c99be0c425c73960f1a/cordova-lib/src/cordova/metadata/ios_parser.js#L84



--
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-8713) orientation preference of "portrait" does not apply to iPad build

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-8713.
--
Resolution: Duplicate

Re-opened CB-6462, tracking it there

> orientation preference of "portrait" does not apply to iPad build
> -
>
> Key: CB-8713
> URL: https://issues.apache.org/jira/browse/CB-8713
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 4.1.3
> Environment: OSX 10.10.2 (yosemite) iOS
>Reporter: Phil Dougherty
>Priority: Minor
>  Labels: cordova-ios-4.0.x
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> NOTE- actually only tested with cordova --version 4.2.0, but the "Affects 
> Version" box won't let me type that...
> With 
> 
> in config.xml, the project created with 
> cordova platform add ios
> the settings for iPhone are correctly set to only allow portrait, but for 
> iPad they are not.



--
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-6026) Orientation preference is ignored on iOS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6026:
--

@jan I tested it with cordova-cli 5.0.0 (which comes with cordova-ios 3.8.0 
platform), tried "landscape", "portrait" and "default". They all changed to the 
appropriate values in Info.plist.

> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
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-8904) Splashscreen show when open url in _self with inappbrowser on android

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8904:


When you use _self, you're not using the InAppBrowser, you're loading the page 
directly into the current webview.  Once you move to another document, the 
plugin manager has to rebuild the plugins, and this causes the splashscreen to 
re-load itself.  This is definitely a bug, but I'm not sure why you're using 
_self instead of just using a regular link to go to another page.  This seems 
redundant.

> Splashscreen show when open url in _self with inappbrowser on android
> -
>
> Key: CB-8904
> URL: https://issues.apache.org/jira/browse/CB-8904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin InAppBrowser, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Mickael Magniez
>Assignee: Joe Bowser
>
> Hi,
> On android, when opening external url in InAppBrowser, using _self, 
> splashscreen is showing.
> This is annoying because we have flieckering 
>  - application
>  - splashscreen
>  - application again for few millisecond
>  - webpage in inappbrowser



--
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-8986) Tools Release: May 7, 2015

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

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

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

Commit 37088fa32689710a0bc696f9fd56dca188b32aa0 in cordova-js's branch 
refs/heads/3.9.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=37088fa ]

Revert "CB-8986 Updated version for release 3.9.1"

This reverts commit cb17c7cb0e11fd767f102909b7d8a57eab3f04fe.


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

2015-05-07 Thread Steve Gill (JIRA)

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

Steve Gill closed CB-8986.
--
Resolution: Fixed

This release isn't needed anymore

> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-6462) Support "Orientation" global preference

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

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

ASF GitHub Bot commented on CB-6462:


Github user rachel-carvalho commented on the pull request:

https://github.com/apache/cordova-lib/pull/207#issuecomment-100033206
  
Done!


> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-8961) Android Emulator not being killed by Medic on OSX

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

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

ASF GitHub Bot commented on CB-8961:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-medic/pull/52


> Android Emulator not being killed by Medic on OSX
> -
>
> Key: CB-8961
> URL: https://issues.apache.org/jira/browse/CB-8961
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Medic
>Affects Versions: Master
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>  Labels: emulator, medic
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Multiple versions of the ARM emulator get used because only the x86/x64 
> emulators are killed by Medic. We should be killing them all.



--
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-8961) Android Emulator not being killed by Medic on OSX

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

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

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

Commit e75b82259c26b549f1578c1a08682fb7719bc35b in cordova-medic's branch 
refs/heads/master from [~dblotsky]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-medic.git;h=e75b822 ]

CB-8961 Adding ARM emulator and ADB to list of killed tasks for Android on OSX.


> Android Emulator not being killed by Medic on OSX
> -
>
> Key: CB-8961
> URL: https://issues.apache.org/jira/browse/CB-8961
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Medic
>Affects Versions: Master
>Reporter: Dmitry Blotsky
>Assignee: Dmitry Blotsky
>  Labels: emulator, medic
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Multiple versions of the ARM emulator get used because only the x86/x64 
> emulators are killed by Medic. We should be killing them all.



--
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-6462) Support "Orientation" global preference

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

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

ASF GitHub Bot commented on CB-6462:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-lib/pull/207#issuecomment-100025000
  
Hi Rachel - can you update the title with a prefix of CB-6462 CB-6026 (to 
enable some auto-tracking with JIRA) 


> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-8980) Adding New Image Element to config.xml for iOS

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran commented on CB-8980:


Hi [~shazron], I'm not familiar with iOS. Can you answer a few questions I have 
about going about this task?

I'm only planning on having a tag like this:

and the iOS config parser will just copy from source to the Resources directory.

I understand that in an iOS app, image files should go into the Resources 
directory. I see that there is a Resources/icons directory for all the icon.png 
files and a Resources/splash directory for all of the splash images. 

1. For my case where I'm copying other images that are not the main-app icon or 
the splash image, can I copy them in a new directory 'Resources/images' and the 
user would be able to reference those images there?

2. And follow up question is those images don't need to be of any particular 
size with a corresponding name do they? I see that the icons need specific 
names depending on their size, so I want to confirm that other images don't 
have that restriction.


> Adding New Image Element to config.xml for iOS
> --
>
> Key: CB-8980
> URL: https://issues.apache.org/jira/browse/CB-8980
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CLI, CordovaLib, iOS
>Affects Versions: Master
> Environment: iOS
>Reporter: Karen Tran
>Assignee: Karen Tran
>
> Based on the parent task, create a new image element tag to copy the image 
> from src to the correct directory with the given name.
> Example:
> 



--
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-6026) Orientation preference is ignored on iOS

2015-05-07 Thread Marko Raatikka (JIRA)

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

Marko Raatikka commented on CB-6026:


This issue is being addressed. See 
https://github.com/apache/cordova-lib/pull/207 for related discussion.

> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
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-8985) Cordova wont install or update

2015-05-07 Thread Nikhil Khandelwal (JIRA)

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

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

> Cordova wont install or update
> --
>
> Key: CB-8985
> URL: https://issues.apache.org/jira/browse/CB-8985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 4.1.3, 5.0.0
> Environment: Windows
>Reporter: Kris Erickson
>
> Update cordova gives an error, and blows away Cordova.  Installing also gives 
> the error, the only fix is to install version 4.0.0
> >npm install -g cordova
> npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0'
> npm ERR! notarget Valid install targets:
> npm ERR! notarget 
> ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
> npm ERR! notarget
> npm ERR! notarget This is most likely not a problem with npm itself.
> npm ERR! notarget In most cases you or one of your dependencies are requesting
> npm ERR! notarget a package version that doesn't exist.
> npm ERR! System Windows_NT 6.1.7601
> npm ERR! command "C:\\Program Files\\nodejsnode.exe" "C:\\Program 
> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
>  "install" "-g" "cordova"
> npm ERR! cwd D:\Projects\
> npm ERR! node -v v0.10.38
> npm ERR! npm -v 1.4.28
> npm ERR! code ETARGET
> npm ERR! not ok code 0
> See also 
> http://stackoverflow.com/questions/30107474/error-installing-cordova
> http://stackoverflow.com/questions/30107556/trouble-installing-phonegap-no-compatible-version-found-jsonstream-1-0-3
> http://forum.ionicframework.com/t/issues-installing-cordova-using-npm-install/22573



--
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-8985) Cordova wont install or update

2015-05-07 Thread Nikhil Khandelwal (JIRA)

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

Nikhil Khandelwal commented on CB-8985:
---

This has been resolved now.

> Cordova wont install or update
> --
>
> Key: CB-8985
> URL: https://issues.apache.org/jira/browse/CB-8985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 4.1.3, 5.0.0
> Environment: Windows
>Reporter: Kris Erickson
>
> Update cordova gives an error, and blows away Cordova.  Installing also gives 
> the error, the only fix is to install version 4.0.0
> >npm install -g cordova
> npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0'
> npm ERR! notarget Valid install targets:
> npm ERR! notarget 
> ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
> npm ERR! notarget
> npm ERR! notarget This is most likely not a problem with npm itself.
> npm ERR! notarget In most cases you or one of your dependencies are requesting
> npm ERR! notarget a package version that doesn't exist.
> npm ERR! System Windows_NT 6.1.7601
> npm ERR! command "C:\\Program Files\\nodejsnode.exe" "C:\\Program 
> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
>  "install" "-g" "cordova"
> npm ERR! cwd D:\Projects\
> npm ERR! node -v v0.10.38
> npm ERR! npm -v 1.4.28
> npm ERR! code ETARGET
> npm ERR! not ok code 0
> See also 
> http://stackoverflow.com/questions/30107474/error-installing-cordova
> http://stackoverflow.com/questions/30107556/trouble-installing-phonegap-no-compatible-version-found-jsonstream-1-0-3
> http://forum.ionicframework.com/t/issues-installing-cordova-using-npm-install/22573



--
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] [Comment Edited] (CB-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-8974 at 5/7/15 8:53 PM:
--

Save the dsyms for each build, every time. No, dysms will be specific for the 
build, if not the crash log will be mismatched. 

If you archived your app before sending it out ad-hoc or the App Store, you 
will have it in Xcode's Organizer. Window -> Organizer. Right click on the 
archive, Show In Finder. Right click on the.xcarchive to Show Package Contents, 
and you should see the dsym. To deploy to users, you can export this archive 
for ad-hoc (then iTunes drag in to connected device).

That looks like the proper way to symbolicate (the other way would be from the 
command line).


was (Author: shazron):
Save the dsyms for each build, every time. No, dysms will be specific for the 
build, if not the crash log will be mismatched. 

If you archived your app before sending it out ad-hoc or the App Store, you 
will have it in Xcode's Organizer. Window -> Organizer. Right click on the 
archive, Show In Finder. Right click on the.xcarchive to Show Package Contents, 
and you should see the dsym. To deploy to users, you can export this archive 
for ad-hoc (iTunes drag in to connected device).

That looks like the proper way to symbolicate (the other way would be from the 
command line).

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8974:
--

Save the dsyms for each build, every time. No, dysms will be specific for the 
build, if not the crash log will be mismatched. 

If you archived your app before sending it out ad-hoc or the App Store, you 
will have it in Xcode's Organizer. Window -> Organizer. Right click on the 
archive, Show In Finder. Right click on the.xcarchive to Show Package Contents, 
and you should see the dsym. To deploy to users, you can export this archive 
for ad-hoc (iTunes drag in to connected device).

That looks like the proper way to symbolicate (the other way would be from the 
command line).

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Jesse Pangburn (JIRA)

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

Jesse Pangburn commented on CB-8974:


No, sorry I didn't know about that.  I'm fairly new to Cordova and very new to 
iOS.  I found the file you're talking about I think.  In 
platforms/ios/build/emulator/ there's a PCMM.app.dSYM file.  Is that the right 
one?  Unfortunately, it's been updated since the problem occurred.

I am using Xcode and plugging the devices we're testing on into the machine, 
then hitting the "build and then run current scheme" (looks like a play arrow 
button) button.  This builds and installs onto the device.  Then the users are 
going into the field to test.  Should I be capturing the dsym file produced 
above every time I do that so I can symbolicate a crash log?

Is this the right way to symbolicate? 
http://stackoverflow.com/questions/25855389/how-to-symbolicate-crash-log-xcode-6
If so, I'll setup to do that and then update this if we get another crash with 
that information.  No crashes today, so it's not something that happens a lot.

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8986) Tools Release: May 7, 2015

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

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

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

Commit cb17c7cb0e11fd767f102909b7d8a57eab3f04fe in cordova-js's branch 
refs/heads/3.9.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;h=cb17c7c ]

CB-8986 Updated version for release 3.9.1


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

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

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

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

Commit ef3ff2c847071b2f9b18cbb8a2dcb2ee1238aab1 in cordova-cli's branch 
refs/heads/5.0.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=ef3ff2c ]

CB-8986 Updated version for release 5.0.1


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

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

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

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

Commit bef26de5b7fe4bf269b0b53c4b9e97e55c124c27 in cordova-plugman's branch 
refs/heads/0.23.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=bef26de ]

CB-8986 Updated version for release 0.23.2


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8986) Tools Release: May 7, 2015

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

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

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

Commit 3cb3835b96c11b15f1c6513aaff7fe7011645752 in cordova-lib's branch 
refs/heads/5.0.x from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=3cb3835 ]

CB-8986 Updated version for release 5.0.1


> Tools Release: May 7, 2015
> --
>
> Key: CB-8986
> URL: https://issues.apache.org/jira/browse/CB-8986
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI, CordovaJS, CordovaLib, Plugman
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-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-8985) Cordova wont install or update

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8985:
--

We're working on this.

> Cordova wont install or update
> --
>
> Key: CB-8985
> URL: https://issues.apache.org/jira/browse/CB-8985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 4.1.3, 5.0.0
> Environment: Windows
>Reporter: Kris Erickson
>
> Update cordova gives an error, and blows away Cordova.  Installing also gives 
> the error, the only fix is to install version 4.0.0
> >npm install -g cordova
> npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0'
> npm ERR! notarget Valid install targets:
> npm ERR! notarget 
> ["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
> npm ERR! notarget
> npm ERR! notarget This is most likely not a problem with npm itself.
> npm ERR! notarget In most cases you or one of your dependencies are requesting
> npm ERR! notarget a package version that doesn't exist.
> npm ERR! System Windows_NT 6.1.7601
> npm ERR! command "C:\\Program Files\\nodejsnode.exe" "C:\\Program 
> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
>  "install" "-g" "cordova"
> npm ERR! cwd D:\Projects\
> npm ERR! node -v v0.10.38
> npm ERR! npm -v 1.4.28
> npm ERR! code ETARGET
> npm ERR! not ok code 0
> See also 
> http://stackoverflow.com/questions/30107474/error-installing-cordova
> http://stackoverflow.com/questions/30107556/trouble-installing-phonegap-no-compatible-version-found-jsonstream-1-0-3
> http://forum.ionicframework.com/t/issues-installing-cordova-using-npm-install/22573



--
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-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6462:
-
Labels: cordova-ios-4.0.x  (was: )

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



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

2015-05-07 Thread Rob Paveza (JIRA)
Rob Paveza created CB-8987:
--

 Summary: 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] [Updated] (CB-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-6462:
-
Component/s: (was: iOS)
 CordovaLib
Environment: iOS

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.0.x
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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] [Reopened] (CB-6462) Support "Orientation" global preference

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reopened CB-6462:
--

Re-opening due to reports that it doesn't work (see CB-6026)

> Support "Orientation" global preference
> ---
>
> Key: CB-6462
> URL: https://issues.apache.org/jira/browse/CB-6462
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
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-6026) Orientation preference is ignored on iOS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6026:
--

I'll re-open CB-6462 and investigate when I can. That issue contains the 
relevant commits that were added to fix this issue. Continue your discussion 
there.

> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
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-8986) Tools Release: May 7, 2015

2015-05-07 Thread Steve Gill (JIRA)
Steve Gill created CB-8986:
--

 Summary: Tools Release: May 7, 2015
 Key: CB-8986
 URL: https://issues.apache.org/jira/browse/CB-8986
 Project: Apache Cordova
  Issue Type: Task
  Components: CLI, CordovaJS, CordovaLib, Plugman
Reporter: Steve Gill
Assignee: Steve Gill


"Following steps at 
https://github.com/apache/cordova-coho/blob/master/docs/tools-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-6026) Orientation preference is ignored on iOS

2015-05-07 Thread Cameron Knight (JIRA)

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

Cameron Knight commented on CB-6026:


This ticket needs to be reopened. The issue is still present on iOS, with the 
plist files never being updated.

> Orientation preference is ignored on iOS
> 
>
> Key: CB-6026
> URL: https://issues.apache.org/jira/browse/CB-6026
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, iOS
>Reporter: Andrew Grieve
>Priority: Minor
>
> [Docs|http://cordova.apache.org/docs/en/edge/config_ref_index.md.html] say 
> that this should work:
> {quote}
>  
> {quote}
> But it doesn't.



--
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-3360) Set custom InAppBrowser user-agent

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

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

ASF GitHub Bot commented on CB-3360:


Github user shazron commented on the pull request:

https://github.com/apache/cordova-docs/pull/284#issuecomment-99987621
  
note: this is slated for cordova-ios 4.0.x release


> Set custom InAppBrowser user-agent
> --
>
> Key: CB-3360
> URL: https://issues.apache.org/jira/browse/CB-3360
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, Plugin InAppBrowser, WP8
>Affects Versions: 2.7.0
> Environment: iOS, Android, WP8, BlackBerry
>Reporter: Kevin Simpson
>Priority: Minor
>  Labels: Cordova, InAppBrowser, android, cordova-ios-4.0.x
>
> Currently you can set a custom user-agent for the main Cordova webview by 
> overriding the init method for the DroidGap class. However, when opening a 
> page in the InAppBrowser, that webview will still contain the default 
> user-agent.
> There are two solutions that I have thought of to this:
> 1. Set the user-agent of the InAppBrowser webview to whatever the user-agent 
> in the Cordova webview is set to. (This is what I am currently doing, as it 
> was a one line change, but it requires rebuilding Cordova manually)
> 2. Have some sort of configuration option to set the user-agent for the 
> InAppBrowser. This would allow a different user-agent from the main webview, 
> but is also a more involved change.



--
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-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-8974:
--

I'm afraid the crash log is sparse. Did you save your .dsym files to 
symbolicate your crash log? (dsym files will be specific for a build). That 
will point to exactly where in the code the crash happens.

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-8974:
-
Fix Version/s: 4.0.0

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8974) objc_msgSend causes EXC_BAD_ACCESS

2015-05-07 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-8974:
-
Affects Version/s: (was: 4.0.0)

> objc_msgSend causes EXC_BAD_ACCESS
> --
>
> Key: CB-8974
> URL: https://issues.apache.org/jira/browse/CB-8974
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iPad 4,5
> ARM-64
> iOS 8.3
> Cordova 4.3.0 (for some reason the affects versions list doesn't show 4.3.0 
> but that's what I'm using:
> jpangburn$ cordova -version
> 4.3.0
>Reporter: Jesse Pangburn
>  Labels: crash
> Fix For: 4.0.0
>
>
> I'm using the Camera plugin to get an image url, then passing that image url 
> to the File plugin to copy the image to another directory.  I've gotten two 
> crash logs from a user who says the crashes happened immediately after those 
> thing completed (they refer to a thumbnail that would only show if the File 
> plugin made its transfer).
> The crash log has this relevant info:
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Subtype: KERN_INVALID_ADDRESS at 0x15c87e90
> Triggered by Thread:  0
> Thread 0 name:  Dispatch queue: com.apple.main-thread
> Thread 0 Crashed:
> 0   libobjc.A.dylib   0x0001962ffbd0 objc_msgSend + 16
> 1   Foundation0x000185bd417c 
> __NSFireDelayedPerform + 420
> 2   CoreFoundation0x000184c98128 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 24
> 3   CoreFoundation0x000184c97dd8 __CFRunLoopDoTimer + 
> 884
> 4   CoreFoundation0x000184c95824 __CFRunLoopRun + 1368
> 5   CoreFoundation0x000184bc12d0 CFRunLoopRunSpecific 
> + 392
> 6   GraphicsServices  0x00018e2976f8 GSEventRunModal + 164
> 7   UIKit 0x000189786fa8 UIApplicationMain + 
> 1484
> 8   PCMM  0x0001000aa4f0 main (main.m:32)
> 9   libdyld.dylib 0x00019696aa04 start + 0
> This appears to have been reported in 
> https://issues.apache.org/jira/browse/CB-6150  but it says it was fixed in 
> version 3.5 and I'm using 4.3.0.  I checked github and looked at those files 
> for version 4.x and it shows that the changes have not been reverted, so 
> seems it's not the same problem exactly.



--
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-8985) Cordova wont install or update

2015-05-07 Thread Kris Erickson (JIRA)
Kris Erickson created CB-8985:
-

 Summary: Cordova wont install or update
 Key: CB-8985
 URL: https://issues.apache.org/jira/browse/CB-8985
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 4.1.3, 5.0.0
 Environment: Windows
Reporter: Kris Erickson


Update cordova gives an error, and blows away Cordova.  Installing also gives 
the error, the only fix is to install version 4.0.0

>npm install -g cordova
npm ERR! notarget No compatible version found: JSONStream@'>=1.0.3-0 <2.0.0-0'
npm ERR! notarget Valid install targets:
npm ERR! notarget 
["0.0.0","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.7.0","0.7.1","0.8.0","0.7.2","0.7.3","0.7.4","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.10.0"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejsnode.exe" "C:\\Program 
Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
 "install" "-g" "cordova"
npm ERR! cwd D:\Projects\
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code ETARGET
npm ERR! not ok code 0

See also 

http://stackoverflow.com/questions/30107474/error-installing-cordova
http://stackoverflow.com/questions/30107556/trouble-installing-phonegap-no-compatible-version-found-jsonstream-1-0-3
http://forum.ionicframework.com/t/issues-installing-cordova-using-npm-install/22573




--
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-8968) File failures on WP8

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

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

ASF GitHub Bot commented on CB-8968:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-wp8/pull/79#issuecomment-99962513
  
nope, all auto build systems are hooped right now because of an issue with
Capitalized npm package names.

@purplecabbage
risingj.com

On Thu, May 7, 2015 at 10:54 AM, Chris Brody 
wrote:

> Issued PR to fix CB-8968 (automatic build failed, don't think it is my
> fault)
>
> —
> Reply to this email directly or view it on GitHub
> .
>



> File failures on WP8
> 
>
> Key: CB-8968
> URL: https://issues.apache.org/jira/browse/CB-8968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, WP8
>Reporter: Alexander Sorokin
>Assignee: Jesse MacFadyen
>
> New failures showed up in mobilespec for wp8:
> {code}
> cordova-plugin-file-tests.tests >> File API Read method file.spec.87 should 
> read file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API Read method file.spec.94 should 
> read sliced file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.106 should 
> be able to write a File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.107 should 
> be able to write a sliced File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.108 should 
> be able to write binary data from a File
> {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] [Assigned] (CB-8904) Splashscreen show when open url in _self with inappbrowser on android

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-8904:
--

Assignee: Joe Bowser

> Splashscreen show when open url in _self with inappbrowser on android
> -
>
> Key: CB-8904
> URL: https://issues.apache.org/jira/browse/CB-8904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin InAppBrowser, Plugin SplashScreen
>Affects Versions: Master
>Reporter: Mickael Magniez
>Assignee: Joe Bowser
>
> Hi,
> On android, when opening external url in InAppBrowser, using _self, 
> splashscreen is showing.
> This is annoying because we have flieckering 
>  - application
>  - splashscreen
>  - application again for few millisecond
>  - webpage in inappbrowser



--
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-8968) File failures on WP8

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

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

ASF GitHub Bot commented on CB-8968:


Github user brodybits commented on the pull request:

https://github.com/apache/cordova-wp8/pull/79#issuecomment-99960110
  
Issued PR to fix CB-8968 (automatic build failed, don't think it is my 
fault)


> File failures on WP8
> 
>
> Key: CB-8968
> URL: https://issues.apache.org/jira/browse/CB-8968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, WP8
>Reporter: Alexander Sorokin
>Assignee: Jesse MacFadyen
>
> New failures showed up in mobilespec for wp8:
> {code}
> cordova-plugin-file-tests.tests >> File API Read method file.spec.87 should 
> read file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API Read method file.spec.94 should 
> read sliced file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.106 should 
> be able to write a File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.107 should 
> be able to write a sliced File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.108 should 
> be able to write binary data from a File
> {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] [Commented] (CB-8968) File failures on WP8

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

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

ASF GitHub Bot commented on CB-8968:


Github user brodybits commented on the pull request:

https://github.com/apache/cordova-plugin-file/pull/115#issuecomment-99957767
  
NOTE: my ICLA was already submitted and accepted for cordova-wp8.


> File failures on WP8
> 
>
> Key: CB-8968
> URL: https://issues.apache.org/jira/browse/CB-8968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, WP8
>Reporter: Alexander Sorokin
>Assignee: Jesse MacFadyen
>
> New failures showed up in mobilespec for wp8:
> {code}
> cordova-plugin-file-tests.tests >> File API Read method file.spec.87 should 
> read file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API Read method file.spec.94 should 
> read sliced file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.106 should 
> be able to write a File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.107 should 
> be able to write a sliced File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.108 should 
> be able to write binary data from a File
> {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] [Assigned] (CB-8984) Update Documentation for Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran reassigned CB-8984:
--

Assignee: Karen Tran

> Update Documentation for Adding New Image Element to config.xml
> ---
>
> Key: CB-8984
> URL: https://issues.apache.org/jira/browse/CB-8984
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Docs
>Reporter: Karen Tran
>Assignee: Karen Tran
>
> Update the documentation following the completion of the image tag being 
> added in. 



--
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-8980) Adding New Image Element to config.xml for iOS

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran reassigned CB-8980:
--

Assignee: Karen Tran

> Adding New Image Element to config.xml for iOS
> --
>
> Key: CB-8980
> URL: https://issues.apache.org/jira/browse/CB-8980
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CLI, CordovaLib, iOS
>Affects Versions: Master
> Environment: iOS
>Reporter: Karen Tran
>Assignee: Karen Tran
>
> Based on the parent task, create a new image element tag to copy the image 
> from src to the correct directory with the given name.
> Example:
> 



--
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-8979) Adding New Image Element to config.xml For Android

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran reassigned CB-8979:
--

Assignee: Karen Tran

> Adding New Image Element to config.xml For Android
> --
>
> Key: CB-8979
> URL: https://issues.apache.org/jira/browse/CB-8979
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, CLI, CordovaLib
>Affects Versions: Master
> Environment: Android
>Reporter: Karen Tran
>Assignee: Karen Tran
>
> Based on the parent task, create a new image element tag to copy the image 
> from src to the correct directory with the given name.
> Example:
> 
>  density="mdpi" />



--
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-8978) Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran reassigned CB-8978:
--

Assignee: Karen Tran

> Adding New Image Element to config.xml
> --
>
> Key: CB-8978
> URL: https://issues.apache.org/jira/browse/CB-8978
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI, CordovaLib
>Affects Versions: Master
> Environment: Android, iOS, WP8, Windows, Blackberry
>Reporter: Karen Tran
>Assignee: Karen Tran
>  Labels: config.xml, images
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> At present, there are only an icon element and splashscreen element that 
> handles copying images from a source to destination in the config.xml. These 
> elements also only handle copying 1 image only and replacing what was 
> previously there as the icon.png or splash.png. 
> I'm creating a new tag that will copy non-main app icon images, which could 
> be notification icons, button icons, custom image text, etc. and not limited 
> to just 1 image. 
> Example:
> 
>  density="mdpi" />
> The required attributes will be src and name. 
> Depending on the directory that the image gets copied to, the width and 
> height attribute may not be needed. 



--
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-8968) File failures on WP8

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

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

ASF GitHub Bot commented on CB-8968:


GitHub user brodybits opened a pull request:

https://github.com/apache/cordova-plugin-file/pull/115

CB-8968 fix readAsArrayBuffer by converting byte array to integer array 
using LINQ

Needed to fix CB-8968 since Newtonsoft JSON does not support JSON 
serialization of arbitrary types (ref: apache/cordova-wp8#79)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/brodybits/cordova-plugin-file CB-8968

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-file/pull/115.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #115


commit 7fb088b1eb7643ef0d03970e02d814e3899f16ac
Author: Chris Brody 
Date:   2015-05-07T17:30:03Z

CB-8968 fix readAsArrayBuffer by converting byte array to integer array 
using LINQ




> File failures on WP8
> 
>
> Key: CB-8968
> URL: https://issues.apache.org/jira/browse/CB-8968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, WP8
>Reporter: Alexander Sorokin
>Assignee: Jesse MacFadyen
>
> New failures showed up in mobilespec for wp8:
> {code}
> cordova-plugin-file-tests.tests >> File API Read method file.spec.87 should 
> read file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API Read method file.spec.94 should 
> read sliced file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.106 should 
> be able to write a File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.107 should 
> be able to write a sliced File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.108 should 
> be able to write binary data from a File
> {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] [Updated] (CB-8978) Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran updated CB-8978:
---
Description: 
At present, there are only an icon element and splashscreen element that 
handles copying images from a source to destination in the config.xml. These 
elements also only handle copying 1 image only and replacing what was 
previously there as the icon.png or splash.png. 

I'm creating a new tag that will copy non-main app icon images, which could be 
notification icons, button icons, custom image text, etc. and not limited to 
just 1 image. 

Example:



The required attributes will be src and name. 
Depending on the directory that the image gets copied to, the width and height 
attribute may not be needed. 

  was:
At present, there are only an icon element and splashscreen element that 
handles copying images from a source to destination in the config.xml. These 
elements also only handle copying 1 image only and replacing what was 
previously there as the icon.png or splash.png. 

I'm creating a new tag that will copy non-main app icon images, which could be 
notification icons, button icons, custom image text, etc. and not limited to 
just 1 image. 

Example:



The required attributes will be src and name. 



> Adding New Image Element to config.xml
> --
>
> Key: CB-8978
> URL: https://issues.apache.org/jira/browse/CB-8978
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI, CordovaLib
>Affects Versions: Master
> Environment: Android, iOS, WP8, Windows, Blackberry
>Reporter: Karen Tran
>  Labels: config.xml, images
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> At present, there are only an icon element and splashscreen element that 
> handles copying images from a source to destination in the config.xml. These 
> elements also only handle copying 1 image only and replacing what was 
> previously there as the icon.png or splash.png. 
> I'm creating a new tag that will copy non-main app icon images, which could 
> be notification icons, button icons, custom image text, etc. and not limited 
> to just 1 image. 
> Example:
> 
>  density="mdpi" />
> The required attributes will be src and name. 
> Depending on the directory that the image gets copied to, the width and 
> height attribute may not be needed. 



--
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-8978) Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran updated CB-8978:
---
Description: 
At present, there are only an icon element and splashscreen element that 
handles copying images from a source to destination in the config.xml. These 
elements also only handle copying 1 image only and replacing what was 
previously there as the icon.png or splash.png. 

I'm creating a new tag that will copy non-main app icon images, which could be 
notification icons, button icons, custom image text, etc. and not limited to 
just 1 image. 

Example:



The required attributes will be src and name. 


  was:
At present, there are only an icon element and splashscreen element that 
handles copying images from a source to destination in the config.xml. These 
elements also only handle copying 1 image only and replacing what was 
previously there as the icon.png or splash.png. 

I'm creating a new tag that will copy non-main app icon images, which could be 
notification icons, button icons, custom image text, etc. and not limited to 
just 1 image. 

Example:





> Adding New Image Element to config.xml
> --
>
> Key: CB-8978
> URL: https://issues.apache.org/jira/browse/CB-8978
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI, CordovaLib
>Affects Versions: Master
> Environment: Android, iOS, WP8, Windows, Blackberry
>Reporter: Karen Tran
>  Labels: config.xml, images
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> At present, there are only an icon element and splashscreen element that 
> handles copying images from a source to destination in the config.xml. These 
> elements also only handle copying 1 image only and replacing what was 
> previously there as the icon.png or splash.png. 
> I'm creating a new tag that will copy non-main app icon images, which could 
> be notification icons, button icons, custom image text, etc. and not limited 
> to just 1 image. 
> Example:
> 
>  density="mdpi" />
> The required attributes will be src and name. 



--
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-8977) java.util.ConcurrentModificationException in java.util.HashMap$HashIterator.nextEntry

2015-05-07 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-8977:
---

Stack looks like what was fixed in CB-8031, but that should be in 3.7.1...

> java.util.ConcurrentModificationException in 
> java.util.HashMap$HashIterator.nextEntry
> -
>
> Key: CB-8977
> URL: https://issues.apache.org/jira/browse/CB-8977
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.7.1
> Environment: Samsung Galaxy S4 on Android 4.4
>Reporter: Hirbod
>Assignee: Joe Bowser
>
> I've received two crashreports. I think they are related to cordova and some 
> of the plugins. The plugins are all up-to-date. I'm using CLI 5.0.0 but still 
> on Android-JS 3.7.1 (can't upgrade right know)
> I've upgrade all the plugins from the new npm-repo, I don't know if this is 
> related, but before upgrading the plugins, everything worked well.
> Here is the crash report:
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
> at java.util.HashMap$ValueIterator.next(HashMap.java:838)
> at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
> at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:515)
> at org.apache.cordova.splashscreen.SplashScreen$1.run(SplashScreen.java:128)
> at android.os.Handler.handleCallback(Handler.java:733)
> at android.os.Handler.dispatchMessage(Handler.java:95)
> at android.os.Looper.loop(Looper.java:157)
> at android.app.ActivityThread.main(ActivityThread.java:5356)
> at java.lang.reflect.Method.invokeNative(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:515)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
> at dalvik.system.NativeStart.main(Native Method)



--
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-8984) Update Documentation for Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8984:
--

 Summary: Update Documentation for Adding New Image Element to 
config.xml
 Key: CB-8984
 URL: https://issues.apache.org/jira/browse/CB-8984
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Docs
Reporter: Karen Tran


Update the documentation following the completion of the image tag being added 
in. 



--
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-8980) Adding New Image Element to config.xml for iOS

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran updated CB-8980:
---
Description: 
Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.

Example:


  was:
Based on the parent task, create a new image element that handles copying from 
a src to the correct directory with the specified name. 

Example:



> Adding New Image Element to config.xml for iOS
> --
>
> Key: CB-8980
> URL: https://issues.apache.org/jira/browse/CB-8980
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CLI, CordovaLib, iOS
>Affects Versions: Master
> Environment: iOS
>Reporter: Karen Tran
>
> Based on the parent task, create a new image element tag to copy the image 
> from src to the correct directory with the given name.
> Example:
> 



--
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-8983) Adding New Image Element to config.xml for BlackBerry

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8983:
--

 Summary: Adding New Image Element to config.xml for BlackBerry
 Key: CB-8983
 URL: https://issues.apache.org/jira/browse/CB-8983
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry, CLI, CordovaLib
Affects Versions: Master
 Environment: BlackBerry
Reporter: Karen Tran


Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.





--
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-8982) Adding New Image Element to config.xml for Windows 8

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8982:
--

 Summary: Adding New Image Element to config.xml for Windows 8
 Key: CB-8982
 URL: https://issues.apache.org/jira/browse/CB-8982
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI, CordovaLib, Windows 8
Affects Versions: Master
 Environment: Windows 8
Reporter: Karen Tran
Assignee: Jesse MacFadyen


Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.





--
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-8981) Adding New Image Element to config.xml for WP8

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8981:
--

 Summary: Adding New Image Element to config.xml for WP8
 Key: CB-8981
 URL: https://issues.apache.org/jira/browse/CB-8981
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI, CordovaLib, WP8
Affects Versions: Master
 Environment: WP8
Reporter: Karen Tran
Assignee: Jesse MacFadyen


Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.

Example:




--
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-8980) Adding New Image Element to config.xml for iOS

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8980:
--

 Summary: Adding New Image Element to config.xml for iOS
 Key: CB-8980
 URL: https://issues.apache.org/jira/browse/CB-8980
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CLI, CordovaLib, iOS
Affects Versions: Master
 Environment: iOS
Reporter: Karen Tran


Based on the parent task, create a new image element that handles copying from 
a src to the correct directory with the specified name. 

Example:




--
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-8968) File failures on WP8

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

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

ASF GitHub Bot commented on CB-8968:


Github user brodybits commented on the pull request:

https://github.com/apache/cordova-wp8/pull/79#issuecomment-99931329
  
The Newtonsoft JSON library does seem much easier to use and perhaps more 
efficient as well, but unlike the .NET JSON `DataContractJsonSerializer`, 
Newtonsoft does not support serialization of arbitrary types. This becomes a 
problem with the cordova-file-plugin when it attempts to send a PluginResult 
with a byte array (`byte[]`) in response to a `readAsArrayBuffer` request. This 
is the cause of CB-8968, and it could affect other plugins as well.

I have identified two alternative solutions to fix CB-8968:

I. Fix `File.cs` in cordova-plugin-file to send the `PluginResult` with a 
normal integer array:

```diff
--- a/src/wp/File.cs
+++ b/src/wp/File.cs
@@ -695,7 +695,10 @@ public void readAsArrayBuffer(string options)
 buffer = readFileBytes(filePath, startPos, endPos, 
isoFile);
 }
 
-DispatchCommandResult(new 
PluginResult(PluginResult.Status.OK, buffer), callbackId);
+int[] bufferAsIntArray = new int[buffer.Length];
+for (int i=0; ihttp://stackoverflow.com/questions/15226921/how-to-serialize-byte-as-simple-json-array-and-not-as-base64-in-json-net

II. In `template/cordovalib/JSON/JsonHelper.cs` add a new function such as 
`public static string SerializeAny(object obj)` with what used to be the 
contents of `JSON.JsonHelper.Serialize`, and call this function instead of 
`JsonConvert.SerializeObject` in `PluginResult.cs`.

I am not sure which solution would have better performance. Solution II 
only goes through the data once, but solution II delegates the looping to the 
framework libraries, which *could* do the hard work in C/C++/assembly.

I am happy to issue a PR for either solution. Solution I would be easiest.


> File failures on WP8
> 
>
> Key: CB-8968
> URL: https://issues.apache.org/jira/browse/CB-8968
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File, WP8
>Reporter: Alexander Sorokin
>Assignee: Jesse MacFadyen
>
> New failures showed up in mobilespec for wp8:
> {code}
> cordova-plugin-file-tests.tests >> File API Read method file.spec.87 should 
> read file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API Read method file.spec.94 should 
> read sliced file properly, readAsArrayBuffer
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.106 should 
> be able to write a File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.107 should 
> be able to write a sliced File to a FileWriter
> cordova-plugin-file-tests.tests >> File API FileWriter file.spec.108 should 
> be able to write binary data from a File
> {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] [Updated] (CB-8979) Adding New Image Element to config.xml For Android

2015-05-07 Thread Karen Tran (JIRA)

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

Karen Tran updated CB-8979:
---
Description: 
Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.

Example:



  was:Based on the parent task, create a new image element tag to copy the 
image from src to the correct directory with the given name.


> Adding New Image Element to config.xml For Android
> --
>
> Key: CB-8979
> URL: https://issues.apache.org/jira/browse/CB-8979
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Android, CLI, CordovaLib
>Affects Versions: Master
> Environment: Android
>Reporter: Karen Tran
>
> Based on the parent task, create a new image element tag to copy the image 
> from src to the correct directory with the given name.
> Example:
> 
>  density="mdpi" />



--
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-8979) Adding New Image Element to config.xml For Android

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8979:
--

 Summary: Adding New Image Element to config.xml For Android
 Key: CB-8979
 URL: https://issues.apache.org/jira/browse/CB-8979
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android, CLI, CordovaLib
Affects Versions: Master
 Environment: Android
Reporter: Karen Tran


Based on the parent task, create a new image element tag to copy the image from 
src to the correct directory with the given name.



--
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-8912) cordova does not install the app in my device

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8912:


Does your device have USB debugging enabled? What device are you trying to use 
with Cordova? If you could provide us with a bit more information, that would 
definitely help us out.

> cordova does not install the app in my device
> -
>
> Key: CB-8912
> URL: https://issues.apache.org/jira/browse/CB-8912
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Windows 8
>Reporter: yasin mansour
>Assignee: Jesse MacFadyen
>
> cordova run android  command line does not install the app in my devices 



--
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-8978) Adding New Image Element to config.xml

2015-05-07 Thread Karen Tran (JIRA)
Karen Tran created CB-8978:
--

 Summary: Adding New Image Element to config.xml
 Key: CB-8978
 URL: https://issues.apache.org/jira/browse/CB-8978
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CLI, CordovaLib
Affects Versions: Master
 Environment: Android, iOS, WP8, Windows, Blackberry
Reporter: Karen Tran


At present, there are only an icon element and splashscreen element that 
handles copying images from a source to destination in the config.xml. These 
elements also only handle copying 1 image only and replacing what was 
previously there as the icon.png or splash.png. 

I'm creating a new tag that will copy non-main app icon images, which could be 
notification icons, button icons, custom image text, etc. and not limited to 
just 1 image. 

Example:






--
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-8925) webkitRequestFullscreen fails silently

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8925.

Resolution: Won't Fix

If you wish your app to go Full Screen, you should look at modifying your 
config.xml.  It appears that the Android System WebView does not support this 
method as it exists currently.

http://cordova.apache.org/docs/en/5.0.0/guide_platforms_android_config.md.html#Android%20Configuration

Closing as Won't Fix, since this is a browser-specific feature, and depends on 
platform permissions.

> webkitRequestFullscreen fails silently
> --
>
> Key: CB-8925
> URL: https://issues.apache.org/jira/browse/CB-8925
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Cordova 4.3.0
> Android build tools 22
> Project target: Android 4.2.2, API 19
>Reporter: eric ramirez
>
> Dear Cordova Team,
> I ran into what seems to be a bug with Cordova and Chrome/HTML5 
> webkitRequestFullscreen method.
> Step to reproduce:
> - Create a new Cordova project, add android platform
> -Edit the default index.html file, add these elements:
> onclick='document.getElementById("myText").webkitRequestFullscreen();’/>
> - Open the index.html file using Chrome on your computer, click on the 
> button, full screen works as expected.
> - Install the app on android device, click on the button, nothing happens, no 
> error gets printed on Chrome's console.  
>  I looked for any Cordova plugin to use full screen Divs/HTML elements (not 
> just video or images objects) but couldn’t find any.
> Thanks in advance for your help!
> Eric.



--
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-8253) Fix potential unreleased resources

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-8253.

Resolution: Fixed

> Fix potential unreleased resources
> --
>
> Key: CB-8253
> URL: https://issues.apache.org/jira/browse/CB-8253
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, Plugin Camera
>Reporter: Alan Kinzie
>Assignee: Alan Kinzie
>
> There are several places in the Camera plugin where streams are not closed in 
> a finally block allowing for the possibility they will never be closed if an 
> exception occurs at the wrong place.
> Although this doesn't affect functionality as far as I can tell (if enough 
> resources streams are not closed properly maybe it could affect performance), 
> it does show up as an issue in static code analysis tools (such as Fortify).



--
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-3360) Set custom InAppBrowser user-agent

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-3360:
---
Assignee: (was: Joe Bowser)

> Set custom InAppBrowser user-agent
> --
>
> Key: CB-3360
> URL: https://issues.apache.org/jira/browse/CB-3360
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, BlackBerry, Plugin InAppBrowser, WP8
>Affects Versions: 2.7.0
> Environment: iOS, Android, WP8, BlackBerry
>Reporter: Kevin Simpson
>Priority: Minor
>  Labels: Cordova, InAppBrowser, android, cordova-ios-4.0.x
>
> Currently you can set a custom user-agent for the main Cordova webview by 
> overriding the init method for the DroidGap class. However, when opening a 
> page in the InAppBrowser, that webview will still contain the default 
> user-agent.
> There are two solutions that I have thought of to this:
> 1. Set the user-agent of the InAppBrowser webview to whatever the user-agent 
> in the Cordova webview is set to. (This is what I am currently doing, as it 
> was a one line change, but it requires rebuilding Cordova manually)
> 2. Have some sort of configuration option to set the user-agent for the 
> InAppBrowser. This would allow a different user-agent from the main webview, 
> but is also a more involved change.



--
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-8977) java.util.ConcurrentModificationException in java.util.HashMap$HashIterator.nextEntry

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser reassigned CB-8977:
--

Assignee: Joe Bowser

> java.util.ConcurrentModificationException in 
> java.util.HashMap$HashIterator.nextEntry
> -
>
> Key: CB-8977
> URL: https://issues.apache.org/jira/browse/CB-8977
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.7.1
> Environment: Samsung Galaxy S4 on Android 4.4
>Reporter: Hirbod
>Assignee: Joe Bowser
>
> I've received two crashreports. I think they are related to cordova and some 
> of the plugins. The plugins are all up-to-date. I'm using CLI 5.0.0 but still 
> on Android-JS 3.7.1 (can't upgrade right know)
> I've upgrade all the plugins from the new npm-repo, I don't know if this is 
> related, but before upgrading the plugins, everything worked well.
> Here is the crash report:
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
> at java.util.HashMap$ValueIterator.next(HashMap.java:838)
> at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
> at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:515)
> at org.apache.cordova.splashscreen.SplashScreen$1.run(SplashScreen.java:128)
> at android.os.Handler.handleCallback(Handler.java:733)
> at android.os.Handler.dispatchMessage(Handler.java:95)
> at android.os.Looper.loop(Looper.java:157)
> at android.app.ActivityThread.main(ActivityThread.java:5356)
> at java.lang.reflect.Method.invokeNative(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:515)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
> at dalvik.system.NativeStart.main(Native Method)



--
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-8977) java.util.ConcurrentModificationException in java.util.HashMap$HashIterator.nextEntry

2015-05-07 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-8977:


Which plugins are you using?  It's clear that two plugins are trying to post a 
message to the other plugins at the same time, causing concurrency problems.  
Can you provide a bit more info so that we can reproduce this concurrency 
problem on our end? 

> java.util.ConcurrentModificationException in 
> java.util.HashMap$HashIterator.nextEntry
> -
>
> Key: CB-8977
> URL: https://issues.apache.org/jira/browse/CB-8977
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 3.7.1
> Environment: Samsung Galaxy S4 on Android 4.4
>Reporter: Hirbod
>
> I've received two crashreports. I think they are related to cordova and some 
> of the plugins. The plugins are all up-to-date. I'm using CLI 5.0.0 but still 
> on Android-JS 3.7.1 (can't upgrade right know)
> I've upgrade all the plugins from the new npm-repo, I don't know if this is 
> related, but before upgrading the plugins, everything worked well.
> Here is the crash report:
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
> at java.util.HashMap$ValueIterator.next(HashMap.java:838)
> at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
> at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:515)
> at org.apache.cordova.splashscreen.SplashScreen$1.run(SplashScreen.java:128)
> at android.os.Handler.handleCallback(Handler.java:733)
> at android.os.Handler.dispatchMessage(Handler.java:95)
> at android.os.Looper.loop(Looper.java:157)
> at android.app.ActivityThread.main(ActivityThread.java:5356)
> at java.lang.reflect.Method.invokeNative(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:515)
> at 
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
> at dalvik.system.NativeStart.main(Native Method)



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Patrick Coote (JIRA)

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

Patrick Coote commented on CB-8762:
---

Thanks Vladimir, i will not reopen at the moment (or probably at all) but it 
will take me a bit of time to look into it again.  Thanks for the extra info.  
I felt that is was a cordova issue as the backbutton event handler was not 
firing in the same way all the time

> backbutton event does not fire if softkeyboard open for input on popup - 
> windows 8.1
> 
>
> Key: CB-8762
> URL: https://issues.apache.org/jira/browse/CB-8762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.6.3
> Environment: Windows Phone 8.1 devices / emulators
>Reporter: Patrick Coote
>Assignee: Vladimir Kotikov
>  Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for 
> an input that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the 
> backButtonHandler is called if the user taps the device backbutton
> If the input is on an open popup, such as
>  style="text-align:center;"/>
> 
> 
> and the softkeyboard is not displayed the backButtonHandler is called when 
> the user taps the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user 
> taps the device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded 
> to these events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap 
> of the device back button
> On windows 8.0 device or android (device or emulator) the behaviour is 
> slightly different:
> If the keyboard is open and the user taps the device back button the 
> backButtonHandler is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is 
> focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8762:
--

In addition, i've found the following issue: 
https://github.com/jquery/jquery-mobile/issues/5706 which looks very close to 
problem, you described.

> backbutton event does not fire if softkeyboard open for input on popup - 
> windows 8.1
> 
>
> Key: CB-8762
> URL: https://issues.apache.org/jira/browse/CB-8762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.6.3
> Environment: Windows Phone 8.1 devices / emulators
>Reporter: Patrick Coote
>Assignee: Vladimir Kotikov
>  Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for 
> an input that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the 
> backButtonHandler is called if the user taps the device backbutton
> If the input is on an open popup, such as
>  style="text-align:center;"/>
> 
> 
> and the softkeyboard is not displayed the backButtonHandler is called when 
> the user taps the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user 
> taps the device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded 
> to these events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap 
> of the device back button
> On windows 8.0 device or android (device or emulator) the behaviour is 
> slightly different:
> If the keyboard is open and the user taps the device back button the 
> backButtonHandler is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is 
> focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8752) Docs for Hooks are missing

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

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

ASF GitHub Bot commented on CB-8752:


Github user sgrebnov commented on the pull request:

https://github.com/apache/cordova-docs/pull/285#issuecomment-99873253
  
The following places must be updated to point to the docs after this is 
merged and released:

https://github.com/apache/cordova-app-hello-world/blob/master/hooks/README.md
https://github.com/apache/cordova-cli/#hooks-1


> Docs for Hooks are missing
> --
>
> Key: CB-8752
> URL: https://issues.apache.org/jira/browse/CB-8752
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Raymond Camden
>Assignee: Sergey Grebnov
>Priority: Minor
>
> Docs for Hooks are missing. I'd assume both a main page and mention of 
> calling hooks from config.xml here: 
> http://cordova.apache.org/docs/en/4.0.0/config_ref_index.md.html#The%20config.xml%20File



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-8762.

Resolution: Invalid

Closing this as unrelated to Cordova. [~patrickcoote], feel free to reopen if 
needed.

> backbutton event does not fire if softkeyboard open for input on popup - 
> windows 8.1
> 
>
> Key: CB-8762
> URL: https://issues.apache.org/jira/browse/CB-8762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.6.3
> Environment: Windows Phone 8.1 devices / emulators
>Reporter: Patrick Coote
>Assignee: Vladimir Kotikov
>  Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for 
> an input that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the 
> backButtonHandler is called if the user taps the device backbutton
> If the input is on an open popup, such as
>  style="text-align:center;"/>
> 
> 
> and the softkeyboard is not displayed the backButtonHandler is called when 
> the user taps the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user 
> taps the device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded 
> to these events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap 
> of the device back button
> On windows 8.0 device or android (device or emulator) the behaviour is 
> slightly different:
> If the keyboard is open and the user taps the device back button the 
> backButtonHandler is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is 
> focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov reassigned CB-8762:


Assignee: Vladimir Kotikov  (was: Jesse MacFadyen)

> backbutton event does not fire if softkeyboard open for input on popup - 
> windows 8.1
> 
>
> Key: CB-8762
> URL: https://issues.apache.org/jira/browse/CB-8762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.6.3
> Environment: Windows Phone 8.1 devices / emulators
>Reporter: Patrick Coote
>Assignee: Vladimir Kotikov
>  Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for 
> an input that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the 
> backButtonHandler is called if the user taps the device backbutton
> If the input is on an open popup, such as
>  style="text-align:center;"/>
> 
> 
> and the softkeyboard is not displayed the backButtonHandler is called when 
> the user taps the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user 
> taps the device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded 
> to these events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap 
> of the device back button
> On windows 8.0 device or android (device or emulator) the behaviour is 
> slightly different:
> If the keyboard is open and the user taps the device back button the 
> backButtonHandler is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is 
> focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8762) backbutton event does not fire if softkeyboard open for input on popup - windows 8.1

2015-05-07 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-8762:
--

[~patrickcoote], It looks like that the issue is unrelated to Cordova.

To confirm please try the following scenario:
1. Open http://api.jquerymobile.com/resources/popup/example2.html in Internet 
Explorer on your WP8.1 device
2. Tap on {{Dialog}} button.
3. Try to close opened popup by tapping Back button.

The behavior for me is exactly the same - the popup is not being closed and 
keyboard is closed and then reopened immediately.

> backbutton event does not fire if softkeyboard open for input on popup - 
> windows 8.1
> 
>
> Key: CB-8762
> URL: https://issues.apache.org/jira/browse/CB-8762
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP8
>Affects Versions: 3.6.3
> Environment: Windows Phone 8.1 devices / emulators
>Reporter: Patrick Coote
>Assignee: Vladimir Kotikov
>  Labels: WP8.1
>
> Using cordova 3.6.3 jquery 1.3.2 Jquery mobile 1.7.2
> app is hybrid html5 app that runs on windows, ios and android
> Issue is that backbutton event does not fire if the softkeyboard is open for 
> an input that is on a popup
> Issue is on Windows 8.1 devices:
> ondeviceready i add event listener for backbutton
> document.addEventListener("backbutton", backButtonHandler, false);
> If the input is not on a popup and the softkeyboard is open the 
> backButtonHandler is called if the user taps the device backbutton
> If the input is on an open popup, such as
>  style="text-align:center;"/>
> 
> 
> and the softkeyboard is not displayed the backButtonHandler is called when 
> the user taps the device back button 
> If the softkeyboard is displayed (input on the popup has focus) and the user 
> taps the device back button then backButtonHandler is not called
> What happens is the input blurs and focuses a number of times (i have binded 
> to these events on the input to test)
> On screen the keyboard appears to close and open rapidly, once for each tap 
> of the device back button
> On windows 8.0 device or android (device or emulator) the behaviour is 
> slightly different:
> If the keyboard is open and the user taps the device back button the 
> backButtonHandler is not called but the keyboard closes as i expect it to
> I would expect the backbutton event to be fired when the input on a popup is 
> focused (softkeyboard open) in the same way as if the input is not on a popup



--
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-8752) Docs for Hooks are missing

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

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

ASF GitHub Bot commented on CB-8752:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-docs/pull/285

CB-8752 Adds docs for hooks functionality

1. Moving hooks documentation to docs as this is general and not 
hello-world app specific

https://github.com/apache/cordova-app-hello-world/blob/master/hooks/README.md
2. Added Sample Usage section w/ end-to-end example



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-docs CB-8752

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-docs/pull/285.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #285


commit ad42d959a078479e2fbaf9d519bca2f124de3e67
Author: sgrebnov 
Date:   2015-05-02T00:36:01Z

CB-8752 Adds docs for hooks functionality




> Docs for Hooks are missing
> --
>
> Key: CB-8752
> URL: https://issues.apache.org/jira/browse/CB-8752
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Raymond Camden
>Assignee: Sergey Grebnov
>Priority: Minor
>
> Docs for Hooks are missing. I'd assume both a main page and mention of 
> calling hooks from config.xml here: 
> http://cordova.apache.org/docs/en/4.0.0/config_ref_index.md.html#The%20config.xml%20File



--
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-8977) java.util.ConcurrentModificationException in java.util.HashMap$HashIterator.nextEntry

2015-05-07 Thread Hirbod (JIRA)
Hirbod created CB-8977:
--

 Summary: java.util.ConcurrentModificationException in 
java.util.HashMap$HashIterator.nextEntry
 Key: CB-8977
 URL: https://issues.apache.org/jira/browse/CB-8977
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.7.1
 Environment: Samsung Galaxy S4 on Android 4.4
Reporter: Hirbod


I've received two crashreports. I think they are related to cordova and some of 
the plugins. The plugins are all up-to-date. I'm using CLI 5.0.0 but still on 
Android-JS 3.7.1 (can't upgrade right know)

I've upgrade all the plugins from the new npm-repo, I don't know if this is 
related, but before upgrading the plugins, everything worked well.

Here is the crash report:

java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
at java.util.HashMap$ValueIterator.next(HashMap.java:838)
at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:515)
at org.apache.cordova.splashscreen.SplashScreen$1.run(SplashScreen.java:128)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)



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



  1   2   >