[jira] [Updated] (CB-12425) Auto-create a package.json if it doesn't exist yet

2017-02-03 Thread Steve Gill (JIRA)

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

Steve Gill updated CB-12425:

Labels: cordova-7.0.0  (was: )

> Auto-create a package.json if it doesn't exist yet
> --
>
> Key: CB-12425
> URL: https://issues.apache.org/jira/browse/CB-12425
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: cordova-7
>Reporter: Audrey So
>  Labels: cordova-7.0.0
>
> Auto-create a package.json if it doesn't exist yet



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

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



[jira] [Updated] (CB-12425) Auto-create a package.json if it doesn't exist yet

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So updated CB-12425:
---
Description: Auto-create a package.json if it doesn't exist yet

> Auto-create a package.json if it doesn't exist yet
> --
>
> Key: CB-12425
> URL: https://issues.apache.org/jira/browse/CB-12425
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: cordova-7
>Reporter: Audrey So
>
> Auto-create a package.json if it doesn't exist yet



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

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



[jira] [Updated] (CB-12425) Auto-create a package.json if it doesn't exist yet

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So updated CB-12425:
---
Affects Version/s: cordova-7

> Auto-create a package.json if it doesn't exist yet
> --
>
> Key: CB-12425
> URL: https://issues.apache.org/jira/browse/CB-12425
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: cordova-7
>Reporter: Audrey So
>




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

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



[jira] [Updated] (CB-12425) Auto-create a package.json if it doesn't exist yet

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So updated CB-12425:
---
Component/s: CordovaLib

> Auto-create a package.json if it doesn't exist yet
> --
>
> Key: CB-12425
> URL: https://issues.apache.org/jira/browse/CB-12425
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: cordova-7
>Reporter: Audrey So
>




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

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



[jira] [Created] (CB-12425) Auto-create a package.json if it doesn't exist yet

2017-02-03 Thread Audrey So (JIRA)
Audrey So created CB-12425:
--

 Summary: Auto-create a package.json if it doesn't exist yet
 Key: CB-12425
 URL: https://issues.apache.org/jira/browse/CB-12425
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Audrey So






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

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



[jira] [Commented] (CB-12001) When restoring, check package.json as well as config.xml.

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

Commit 7df35cb0656af7cd428e5a07addc3874c60dc247 in cordova-lib's branch 
refs/heads/master from [~auso]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=7df35cb ]

CB-12001: Added support for platform/plugin & spec restore to sync config.xml 
and package.json


> When restoring, check package.json as well as config.xml.
> -
>
> Key: CB-12001
> URL: https://issues.apache.org/jira/browse/CB-12001
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> Continuing to implement save/restore proposal 
> https://github.com/cordova/cordova-discuss/pull/53



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

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



[jira] [Commented] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-lib/pull/499


> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



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

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



[jira] [Commented] (CB-12001) When restoring, check package.json as well as config.xml.

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-12001: fixed failing test


> When restoring, check package.json as well as config.xml.
> -
>
> Key: CB-12001
> URL: https://issues.apache.org/jira/browse/CB-12001
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> Continuing to implement save/restore proposal 
> https://github.com/cordova/cordova-discuss/pull/53



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11960 : updated android versions to 6.1.1., removed ios platforms for 
testing and replaced with browser, added includes function to support node 4. 
Test 005 commented out because not promisified correctly (CB-12170).

 This closes #499


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-12170) plugin install doesn't wait for promise to resolve

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11960 : updated android versions to 6.1.1., removed ios platforms for 
testing and replaced with browser, added includes function to support node 4. 
Test 005 commented out because not promisified correctly (CB-12170).

 This closes #499


> plugin install doesn't wait for promise to resolve
> --
>
> Key: CB-12170
> URL: https://issues.apache.org/jira/browse/CB-12170
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Steve Gill
>  Labels: cordova-7.0.0
>
> The plugin install flow doesn't wait for 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/fetch.js#L183
>  promise to complete. Need to audit the promise flow here and fix it. 



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

Commit 1acdbff5ca5c9df4e523176c7b41676cdd9f9e59 in cordova-lib's branch 
refs/heads/master from [~auso]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=1acdbff ]

CB-11960 - updated failing tests due to bug in cordova-create script


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

Commit 4cd1be81598406082b075c74081eaf85c9363c66 in cordova-lib's branch 
refs/heads/master from [~stevegill]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=4cd1be8 ]

CB-11960: Added more save/restore tests.


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11960 : rebased, fixed async issues, and updated tests, tests 000, 005, and 
007 still fail in pkgJson-restore


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-12001) When restoring, check package.json as well as config.xml.

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-12001: Added more restore tests for platform/plugin/spec.


> When restoring, check package.json as well as config.xml.
> -
>
> Key: CB-12001
> URL: https://issues.apache.org/jira/browse/CB-12001
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> Continuing to implement save/restore proposal 
> https://github.com/cordova/cordova-discuss/pull/53



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11960: Refactored add/remove/restore code and added tests.


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-11960) Cordova plugin/platform add/remove should update in package.json with a cordova key

2017-02-03 Thread ASF subversion and git services (JIRA)

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

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

Commit 197cba977e38ffbb8783d6d3f5bec93e7e2a37f7 in cordova-lib's branch 
refs/heads/master from [~auso]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=197cba9 ]

CB-11960: Added support to package.json for platform/plugin add/rm


> Cordova plugin/platform add/remove should update in package.json with a 
> cordova key
> ---
>
> Key: CB-11960
> URL: https://issues.apache.org/jira/browse/CB-11960
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Audrey So
>Assignee: Audrey So
>  Labels: cordova-7.0.0
>
> The cordova plugin/platform add/remove command should update in a 
> package.json file with a new cordova key. It should store what plugins and 
> platforms have been saved.



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

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



[jira] [Commented] (CB-12349) Camera Plugin issue with class BuildHelper

2017-02-03 Thread JIRA

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

Thomas Fétiveau commented on CB-12349:
--

I'm having the same issue after having updated the cordova-plugin-camera from 
2.2.0 to 2.3.1. I've tried to update from cordova 6.2 to 6.5 but it has not 
solved the problem.

I've just tried downgrading the camera plugin to 2.3.0 and the problem does not 
show up...

> Camera Plugin issue with class BuildHelper
> --
>
> Key: CB-12349
> URL: https://issues.apache.org/jira/browse/CB-12349
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
> Environment: android studio, ngcordova
>Reporter: Lawrence
>
> i want to use camera feature for my mobile app
> when i include the plugin 
> # ionic plugin add cordova-plugin-camera
> after done, then i start compiling my app.
> and it give me error 
> Error:(32, 26) error: cannot find symbol class BuildHelper
> Error:(140, 39) error: cannot find symbol variable BuildHelper
> Error:Execution failed for task ':compileDebugJavaWithJavac'.
> > Compilation failed; see the compiler error output for details.
> any help ?



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

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



[jira] [Issue Comment Deleted] (CB-12424) Multipart messages are broken

2017-02-03 Thread Joshua Jackson (JIRA)

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

Joshua Jackson updated CB-12424:

Comment: was deleted

(was: Patch submitted:
https://github.com/apache/cordova-android/pull/358)

> Multipart messages are broken
> -
>
> Key: CB-12424
> URL: https://issues.apache.org/jira/browse/CB-12424
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.0.0, 6.2.0
> Environment: cordova 6.4.0
> android 6.0.0 / git master
> Mac El Capitan
>Reporter: Joshua Jackson
>Priority: Minor
> Fix For: 6.2.0
>
>
> Currently when I try to assemble a multipart message cordova-android 
> assembles the data in NativeToJsMessageQueue.java as [""] but if I call 
> pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5]
> private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, 
> int iTag) {
> List results = new ArrayList();
> results.add(0, new PluginResult(PluginResult.Status.OK, iMsg));
> results.add(1, new PluginResult(PluginResult.Status.OK, iTag));
> PluginResult result = new PluginResult(PluginResult.Status.OK, 
> results);
> result.setKeepCallback(true);
> ctx.sendPluginResult(result);
> }



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

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



[jira] [Assigned] (CB-12315) Contacts Plugin returns same URL for all photos in array

2017-02-03 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen reassigned CB-12315:


Assignee: Jesse MacFadyen

> Contacts Plugin returns same URL for all photos in array
> 
>
> Key: CB-12315
> URL: https://issues.apache.org/jira/browse/CB-12315
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 6.4.0
>Reporter: Joshua Rowe
>Assignee: Jesse MacFadyen
>  Labels: android6.0, triaged
> Fix For: 6.4.0
>
>
> Example:  Contact ID 1000 has three photos which are returned in an array in 
> the contacts object.  However, all three photo URL's are the same for each of 
> the photos returned.
> 
> var options = new ContactFindOptions();
> options.filter = "";
> options.multiple = true;
> options.hasPhoneNumber = true;
> var fields = ["id", "photos"];
> navigator.contacts.find(fields, ContactListSuccess, ContactListError, 
> options);
> function ContactListSuccess(contacts) {
> for (var i = 0; i < contacts.length; i++) {
> console.log(contacts[i].id);
> 
> for (var j = 0; j < contacts[i].photos.length; j++) {
> console.log(j + " - " + contacts[i].photos[j].value);
> }
> }
> }
> function ContactListError(error) {
> console.error(error);
> }
> 



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

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



[jira] [Commented] (CB-12424) Multipart messages are broken

2017-02-03 Thread Joshua Jackson (JIRA)

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

Joshua Jackson commented on CB-12424:
-

Patch submitted:
https://github.com/apache/cordova-android/pull/358

> Multipart messages are broken
> -
>
> Key: CB-12424
> URL: https://issues.apache.org/jira/browse/CB-12424
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.0.0, 6.2.0
> Environment: cordova 6.4.0
> android 6.0.0 / git master
> Mac El Capitan
>Reporter: Joshua Jackson
>Priority: Minor
> Fix For: 6.2.0
>
>
> Currently when I try to assemble a multipart message cordova-android 
> assembles the data in NativeToJsMessageQueue.java as [""] but if I call 
> pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5]
> private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, 
> int iTag) {
> List results = new ArrayList();
> results.add(0, new PluginResult(PluginResult.Status.OK, iMsg));
> results.add(1, new PluginResult(PluginResult.Status.OK, iTag));
> PluginResult result = new PluginResult(PluginResult.Status.OK, 
> results);
> result.setKeepCallback(true);
> ctx.sendPluginResult(result);
> }



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

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



[jira] [Commented] (CB-12424) Multipart messages are broken

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12424:
-

GitHub user kalliste opened a pull request:

https://github.com/apache/cordova-android/pull/358

CB-12424: (android) Fix encoding of multipart messages.


Currently when I try to assemble a multipart message cordova-android 
assembles the data in NativeToJsMessageQueue.java as [""] but if I call 
pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5]

private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, 
int iTag) {
List results = new ArrayList();
results.add(0, new PluginResult(PluginResult.Status.OK, iMsg));
results.add(1, new PluginResult(PluginResult.Status.OK, iTag));
PluginResult result = new PluginResult(PluginResult.Status.OK, 
results);
result.setKeepCallback(true);
ctx.sendPluginResult(result);
}

We split off encodeMessageAsJsMessage as its own method to support 
multipart messages including ones containing array buffer, binary string, or 
other multipart messages.



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

$ git pull https://github.com/kalliste/cordova-android master

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

https://github.com/apache/cordova-android/pull/358.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 #358


commit 2dd9acf2fa0c179269002e369cb0d7df598741eb
Author: Josh Jackson 
Date:   2017-02-03T21:20:37Z

Fix encoding of multipart messages.




> Multipart messages are broken
> -
>
> Key: CB-12424
> URL: https://issues.apache.org/jira/browse/CB-12424
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.0.0, 6.2.0
> Environment: cordova 6.4.0
> android 6.0.0 / git master
> Mac El Capitan
>Reporter: Joshua Jackson
>Priority: Minor
> Fix For: 6.2.0
>
>
> Currently when I try to assemble a multipart message cordova-android 
> assembles the data in NativeToJsMessageQueue.java as [""] but if I call 
> pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5]
> private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, 
> int iTag) {
> List results = new ArrayList();
> results.add(0, new PluginResult(PluginResult.Status.OK, iMsg));
> results.add(1, new PluginResult(PluginResult.Status.OK, iTag));
> PluginResult result = new PluginResult(PluginResult.Status.OK, 
> results);
> result.setKeepCallback(true);
> ctx.sendPluginResult(result);
> }



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

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



[jira] [Created] (CB-12424) Multipart messages are broken

2017-02-03 Thread Joshua Jackson (JIRA)
Joshua Jackson created CB-12424:
---

 Summary: Multipart messages are broken
 Key: CB-12424
 URL: https://issues.apache.org/jira/browse/CB-12424
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 6.0.0, 6.2.0
 Environment: cordova 6.4.0
android 6.0.0 / git master
Mac El Capitan

Reporter: Joshua Jackson
Priority: Minor
 Fix For: 6.2.0


Currently when I try to assemble a multipart message cordova-android assembles 
the data in NativeToJsMessageQueue.java as [""] but if I call 
pMessageLoopResponse(callbackContext, 3, 5) it should generate [3, 5]

private void pMessageLoopResponse(final CallbackContext ctx, int iMsg, int 
iTag) {
List results = new ArrayList();
results.add(0, new PluginResult(PluginResult.Status.OK, iMsg));
results.add(1, new PluginResult(PluginResult.Status.OK, iTag));
PluginResult result = new PluginResult(PluginResult.Status.OK, results);
result.setKeepCallback(true);
ctx.sendPluginResult(result);
}



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

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



[jira] [Updated] (CB-12423) Requirements check failed for JDK 1.8 or greater

2017-02-03 Thread Sumama Waheed (JIRA)

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

Sumama Waheed updated CB-12423:
---
Description: 
After upgrading cordova to 6.5.0 and platform to cordova-android@6.1.2, the 
following error is thrown:

Error: Requirements check failed for JDK 1.8 or greater


On the cordova website, it says the requirement is 1.7 or greater.

https://cordova.apache.org/docs/en/latest/guide/platforms/android/


cordova: 6.5.0
android: 6.1.2

  was:
After upgrading cordova platform to cordova-android@6.1.2, the following error 
is thrown:

Error: Requirements check failed for JDK 1.8 or greater


On the cordova website, it says the requirement is 1.7 or greater.

https://cordova.apache.org/docs/en/latest/guide/platforms/android/


cordova: 6.5.0
android: 6.1.2


> Requirements check failed for JDK 1.8 or greater
> 
>
> Key: CB-12423
> URL: https://issues.apache.org/jira/browse/CB-12423
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.4.0
> Environment: Windows
>Reporter: Sumama Waheed
>
> After upgrading cordova to 6.5.0 and platform to cordova-android@6.1.2, the 
> following error is thrown:
> Error: Requirements check failed for JDK 1.8 or greater
> On the cordova website, it says the requirement is 1.7 or greater.
> https://cordova.apache.org/docs/en/latest/guide/platforms/android/
> cordova: 6.5.0
> android: 6.1.2



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

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



[jira] [Created] (CB-12423) Requirements check failed for JDK 1.8 or greater

2017-02-03 Thread Sumama Waheed (JIRA)
Sumama Waheed created CB-12423:
--

 Summary: Requirements check failed for JDK 1.8 or greater
 Key: CB-12423
 URL: https://issues.apache.org/jira/browse/CB-12423
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 6.4.0
 Environment: Windows
Reporter: Sumama Waheed


After upgrading cordova platform to cordova-android@6.1.2, the following error 
is thrown:

Error: Requirements check failed for JDK 1.8 or greater


On the cordova website, it says the requirement is 1.7 or greater.

https://cordova.apache.org/docs/en/latest/guide/platforms/android/


cordova: 6.5.0
android: 6.1.2



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

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



[jira] [Commented] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user audreyso opened a pull request:

https://github.com/apache/cordova-cli/pull/267

CB: 11982  -Created new cordova config command

* Not ready to review yet. Thanks!



### Platforms affected


### What does this PR do?
Created new cordova config command (edit, ls, delete, get, set)
### What testing has been done on this change?


### Checklist
- [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [X] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [X] Added automated test coverage as appropriate for this change.


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

$ git pull https://github.com/audreyso/cordova-cli CB-11982

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

https://github.com/apache/cordova-cli/pull/267.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 #267


commit 6f54ddf4e47230b05caab28c7df3c6b99d84d6fc
Author: Audrey So 
Date:   2017-01-31T23:27:34Z

CB-11982 : added config command that sets, gets, and deletes

commit 1356e1289e851b2ca8ee2226bee4c11386d5ff75
Author: Audrey So 
Date:   2017-02-02T00:00:56Z

CB-11982 : added jasmine tests to test config get, set and delete

commit 9c9e65ff30020a382c9e6ab3e8719a56eeb8e086
Author: Audrey So 
Date:   2017-02-02T01:36:39Z

CB-11982 : updated config command if save, fetch, or browserify is undefined

commit e585a9cc4290021e1d37911a54f5cfc3989f5b60
Author: Audrey So 
Date:   2017-02-03T00:39:39Z

CB-11982 : added edit and ls to delete command




> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



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

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



[jira] [Commented] (CB-5842) Keyboard is transparent and white bar on top of virtual keyboard

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So commented on CB-5842:
---

Hi! Are you still facing this issue? If so please let us know what version of 
cordova you are using (in terminal please run cordova -v and cordova platform 
ls). Please provide any further information/code samples you have. If you are 
no longer having difficulty, please let me know so that I can close it. Thank 
you!!

> Keyboard is transparent and white bar on top of virtual keyboard
> 
>
> Key: CB-5842
> URL: https://issues.apache.org/jira/browse/CB-5842
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Keyboard
>Affects Versions: 3.3.0
> Environment: iOS 7
>Reporter: bc
>Priority: Minor
>  Labels: keyboard-plugin
> Attachments: cordova keyboard plugin white on top.png, 
> cordova-keyboard-transprent.png
>
>
> cordova 3.3.1-0.1.2
> phonegap 3.3.0-0.18.0
> xCode Version 5.0 (5A1413)
> - Virtual Keyboard should not be transparent
> - White bar still appear on top of virtual keyboard



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

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



[jira] [Commented] (CB-6031) "plugman search" prints "undefined"

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So commented on CB-6031:
---

Hi! Are you still facing this issue? If so please let us know what version of 
cordova you are using (in terminal please run cordova -v and cordova platform 
ls). Please provide any further information you have to help us reproduce this 
issue. If you are no longer having difficulty, please let me know so that I can 
close it. Thank you!!

> "plugman search" prints "undefined"
> ---
>
> Key: CB-6031
> URL: https://issues.apache.org/jira/browse/CB-6031
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Reporter: Andrew Grieve
>Priority: Minor
>
> No matter what I search for, the answer is always "undefined"



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

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



[jira] [Commented] (CB-9953) cordova platform check working very poorly

2017-02-03 Thread Audrey So (JIRA)

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

Audrey So commented on CB-9953:
---

Hi! Are you still facing this issue? If so please let us know what version of 
cordova you are using (in terminal please run cordova -v and cordova platform 
ls). Please provide any further information you have. If you are no longer 
having difficulty, please let me know so that I can close it. Thank you!!

> cordova platform check working very poorly
> --
>
> Key: CB-9953
> URL: https://issues.apache.org/jira/browse/CB-9953
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Raymond Camden
>Priority: Minor
>
> I've tested cordova platform check now in about 4 different projects and not 
> once was it able to tell me that iOS had a version newer than the one I was 
> using. For example, I get this:
> ios @ 3.9.1; current did not install, and thus its version cannot be 
> determined



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

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



[jira] [Resolved] (CB-11651) File Plugin documentation is not formatted correctly

2017-02-03 Thread Connor Pearson (JIRA)

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

Connor Pearson resolved CB-11651.
-
Resolution: Fixed

Can no longer reproduce

> File Plugin documentation is not formatted correctly
> 
>
> Key: CB-11651
> URL: https://issues.apache.org/jira/browse/CB-11651
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Docs
>Reporter: Connor Pearson
>Priority: Minor
>
> The entire Create Directories section is formatted as a title. There is also 
> a js error in the console. `Syntax error, unrecognized expression: 
> #create-directories`
> http://cordova.apache.org/docs/en/6.x/reference/cordova-plugin-file/index.html



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

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



[jira] [Reopened] (CB-9371) Prepare deletes orientation preferences

2017-02-03 Thread Connor Pearson (JIRA)

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

Connor Pearson reopened CB-9371:


> Prepare deletes orientation preferences
> ---
>
> Key: CB-9371
> URL: https://issues.apache.org/jira/browse/CB-9371
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.1.1
>Reporter: Connor Pearson
>Assignee: Shazron Abdullah
>
> If a user does not have a orientation preference defined in config.xml then 
> running prepare will delete all orientation preferences in their info.plist.
> I'd expect prepare to overwrite the values if the user chose an orientation 
> preferences, otherwise it should respect the values that are already there.



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

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



[jira] [Resolved] (CB-9371) Prepare deletes orientation preferences

2017-02-03 Thread Connor Pearson (JIRA)

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

Connor Pearson resolved CB-9371.

Resolution: Fixed

> Prepare deletes orientation preferences
> ---
>
> Key: CB-9371
> URL: https://issues.apache.org/jira/browse/CB-9371
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 5.1.1
>Reporter: Connor Pearson
>Assignee: Shazron Abdullah
>
> If a user does not have a orientation preference defined in config.xml then 
> running prepare will delete all orientation preferences in their info.plist.
> I'd expect prepare to overwrite the values if the user chose an orientation 
> preferences, otherwise it should respect the values that are already there.



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

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



[jira] [Commented] (CB-12315) Contacts Plugin returns same URL for all photos in array

2017-02-03 Thread Joshua Rowe (JIRA)

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

Joshua Rowe commented on CB-12315:
--

Following up, is there a solution to this?  I went through the code yesterday 
and found where the photo URI is being returned.  Doesn't seem to be a way to 
manipulate that.  Also found that Android only allows one photo at this link:  
https://developer.android.com/guide/topics/providers/contacts-provider.html

Do the docs for the plugin need to be updated to show that Android only allows 
one photo or is there actually a way around this?

> Contacts Plugin returns same URL for all photos in array
> 
>
> Key: CB-12315
> URL: https://issues.apache.org/jira/browse/CB-12315
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 6.4.0
>Reporter: Joshua Rowe
>  Labels: android6.0, triaged
> Fix For: 6.4.0
>
>
> Example:  Contact ID 1000 has three photos which are returned in an array in 
> the contacts object.  However, all three photo URL's are the same for each of 
> the photos returned.
> 
> var options = new ContactFindOptions();
> options.filter = "";
> options.multiple = true;
> options.hasPhoneNumber = true;
> var fields = ["id", "photos"];
> navigator.contacts.find(fields, ContactListSuccess, ContactListError, 
> options);
> function ContactListSuccess(contacts) {
> for (var i = 0; i < contacts.length; i++) {
> console.log(contacts[i].id);
> 
> for (var j = 0; j < contacts[i].photos.length; j++) {
> console.log(j + " - " + contacts[i].photos[j].value);
> }
> }
> }
> function ContactListError(error) {
> console.error(error);
> }
> 



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

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



[jira] [Commented] (CB-12416) (Windows) Built bundles are misplaced when building for multiple archs

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12416:
-

GitHub user daserge reopened a pull request:

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

CB-12416 (Windows) Built bundles are misplaced when building for mult…

…iple archs



### Platforms affected
Windows

### What does this PR do?
Override default MSBuild behavior which is to use `AppxBundle=Always` for 
Windows 10 builds

### What testing has been done on this change?
Run npm test, manually checked AppPackages folder output for --bundle and 
default (non-bundled) cases.

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [x] Added automated test coverage as appropriate for this change.


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

$ git pull https://github.com/daserge/cordova-windows CB-12416

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

https://github.com/apache/cordova-windows/pull/226.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 #226


commit 8f086e2f0b2ffe75bae70f7eb22911310bf71e0f
Author: daserge 
Date:   2017-02-02T10:58:32Z

CB-12416 (Windows) Built bundles are misplaced when building for multiple 
archs




> (Windows) Built bundles are misplaced when building for multiple archs
> --
>
> Key: CB-12416
> URL: https://issues.apache.org/jira/browse/CB-12416
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Windows
>Affects Versions: Master
>Reporter: Alexander Sorokin
>  Labels: triaged
>
> When running a command like {{cordova build windows --release -- --archs="arm 
> x86 x64"}}, the expected output would be that each built bundle is located in 
> its own folder, like this:
> {{CordovaApp.Windows10_1.0.0.0_arm_Test}}
> {{CordovaApp.Windows10_1.0.0.0_x86_Test}}
> {{CordovaApp.Windows10_1.0.0.0_x64_Test}}
> But cordova-windows@5.0.0 builds only the first specified architecture in its 
> own folder, like this:
> {{CordovaApp.Windows10_1.0.0.0_arm_Test}} <- arm package here
> {{CordovaApp.Windows10_1.0.0.0_Test}} <- x86 and x64 packages here



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

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



[jira] [Updated] (CB-12422) Media does not play when the App is in the background on iOS

2017-02-03 Thread Remi Boardman (JIRA)

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

Remi Boardman updated CB-12422:
---
Description: 
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
_{"message":"","code":4}_

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the _playAudioWhenScreenIsLocked_ option to true, despite this being 
true by default.

  was:
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
??{"message":"","code":4}??

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the ??playAudioWhenScreenIsLocked?? options to true, despite this 
being true by default.


> Media does not play when the App is in the background on iOS
> 
>
> Key: CB-12422
> URL: https://issues.apache.org/jira/browse/CB-12422
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.5.0
> Environment: iOS 8+
>Reporter: Remi Boardman
>  Labels: background, background-audio, ios, media
>
> While trying to trigger a sound to play in the App (running in the background 
> or screen locked) via a button press on an external bluetooth device, I 
> receive the error:
> _{"message":"","code":4}_
> I've also tried creating a new blank app and wrapping the play method in a 
> timeout so that it triggers a short while after I lock the screen or minimise 
> the App. I do not hear a sound until I reopen the App and I don't get any 
> errors in console this way.
> I have set the _playAudioWhenScreenIsLocked_ option to true, despite this 
> being true by default.



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

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



[jira] [Updated] (CB-12422) Media does not play when the App is in the background on iOS

2017-02-03 Thread Remi Boardman (JIRA)

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

Remi Boardman updated CB-12422:
---
Description: 
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
_"message":"","code":4_

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the _playAudioWhenScreenIsLocked_ option to true, despite this being 
true by default.

  was:
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
_{"message":"","code":4}_

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the _playAudioWhenScreenIsLocked_ option to true, despite this being 
true by default.


> Media does not play when the App is in the background on iOS
> 
>
> Key: CB-12422
> URL: https://issues.apache.org/jira/browse/CB-12422
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.5.0
> Environment: iOS 8+
>Reporter: Remi Boardman
>  Labels: background, background-audio, ios, media
>
> While trying to trigger a sound to play in the App (running in the background 
> or screen locked) via a button press on an external bluetooth device, I 
> receive the error:
> _"message":"","code":4_
> I've also tried creating a new blank app and wrapping the play method in a 
> timeout so that it triggers a short while after I lock the screen or minimise 
> the App. I do not hear a sound until I reopen the App and I don't get any 
> errors in console this way.
> I have set the _playAudioWhenScreenIsLocked_ option to true, despite this 
> being true by default.



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

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



[jira] [Updated] (CB-12422) Media does not play when the App is in the background on iOS

2017-02-03 Thread Remi Boardman (JIRA)

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

Remi Boardman updated CB-12422:
---
Description: 
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
??{"message":"","code":4}??

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the ??playAudioWhenScreenIsLocked?? options to true, despite this 
being true by default.

  was:
While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
{"message":"","code":4}

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the {playAudioWhenScreenIsLocked} options to true, despite this 
being true by default.


> Media does not play when the App is in the background on iOS
> 
>
> Key: CB-12422
> URL: https://issues.apache.org/jira/browse/CB-12422
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Affects Versions: 3.5.0
> Environment: iOS 8+
>Reporter: Remi Boardman
>  Labels: background, background-audio, ios, media
>
> While trying to trigger a sound to play in the App (running in the background 
> or screen locked) via a button press on an external bluetooth device, I 
> receive the error:
> ??{"message":"","code":4}??
> I've also tried creating a new blank app and wrapping the play method in a 
> timeout so that it triggers a short while after I lock the screen or minimise 
> the App. I do not hear a sound until I reopen the App and I don't get any 
> errors in console this way.
> I have set the ??playAudioWhenScreenIsLocked?? options to true, despite this 
> being true by default.



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

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



[jira] [Created] (CB-12422) Media does not play when the App is in the background on iOS

2017-02-03 Thread Remi Boardman (JIRA)
Remi Boardman created CB-12422:
--

 Summary: Media does not play when the App is in the background on 
iOS
 Key: CB-12422
 URL: https://issues.apache.org/jira/browse/CB-12422
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media
Affects Versions: 3.5.0
 Environment: iOS 8+
Reporter: Remi Boardman


While trying to trigger a sound to play in the App (running in the background 
or screen locked) via a button press on an external bluetooth device, I receive 
the error:
{"message":"","code":4}

I've also tried creating a new blank app and wrapping the play method in a 
timeout so that it triggers a short while after I lock the screen or minimise 
the App. I do not hear a sound until I reopen the App and I don't get any 
errors in console this way.

I have set the {playAudioWhenScreenIsLocked} options to true, despite this 
being true by default.



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

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



[jira] [Comment Edited] (CB-12420) NativeToJsMessageQueue breaks the order of callbacks

2017-02-03 Thread Pavel Nikotin (JIRA)

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

Pavel Nikotin edited comment on CB-12420 at 2/3/17 12:24 PM:
-

I found solution: If don't dequeue in popAndEncodeAsJs function and just return 
this, than everything works fine;
public String popAndEncodeAsJs() {
return 
"window.setTimeout(function(){cordova.require(\"cordova/exec\").pollOnce();},0);";
}
And I had to add androidExec.pollOnce = pollOnce; to cordova.js


was (Author: pavel_vo):
I found solution: If don't dequeue in popAndEncodeAsJs function and just return 
this, than everything forks fine;
public String popAndEncodeAsJs() {
return 
"window.setTimeout(function(){cordova.require(\"cordova/exec\").pollOnce();},0);";
}
And I had to add androidExec.pollOnce = pollOnce; to cordova.js

> NativeToJsMessageQueue breaks the order of callbacks
> 
>
> Key: CB-12420
> URL: https://issues.apache.org/jira/browse/CB-12420
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.4.0
> Environment: Android 4.4.2, Android 5.1.1
>Reporter: Pavel Nikotin
>Priority: Minor
>
> I'm streaming data with cordova-plugin-chrome-apps-sockets-tcp plugin.
> I receive data in javascript not in the same order as tcp plugin put to 
> sendPluginResult.
> I see that popAndEncode and popAndEncodeAsJs called from different places of 
> cordova sources. But only popAndEncodeAsJs method adds 
> window.setTimeout(...,0); so I think It breaks order.



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

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



[jira] [Commented] (CB-12420) NativeToJsMessageQueue breaks the order of callbacks

2017-02-03 Thread Pavel Nikotin (JIRA)

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

Pavel Nikotin commented on CB-12420:


I found solution: If don't dequeue in popAndEncodeAsJs function and just return 
this, than everything forks fine;
public String popAndEncodeAsJs() {
return 
"window.setTimeout(function(){cordova.require(\"cordova/exec\").pollOnce();},0);";
}
And I had to add androidExec.pollOnce = pollOnce; to cordova.js

> NativeToJsMessageQueue breaks the order of callbacks
> 
>
> Key: CB-12420
> URL: https://issues.apache.org/jira/browse/CB-12420
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.4.0
> Environment: Android 4.4.2, Android 5.1.1
>Reporter: Pavel Nikotin
>Priority: Minor
>
> I'm streaming data with cordova-plugin-chrome-apps-sockets-tcp plugin.
> I receive data in javascript not in the same order as tcp plugin put to 
> sendPluginResult.
> I see that popAndEncode and popAndEncodeAsJs called from different places of 
> cordova sources. But only popAndEncodeAsJs method adds 
> window.setTimeout(...,0); so I think It breaks order.



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

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



[jira] [Commented] (CB-10857) Camera.getPicture return null for Google Drive (camera 2.1.1)

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10857:
-

Github user ppiacez commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/198
  
Any news?


> Camera.getPicture return null for Google Drive (camera 2.1.1)
> -
>
> Key: CB-10857
> URL: https://issues.apache.org/jira/browse/CB-10857
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 2.1.1
> Environment: Android - Tested on 6.0.1
>Reporter: Dagfinn Parnas
>Assignee: Joe Bowser
>  Labels: android, mustfix, reproduced, triaged
> Attachments: Filepicker_google_drive.png
>
>
> Camera.getPicture returns null for pictures and other files when using Google 
> Drive in version 2.1.1. Other sources in the generic file picker such as 
> Images, Photos and Astro File Manager works. 
> The camera plugin gets a null value in processResultFromGallery
> 03-14 10:21:00.066: D/CameraLauncher(21662): File locaton is: null
> The return value from the file picker is
> content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000 
> (see android log below)
> Code sample:
> {code}
> navigator.camera.getPicture(onPhotoURISuccess, onFail, {
> quality: 50,
> correctOrientation: true,
> destinationType: destinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
> mediaType: Camera.MediaType.ALLMEDIA,
> });
> {code}
> Android log: 
> {code}
> 03-14 10:48:31.969: I/ActivityManager(914): Displayed 
> com.android.documentsui/.DocumentsActivity: +146ms (total +172ms)
> 03-14 10:48:31.974: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=2, sortOrder=2
> 03-14 10:48:40.310: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:44.279: D/NetlinkSocketObserver(914): 
> NeighborEvent{elapsedMs=447463541, 10.4.67.1, [FEA087606419], RTM_NEWNEIGH, 
> NUD_STALE}
> 03-14 10:48:45.778: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:46.192: D/ConnectivityService(914): updateNetworkScore for 
> NetworkAgentInfo [WIFI () - 148] to 55
> 03-14 10:48:48.832: I/Atfwd_Sendcmd(1677): AtCmdFwd service not ready - 
> Exhausted retry attempts - :6
> 03-14 10:48:48.833: I/Atfwd_Daemon(1677): result : -1  ,Init step :2  
>  ,qmiErrorCode: 0
> 03-14 10:48:49.211: D/ConnectivityService(914): updateNetworkScore for 
> NetworkAgentInfo [WIFI () - 148] to 56
> 03-14 10:48:49.243: D/Documents(19828): userMode=0, userSortOrder=0 --> 
> mode=1, sortOrder=1
> 03-14 10:48:52.028: D/Documents(19828): onFinished() 
> [content://com.google.android.apps.docs.storage/document/acc%3D1%3Bdoc%3D3000]
> 03-14 10:48:52.049: D/CordovaInterfaceImpl(2469): Sending activity result to 
> plugin
> 03-14 10:48:52.051: D/CameraLauncher(2469): File locaton is: null
> 03-14 10:48:52.056: I/chromium(2469): [INFO:CONSOLE(39)] "onPhotoURISuccess: 
> null", source: 
> file:///android_asset/www/neptune/public/application/z_cats_login_bouvet/js/loglevel-persistlogstrings.js
>  (39)
> {code}
> Related to https://issues.apache.org/jira/browse/CB-10270
> PS Updated android log



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

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



[jira] [Commented] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12421:
-

GitHub user wlmzfx opened a pull request:

https://github.com/apache/cordova-android/pull/357

CB-12421: (android)The CoreAndroid's loadUrl method should load web p…



### Platforms affected
Android

### What does this PR do?
Upate CoreAndroid's loadUrl method to load web pages in the UI thread

### What testing has been done on this change?
Built and run the generated application, calling 
{color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": 
true}){color} , verify that there is not more errors and navigation can be made 
successfully.

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] Commit message follows the format: "CB-12421: The CoreAndroid's 
loadUrl method should load web pages in the UI thread"
- [x] Added automated test coverage as appropriate for this change. (don't 
know how?)


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

$ git pull https://github.com/wlmzfx/cordova-android CB-12421

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

https://github.com/apache/cordova-android/pull/357.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 #357


commit 4dfbbadae8199c78d89e566a6fc6fdefa58c39b2
Author: Pu Wang 
Date:   2017-02-03T10:15:34Z

CB-12421: (android)The CoreAndroid's loadUrl method should load web pages 
in the UI thread




> The CoreAndroid's loadUrl method should load web pages in the UI thread
> ---
>
> Key: CB-12421
> URL: https://issues.apache.org/jira/browse/CB-12421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master
> Environment: Using android cordova with the crosswalk webview engine: 
> https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
>Reporter: Pu Wang
>Priority: Minor
>
> Calling {color:red}navigator.app.loadUrl('http://domain.com', { 
> "clearHistory": true}){color} to open the remote url inside the crosswalk 
> webview, 
> there will be an error reported at 
> {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
> requiring the {color:red}engine.clearHistory(){color} method to be run in the 
> cordova UI thread.



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

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



[jira] [Commented] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12421:
-

Github user wlmzfx closed the pull request at:

https://github.com/apache/cordova-android/pull/356


> The CoreAndroid's loadUrl method should load web pages in the UI thread
> ---
>
> Key: CB-12421
> URL: https://issues.apache.org/jira/browse/CB-12421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master
> Environment: Using android cordova with the crosswalk webview engine: 
> https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
>Reporter: Pu Wang
>Priority: Minor
>
> Calling {color:red}navigator.app.loadUrl('http://domain.com', { 
> "clearHistory": true}){color} to open the remote url inside the crosswalk 
> webview, 
> there will be an error reported at 
> {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
> requiring the {color:red}engine.clearHistory(){color} method to be run in the 
> cordova UI thread.



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

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



[jira] [Commented] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12421:
-

GitHub user wlmzfx opened a pull request:

https://github.com/apache/cordova-android/pull/356

The CoreAndroid's loadUrl method should load web pages in the UI thread



### Platforms affected
Android

### What does this PR do?
Upate CoreAndroid's loadUrl method to load web pages in the UI thread

### What testing has been done on this change?
Built and run the generated application, calling 
{color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": 
true}){color} , verify that there is not more errors and navigation can be made 
successfully.

### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [x] Commit message follows the format: "CB-12421: The CoreAndroid's 
loadUrl method should load web pages in the UI thread"
- [x] Added automated test coverage as appropriate for this change. (don't 
know how?)


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

$ git pull https://github.com/wlmzfx/cordova-android app-load-url

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

https://github.com/apache/cordova-android/pull/356.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 #356


commit eaeaf94f2f7b986bc2210fa65b95c2b3f55f157a
Author: Pu Wang 
Date:   2017-02-03T09:47:32Z

The CoreAndroid's loadUrl method will load web pages in the UI thread




> The CoreAndroid's loadUrl method should load web pages in the UI thread
> ---
>
> Key: CB-12421
> URL: https://issues.apache.org/jira/browse/CB-12421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master
> Environment: Using android cordova with the crosswalk webview engine: 
> https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
>Reporter: Pu Wang
>Priority: Minor
>
> Calling {color:red}navigator.app.loadUrl('http://domain.com', { 
> "clearHistory": true}){color} to open the remote url inside the crosswalk 
> webview, 
> there will be an error reported at 
> {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
> requiring the {color:red}engine.clearHistory(){color} method to be run in the 
> cordova UI thread.



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

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



[jira] [Updated] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread Pu Wang (JIRA)

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

Pu Wang updated CB-12421:
-
Description: 
Calling {color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": 
true}){color} to open the remote url inside the crosswalk webview, 
there will be an error reported at 
{color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
requiring the {color:red}engine.clearHistory(){color} method to be run in the 
cordova UI thread.

  was:
Calling {color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": 
true}){color} to open the remote url inside the crosswalk webview, 

There will be an error reported at 
{color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
requiring the {color:red}engine.clearHistory(){color} method to be run in the 
cordova UI thread.


> The CoreAndroid's loadUrl method should load web pages in the UI thread
> ---
>
> Key: CB-12421
> URL: https://issues.apache.org/jira/browse/CB-12421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master
> Environment: Using android cordova with the crosswalk webview engine: 
> https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
>Reporter: Pu Wang
>Priority: Minor
>
> Calling {color:red}navigator.app.loadUrl('http://domain.com', { 
> "clearHistory": true}){color} to open the remote url inside the crosswalk 
> webview, 
> there will be an error reported at 
> {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
> requiring the {color:red}engine.clearHistory(){color} method to be run in the 
> cordova UI thread.



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

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



[jira] [Updated] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread Pu Wang (JIRA)

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

Pu Wang updated CB-12421:
-
Description: 
Calling {color:red}navigator.app.loadUrl('http://domain.com', { "clearHistory": 
true}){color} to open the remote url inside the crosswalk webview, 

There will be an error reported at 
{color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
requiring the {color:red}engine.clearHistory(){color} method to be run in the 
cordova UI thread.

  was:
Calling navigator.app.loadUrl('http://domain.com', { "clearHistory": true}) to 
open the remote url inside the crosswalk webview, 

There will be an error reported at CordovaWebViewImpl.showWebPage(...) method, 
which is requiring the engine.clearHistory() method to be run in the cordova UI 
thread.


> The CoreAndroid's loadUrl method should load web pages in the UI thread
> ---
>
> Key: CB-12421
> URL: https://issues.apache.org/jira/browse/CB-12421
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: Master
> Environment: Using android cordova with the crosswalk webview engine: 
> https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
>Reporter: Pu Wang
>Priority: Minor
>
> Calling {color:red}navigator.app.loadUrl('http://domain.com', { 
> "clearHistory": true}){color} to open the remote url inside the crosswalk 
> webview, 
> There will be an error reported at 
> {color:red}CordovaWebViewImpl.showWebPage(...){color} method, which is 
> requiring the {color:red}engine.clearHistory(){color} method to be run in the 
> cordova UI thread.



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

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



[jira] [Created] (CB-12421) The CoreAndroid's loadUrl method should load web pages in the UI thread

2017-02-03 Thread Pu Wang (JIRA)
Pu Wang created CB-12421:


 Summary: The CoreAndroid's loadUrl method should load web pages in 
the UI thread
 Key: CB-12421
 URL: https://issues.apache.org/jira/browse/CB-12421
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: Master
 Environment: Using android cordova with the crosswalk webview engine: 
https://www.npmjs.com/package/cordova-plugin-crosswalk-webview/
Reporter: Pu Wang
Priority: Minor


Calling navigator.app.loadUrl('http://domain.com', { "clearHistory": true}) to 
open the remote url inside the crosswalk webview, 

There will be an error reported at CordovaWebViewImpl.showWebPage(...) method, 
which is requiring the engine.clearHistory() method to be run in the cordova UI 
thread.



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

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