[jira] [Commented] (CB-12017) Update npm dependencies

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-12017: update istanbul dependency


> Update npm dependencies
> ---
>
> Key: CB-12017
> URL: https://issues.apache.org/jira/browse/CB-12017
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaJS, CordovaLib
>Reporter: Steve Gill
>  Labels: cordova-7.0.0
>
> Lets update our deps for cordova-lib and cordova-js



--
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-12018) Update tests to use jasmine instead of jasmine-node

2016-10-13 Thread Steve Gill (JIRA)
Steve Gill created CB-12018:
---

 Summary: Update tests to use jasmine instead of jasmine-node
 Key: CB-12018
 URL: https://issues.apache.org/jira/browse/CB-12018
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CLI, CordovaCommon, CordovaLib, Plugman
Reporter: Steve Gill






--
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-12017) Update npm dependencies

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12017:
-

GitHub user stevengill opened a pull request:

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

CB-12017: updated dependencies in package.json



### Platforms affected
cordova-js

### What does this PR do?
updates outdated dependencies, fixes security issues with old versions of 
dependencies. 

### What testing has been done on this change?
npm test

### 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.
- [ ] 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/stevengill/cordova-js CB-12017

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

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


commit 4f28160d2c4e9f5d5f4148bb5ff6cd2c58904ce3
Author: Steve Gill 
Date:   2016-10-14T03:00:59Z

CB-12017: updated dependencies in package.json




> Update npm dependencies
> ---
>
> Key: CB-12017
> URL: https://issues.apache.org/jira/browse/CB-12017
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaJS, CordovaLib
>Reporter: Steve Gill
>  Labels: cordova-7.0.0
>
> Lets update our deps for cordova-lib and cordova-js



--
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-12017) Update npm dependencies

2016-10-13 Thread Steve Gill (JIRA)
Steve Gill created CB-12017:
---

 Summary: Update npm dependencies
 Key: CB-12017
 URL: https://issues.apache.org/jira/browse/CB-12017
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaJS, CordovaLib
Reporter: Steve Gill


Lets update our deps for cordova-lib and cordova-js



--
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-11571) Dependency requires updating in order to avoid Minimatch RegExp DoS issue

2016-10-13 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-11571:
-

This pr needs to get merged in browserify and then we can update our browserify 
dep. 

https://github.com/substack/node-browserify/pull/1602



> Dependency requires updating in order to avoid Minimatch RegExp DoS issue
> -
>
> Key: CB-11571
> URL: https://issues.apache.org/jira/browse/CB-11571
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CordovaJS
>Affects Versions: Master
>Reporter: Eaven
>Priority: Minor
>  Labels: reproduced, triaged
> Fix For: Master
>
>
> Dependency: Browserify 10.1.3 needs to be updated.



--
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-11100) Upgrade lodash and graceful-fs in cordova-cli

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11100:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-cli/pull/246
  
Just sent an updated PR removing grunt and updating istanbul. 
https://github.com/apache/cordova-cli/pull/264

Feel free to close this PR. 


> Upgrade lodash and graceful-fs in cordova-cli
> -
>
> Key: CB-11100
> URL: https://issues.apache.org/jira/browse/CB-11100
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Affects Versions: 6.2.0
>Reporter: Omar Mefire
>Priority: Minor
>  Labels: triaged
>
> When running npm install: 
> (https://ci.apache.org/builders/cordova-android-win/builds/2153/steps/npm-installing-cordova-cli/logs/stdio)
> {noformat}
> npm install --cache 
> C:\Users\buildbot\slaves\apache\cordova-android-win/npm_cache --tmp 
> C:\Users\buildbot\slaves\apache\cordova-android-win/npm_tmp
>  in dir C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-cli 
> (timeout 1500 secs)
> {noformat}
> The following warning messages are generated:
> {noformat}
> npm WARN deprecated lodash@0.9.2: Grunt needs your help! See 
> https://github.com/gruntjs/grunt/issues/1403.
> npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. 
> Upgrade to lodash@^4.0.0.
> npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will 
> fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as 
> possible.
> npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will 
> fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as 
> possible.
> {noformat}



--
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-11100) Upgrade lodash and graceful-fs in cordova-cli

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11100:
-

GitHub user stevengill opened a pull request:

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

CB-11100 removed grunt and grunt-retire dev-deps, updated istanbul de…



### Platforms affected
none

### What does this PR do?
removes unused dev dependencies, updates the version of istanbul dev 
dependency to get rid of deprecation notices

### What testing has been done on this change?
npm test && npm run cover

### 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.
- [] Added automated test coverage as appropriate for this change.

…v-dep

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

$ git pull https://github.com/stevengill/cordova-cli CB-11100

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

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


commit b72536597de2341f87868521d3e3d947ccbf24ee
Author: Steve Gill 
Date:   2016-10-14T02:40:55Z

CB-11100 removed grunt and grunt-retire dev-deps, updated istanbul dev-dep




> Upgrade lodash and graceful-fs in cordova-cli
> -
>
> Key: CB-11100
> URL: https://issues.apache.org/jira/browse/CB-11100
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Affects Versions: 6.2.0
>Reporter: Omar Mefire
>Priority: Minor
>  Labels: triaged
>
> When running npm install: 
> (https://ci.apache.org/builders/cordova-android-win/builds/2153/steps/npm-installing-cordova-cli/logs/stdio)
> {noformat}
> npm install --cache 
> C:\Users\buildbot\slaves\apache\cordova-android-win/npm_cache --tmp 
> C:\Users\buildbot\slaves\apache\cordova-android-win/npm_tmp
>  in dir C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-cli 
> (timeout 1500 secs)
> {noformat}
> The following warning messages are generated:
> {noformat}
> npm WARN deprecated lodash@0.9.2: Grunt needs your help! See 
> https://github.com/gruntjs/grunt/issues/1403.
> npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. 
> Upgrade to lodash@^4.0.0.
> npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will 
> fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as 
> possible.
> npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will 
> fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as 
> possible.
> {noformat}



--
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-11913) Update travis.yml and appveyor.yml for nodes 0.12, 4, 6

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11913:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-cli/pull/263
  
hows it going on this?


> Update travis.yml and appveyor.yml for nodes 0.12, 4, 6
> ---
>
> Key: CB-11913
> URL: https://issues.apache.org/jira/browse/CB-11913
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> Right now it only tests for 0.10 on cordova-cli



--
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-11976) Add deprecated node version warning for 0.x

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 9c306a44e146788dd6c62a9b3005212608e4572b in cordova-cli's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9c306a4 ]

CB-11976 - Updated package.json engine key

 This closes #262


> Add deprecated node version warning for 0.x
> ---
>
> Key: CB-11976
> URL: https://issues.apache.org/jira/browse/CB-11976
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-7.0.0
>
> Put in the promise chain of prepare:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/prepare.js
> Model it after this:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/platform.js#L144-L150
> Check "process.version" for v0.x.x or v0.x, if they exist, print the warning.



--
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-11976) Add deprecated node version warning for 0.x

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 0814fe06c7851103ea321873cd160b47481596cd in cordova-cli's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0814fe0 ]

CB-11976 - Add deprecated node version warning for 0.x


> Add deprecated node version warning for 0.x
> ---
>
> Key: CB-11976
> URL: https://issues.apache.org/jira/browse/CB-11976
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-7.0.0
>
> Put in the promise chain of prepare:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/prepare.js
> Model it after this:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/platform.js#L144-L150
> Check "process.version" for v0.x.x or v0.x, if they exist, print the warning.



--
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-11976) Add deprecated node version warning for 0.x

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11976:
-

Github user asfgit closed the pull request at:

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


> Add deprecated node version warning for 0.x
> ---
>
> Key: CB-11976
> URL: https://issues.apache.org/jira/browse/CB-11976
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-7.0.0
>
> Put in the promise chain of prepare:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/prepare.js
> Model it after this:
> https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/platform.js#L144-L150
> Check "process.version" for v0.x.x or v0.x, if they exist, print the warning.



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-11771:
-

[[~mbektchiev] I merged the PRs. Feel free to close this issue now!

Thanks!

> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user asfgit closed the pull request at:

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


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11771 Deep symlink directories to target project instead of linking the 
directory itself

When installing a plugin with custom library using the --link option the whole 
directory is symlinked and temporary
files leak into the original plugin directory on build. This leads to broken 
builds if the same plugin is linked in
2 projects targeting different Cordova versions.

 This closes #485


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

Commit 2e37d2c25342924d7d0792807235a1c83f539481 in cordova-android's branch 
refs/heads/master from [~mbektchiev]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=2e37d2c ]

CB-11771 Deep symlink directories to target project instead of linking the 
directory itself

When installing a plugin with custom library using the --link option the whole 
directory is symlinked and temporary
files leak into the original plugin directory on build. This leads to broken 
builds if the same plugin is linked in
2 projects targeting different Cordova versions.

 This closes #326


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user asfgit closed the pull request at:

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


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-lib/pull/485
  
I confirmed the leaking! Your patch solves the problem. Thanks!



> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-android/pull/326
  
I confirmed the leaking and your patch solves the problem. Thanks!


> Installing plugin with symlink option pollutes original directory with 
> intermediate files
> -
>
> Key: CB-11771
> URL: https://issues.apache.org/jira/browse/CB-11771
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 1.3.0
>Reporter: Martin Bektchiev
>Assignee: Martin Bektchiev
>Priority: Minor
>
> When installing a plugin with custom library using the --link option the 
> whole directory is symlinked and temporary files leak into the original 
> plugin directory on build. This leads to broken builds if the same plugin is 
> linked in 2 projects targeting different Cordova versions.
> Steps to reproduce:
> * Clone https://github.com/Telerik-Verified-Plugins/Telerik-AppFeedback 
> plugin (or any other with an embedded android library)
> * Create 2 test projects with Cordova Android 4.1.1 and 5.2
> * Install the plugin using the --link option of plugman in both projects
> * Build the Cordova 5.2 project
> * Attempt to build the Cordova 4.1.1 project - multiple java errors of the 
> following kind are generated:
> Unknown source file : Uncaught translation error: 
> java.lang.IllegalArgumentException: already added: 
> Landroid/support/v7/appcompat/R$dimen;



--
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-11951) Plugin preference default value is not being saved to .json

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11951:
-

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

https://github.com/apache/cordova-lib/pull/501#discussion_r83341216
  
--- Diff: cordova-lib/spec-cordova/plugin.spec.js ---
@@ -203,6 +204,23 @@ describe('plugin end-to-end', function() {
 .fin(done);
 });
 
+it('should respect preference default values', function (done) {
+   addPlugin(path.join(pluginsDir, org_test_defaultvariables), 
org_test_defaultvariables, {cli_variables: { REQUIRED:'NO', 
REQUIRED_ANDROID:'NO'}}, done)
+   .then(function() {
+var platformJsonPath = path.join(project, 'plugins', 
helpers.testPlatform + '.json');
+var installed_plugins = 
JSON.parse(fs.readFileSync(platformJsonPath)).installed_plugins;
--- End diff --

Instead of `JSON.parse` & `fs.readFileSync`, why not use 
```var installed_plugins = require('platformJsonPath').installed_plugins;```

That would remove the need to `require('fs')`


> Plugin preference default value is not being saved to .json
> -
>
> Key: CB-11951
> URL: https://issues.apache.org/jira/browse/CB-11951
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, CordovaLib
>Affects Versions: 6.3.1
> Environment: Windows 10 with anniversary update
>Reporter: Alexander Sorokin
>Assignee: Nikita Matrosov
>
> Plugin preference default value is not being saved to .json
> {noformat}
> cordova create foo
> cd foo
> cordova platform add android
> cordova plugin add cordova-plugin-ms-azure-mobile-engagement --variable 
> AZME_ANDROID_CONNECTION_STRING=Endpoint=0;AppId=0;SdkKey=0 --variable 
> AZME_ENABLE_PLUGIN_LOG=false
> {noformat}
> check out `./platforms/android/android.json` or `./pluguns/android.json`
> it has the following lines:
> {code}
> "installed_plugins": {
> <...>
> "cordova-plugin-ms-azure-mobile-engagement": {
> "AZME_ENABLE_PLUGIN_LOG": "false",
> "AZME_ANDROID_GOOGLE_PROJECT_NUMBER": "null",
> "AZME_ANDROID_REACH_ICON": "icon",
> "AZME_ANDROID_CONNECTION_STRING": "Endpoint=0;AppId=0;SdkKey=0",
> "PACKAGE_NAME": "io.cordova.hellocordova"
> }
> },
> {code}
> You can see that "AZME_ENABLE_PLUGIN_LOG" is saved here, while 
> "AZME_ENABLE_NATIVE_LOG" is not.
> They both can be found in the plugin section of the  plugin's `plugin.xml` 
> file:
> https://github.com/Azure/azure-mobile-engagement-cordova/blob/master/plugin.xml#L29
> Note that the Android-specific preferences have been saved correctly.
> cordova@6.3.0 doesn't have this 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-12015) initial-scale values less than 1.0 are ignored on Android

2016-10-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12015:
-

Adding this only seems to work on Android 6.0 and later.  I'll need to do more 
testing on Android 5.0 and Android 4.4, since those devices aren't charged at 
the moment.

> initial-scale values less than 1.0 are ignored on Android
> -
>
> Key: CB-12015
> URL: https://issues.apache.org/jira/browse/CB-12015
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.2.2
>Reporter: Simon MacDonald
>
> So, the way cordova-android is right now if I use:
> 
> Everything is good. Increasing the scale to 2.0 or 3.0 correctly makes 
> everything bigger. However, setting:
> 
> has no effect whatsoever.
> Going into the SystemWebViewEngine class and adding:
> settings.setUseWideViewPort(true);
> settings.setLoadWithOverviewMode(true);
> to initWebViewSettings() method then allows me to scale the viewport down. 



--
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-12014) Back button event listener is not called when app requests device administrator permissions.

2016-10-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12014:
-

How are you requesting Device Administrator Permissions in the first place? 
Which plugin is doing this? 

> Back button event listener is not called when app requests device 
> administrator permissions.
> 
>
> Key: CB-12014
> URL: https://issues.apache.org/jira/browse/CB-12014
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
> Environment: Android M
>Reporter: Harsh Yadav
>  Labels: Administrator
>
> I have registered an event listener for the event "backbutton" in my hybrid 
> app. During the launch of the app it asks user to activate the Device 
> Administrator for the app if app is not the Device Administrator. If user 
> click Activates the Device Administrator, app activity comes to the top. Now 
> if user presses back button it will not call registered event listener. But 
> if app is the Device administrator then it will prompt user to activate 
> device admin, hence on pressing back button on app activity it calls 
> registered event listener.



--
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-11994) appveyor tests on cordova-lib are not testing on all node versions

2016-10-13 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11994.
---
Resolution: Fixed
  Assignee: Shazron Abdullah

> appveyor tests on cordova-lib are not testing on all node versions
> --
>
> Key: CB-11994
> URL: https://issues.apache.org/jira/browse/CB-11994
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> appveyor.yml is missing this line:
> https://github.com/apache/cordova-ios/blob/a527d1a08ee3e3a35ee0f1087c8e19f0946840c7/appveyor.yml#L9



--
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-12004) cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)

2016-10-13 Thread Joe Bowser (JIRA)

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

Joe Bowser edited comment on CB-12004 at 10/13/16 9:10 PM:
---

Can you provide more information, such as which device you are currently using? 
Also, did you grant FS access?


was (Author: bowserj):
Can you provide more information, such as which device, and what version of 
Android you're currently using? 

> cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)
> ---
>
> Key: CB-12004
> URL: https://issues.apache.org/jira/browse/CB-12004
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.4.0
> Environment: Android 6.0.1
>Reporter: salles pro services
>
> 10-12 20:58:12.549  9230  9291 W System.err: java.io.FileNotFoundException: 
> /storage/emulated/0/tmprecording-1476316692548.3gp: open failed: EROFS 
> (Read-only file system)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> libcore.io.IoBridge.open(IoBridge.java:452)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> java.io.RandomAccessFile.(RandomAccessFile.java:117)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> java.io.RandomAccessFile.(RandomAccessFile.java:149)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.media.MediaRecorder.prepare(MediaRecorder.java:784)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioPlayer.startRecording(AudioPlayer.java:159)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.startRecordingAudio(AudioHandler.java:287)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.promptForRecord(AudioHandler.java:543)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.execute(AudioHandler.java:118)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.os.Looper.loop(Looper.java:148)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> 10-12 20:58:12.550  9230  9291 W System.err: Caused by: 
> android.system.ErrnoException: open failed: EROFS (Read-only file system)
> 10-12 20:58:12.550  9230  9291 W System.err:  at libcore.io.Posix.open(Native 
> Method)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> libcore.io.IoBridge.open(IoBridge.java:438)
> 10-12 20:58:12.550  9230  9291 W System.err:  ... 16 more
> 10-12 20:58:12.550  9230  9291 W PluginManager: THREAD WARNING: exec() call 
> to Media.startRecordingAudio blocked the main thread for 21ms. Plugin should 
> use CordovaInterface.getThreadPool()



--
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-12004) cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)

2016-10-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12004:
-

Can you provide more information, such as which device, and what version of 
Android you're currently using? 

> cordova-plugin-media 2.4.0 : open failed: EROFS (Read-only file system)
> ---
>
> Key: CB-12004
> URL: https://issues.apache.org/jira/browse/CB-12004
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.4.0
> Environment: Android 6.0.1
>Reporter: salles pro services
>
> 10-12 20:58:12.549  9230  9291 W System.err: java.io.FileNotFoundException: 
> /storage/emulated/0/tmprecording-1476316692548.3gp: open failed: EROFS 
> (Read-only file system)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> libcore.io.IoBridge.open(IoBridge.java:452)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> java.io.RandomAccessFile.(RandomAccessFile.java:117)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> java.io.RandomAccessFile.(RandomAccessFile.java:149)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.media.MediaRecorder.prepare(MediaRecorder.java:784)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioPlayer.startRecording(AudioPlayer.java:159)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.startRecordingAudio(AudioHandler.java:287)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.promptForRecord(AudioHandler.java:543)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.media.AudioHandler.execute(AudioHandler.java:118)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.PluginManager.exec(PluginManager.java:133)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.os.Handler.dispatchMessage(Handler.java:102)
> 10-12 20:58:12.549  9230  9291 W System.err:  at 
> android.os.Looper.loop(Looper.java:148)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> android.os.HandlerThread.run(HandlerThread.java:61)
> 10-12 20:58:12.550  9230  9291 W System.err: Caused by: 
> android.system.ErrnoException: open failed: EROFS (Read-only file system)
> 10-12 20:58:12.550  9230  9291 W System.err:  at libcore.io.Posix.open(Native 
> Method)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
> 10-12 20:58:12.550  9230  9291 W System.err:  at 
> libcore.io.IoBridge.open(IoBridge.java:438)
> 10-12 20:58:12.550  9230  9291 W System.err:  ... 16 more
> 10-12 20:58:12.550  9230  9291 W PluginManager: THREAD WARNING: exec() call 
> to Media.startRecordingAudio blocked the main thread for 21ms. Plugin should 
> use CordovaInterface.getThreadPool()



--
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-11880) cordova/exec crashes on Android when no [] supplied

2016-10-13 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-11880.
-
Resolution: Implemented

> cordova/exec crashes on Android when no [] supplied
> -
>
> Key: CB-11880
> URL: https://issues.apache.org/jira/browse/CB-11880
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Reporter: Thomas Raffray
>Priority: Minor
>
> When calling the function {code}cordova.exec(, 
> , , , []){code} without the last 
> argument, a TypeError is returned.
> The issue happens after cordova-android/cordova-js-src/exec.js tries to call 
> the length() function on args. As a result, the Cordova platform does not 
> invoke the native plugin code.
> Although the exec() prototype clearly requires the \[\] parameter, the 
> iOS version of exec() makes a preliminary sanity check on this variable to 
> avoid generating an error.
> Suggest to replicate this behaviour on the Android platform to provide the 
> same fail-safe mechanism.



--
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-11994) appveyor tests on cordova-lib are not testing on all node versions

2016-10-13 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11994 - appveyor tests on cordova-lib are not testing on all node versions

 This closes #503


> appveyor tests on cordova-lib are not testing on all node versions
> --
>
> Key: CB-11994
> URL: https://issues.apache.org/jira/browse/CB-11994
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>
> appveyor.yml is missing this line:
> https://github.com/apache/cordova-ios/blob/a527d1a08ee3e3a35ee0f1087c8e19f0946840c7/appveyor.yml#L9



--
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-11994) appveyor tests on cordova-lib are not testing on all node versions

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11994:
-

Github user asfgit closed the pull request at:

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


> appveyor tests on cordova-lib are not testing on all node versions
> --
>
> Key: CB-11994
> URL: https://issues.apache.org/jira/browse/CB-11994
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>
> appveyor.yml is missing this line:
> https://github.com/apache/cordova-ios/blob/a527d1a08ee3e3a35ee0f1087c8e19f0946840c7/appveyor.yml#L9



--
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-11994) appveyor tests on cordova-lib are not testing on all node versions

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11994:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-lib/pull/503
  
Yay the magic incantations have been revealed, squashing and pulling this 
in.


> appveyor tests on cordova-lib are not testing on all node versions
> --
>
> Key: CB-11994
> URL: https://issues.apache.org/jira/browse/CB-11994
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Reporter: Shazron Abdullah
>
> appveyor.yml is missing this line:
> https://github.com/apache/cordova-ios/blob/a527d1a08ee3e3a35ee0f1087c8e19f0946840c7/appveyor.yml#L9



--
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-12012) Developer Team in IOS10

2016-10-13 Thread Shazron Abdullah (JIRA)

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

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

> Developer Team in IOS10
> ---
>
> Key: CB-12012
> URL: https://issues.apache.org/jira/browse/CB-12012
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Developer Team IOS 10 Error
>Reporter: santiago gonzalez
>Priority: Critical
>  Labels: build
> Fix For: Master
>
>
> I have the following problem when compiling a project in IOS 10. The project 
> needs the Developer Team to compile correctly.
> sudo cordova build ios --device
> When you run the command, the following error:
> Signing for "holaMundo" requires a development team. Select a development 
> team in the project editor.
> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> n some forums JIRA, show the following solution:
> https://issues.apache.org/jira/browse/CB-11845
> I have not found a way to implement it properly to avoid this error. 
> Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12016) remove plugin ID mapping

2016-10-13 Thread Steve Gill (JIRA)
Steve Gill created CB-12016:
---

 Summary: remove plugin ID mapping
 Key: CB-12016
 URL: https://issues.apache.org/jira/browse/CB-12016
 Project: Apache Cordova
  Issue Type: Improvement
Reporter: Steve Gill
 Fix For: 7.0.0


For cordova@7, we can remove the cordova-registry-mapper module and remove the 
automatic plugin mapping we do



--
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-11242) The platform-specific code for platforms w/ PlatformApi implemented should be removed in the next major release

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-11242:
--
Labels: cordova-7.0.0  (was: )

> The platform-specific code for platforms w/ PlatformApi implemented should be 
> removed in the next major release
> ---
>
> Key: CB-11242
> URL: https://issues.apache.org/jira/browse/CB-11242
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Reporter: Vladimir Kotikov
>  Labels: cordova-7.0.0
> Fix For: 7.0.0
>
>




--
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-12015) initial-scale values less than 1.0 are ignored on Android

2016-10-13 Thread Simon MacDonald (JIRA)
Simon MacDonald created CB-12015:


 Summary: initial-scale values less than 1.0 are ignored on Android
 Key: CB-12015
 URL: https://issues.apache.org/jira/browse/CB-12015
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 5.2.2
Reporter: Simon MacDonald


So, the way cordova-android is right now if I use:



Everything is good. Increasing the scale to 2.0 or 3.0 correctly makes 
everything bigger. However, setting:


has no effect whatsoever.

Going into the SystemWebViewEngine class and adding:

settings.setUseWideViewPort(true);
settings.setLoadWithOverviewMode(true);

to initWebViewSettings() method then allows me to scale the viewport down. 



--
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-10644) Deprecate support for old versions of PlatformApi-enabled platforms

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10644:
--
Labels: PlatformAPI PlatformApi  (was: PlatformAPI PlatformApi 
cordova-7.0.0)

> Deprecate support for old versions of PlatformApi-enabled platforms
> ---
>
> Key: CB-10644
> URL: https://issues.apache.org/jira/browse/CB-10644
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: PlatformAPI, PlatformApi
>
> The list of platforms that currently have a PlatofrmApi implementation and 
> hence support for old versions of these platforms via PlatformApi polyfill 
> might be deprecated/removed:
> * cordova-android < 5
> * cordova-ios < 4
> * cordova-windows < 4.3.0
> * cordova-osx < 4



--
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-10644) Deprecate support for old versions of PlatformApi-enabled platforms

2016-10-13 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov updated CB-10644:
--
Labels: PlatformAPI PlatformApi cordova-7.0.0  (was: PlatformAPI 
PlatformApi)

> Deprecate support for old versions of PlatformApi-enabled platforms
> ---
>
> Key: CB-10644
> URL: https://issues.apache.org/jira/browse/CB-10644
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: PlatformAPI, PlatformApi, cordova-7.0.0
>
> The list of platforms that currently have a PlatofrmApi implementation and 
> hence support for old versions of these platforms via PlatformApi polyfill 
> might be deprecated/removed:
> * cordova-android < 5
> * cordova-ios < 4
> * cordova-windows < 4.3.0
> * cordova-osx < 4



--
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-9852) cordova-plugin-camera file picker does not appear in browser

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9852:


Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/200
  
Cordova CI Build has completed successfully.

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-camera/pull/200/commits/8d748be897448ea7916f00cd92119b7f0674f89e)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=ios/artifact/)
 |
| [Android]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/86//PLATFORM=android/artifact/)
 |
 



> cordova-plugin-camera file picker does not appear in browser
> 
>
> Key: CB-9852
> URL: https://issues.apache.org/jira/browse/CB-9852
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Affects Versions: 1.2.0
> Environment: Windows, Chrome/Firefox
>Reporter: Rob Caldecott
>  Labels: browser, reproduced, triaged
>
> Using latest (5.3.3) Cordova and cordova-plugin-camera 1.2.0, browser support 
> to select an image is not working. Each time you call 
> navigator.camera.getPicture with sourceType = 
> Camera.PictureSourceType.PHOTOLIBRARY a new file input is appended to the 
> document, but nothing actually happens.
> Tested on Chrome 46 and Firefox 40.
> To reproduce, create a basic Cordova project. Add browser as a platform then 
> add the cordova-plugin-camera plugin. Then add a button to your document 
> which when clicked executes the following:
> navigator.camera.getPicture(success, error, {
> sourceType: Camera.PictureSourceType.PHOTOLIBRARY
> });
> (include a suitable success/error handler).
> Run with cordova emulate browser. When the above is executed, the following 
> is inserted into your document:
> 
> Successive calls will add more of these. If you actually click on one then 
> the file picker will appear. But it seems that whatever simulates this click 
> is not working.



--
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-12011) Change color of the spinner for android 5.0+

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12011:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-splashscreen/pull/116
  
Cordova CI Build has completed successfully.

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-splashscreen/pull/116/commits/a13a07960ce863c990956b4194f3ed0d9923ae40)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=ios/artifact/)
 |
| [Android]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/29//PLATFORM=android/artifact/)
 |
 



> Change color of the spinner for android 5.0+
> 
>
> Key: CB-12011
> URL: https://issues.apache.org/jira/browse/CB-12011
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Plugin SplashScreen
> Environment: Android 5.0+
>Reporter: Martijn Willekens
>  Labels: android, android5.0, android6.0
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Since Android 5.0 there is a new spinner which color depends on the theme 
> that is used for the Android app. It defaults to an ugly green. This change 
> will allow the color of the spinner to be set from the config.xml.



--
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-12010) [INAppBrowser] Opening a relative path in _system would crash the app on Android 7.0

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12010:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-inappbrowser/pull/191
  
Cordova CI Build has one or more failures. 

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-inappbrowser/pull/191/commits/efae0573dd6e56205a3ce3615c9ef8edf0ce7623)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=ios/artifact/)
 |
| [Android]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-inappbrowser-pr/81//PLATFORM=android/artifact/)
 |
 



> [INAppBrowser] Opening a relative path in _system would crash the app on 
> Android 7.0
> 
>
> Key: CB-12010
> URL: https://issues.apache.org/jira/browse/CB-12010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android API level 24
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running manual tests for InAppBrowser and 
> clicking on `target=_system` button in `Local URL` section.



--
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-10438) Plugin dependency version/spec is not used/ignored

2016-10-13 Thread Steve Gill (JIRA)

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

Steve Gill updated CB-10438:

Assignee: Steve Gill  (was: Caryn Tran)

> Plugin dependency version/spec is not used/ignored
> --
>
> Key: CB-10438
> URL: https://issues.apache.org/jira/browse/CB-10438
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.0.0, 5.4.1
>Reporter: Steve Gill
>Assignee: Steve Gill
>  Labels: as-designed, cordova-7.0.0, triaged
>
> Quite the bug! 
> {code:javascript}
> 
> or
> 
> {code}
> The above line will ignore spec or version and will always grab the latest. I 
> went back and tried the previous version of cordova and this seems to be 
> ignoring it as well. Seems like this was never working.



--
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-12014) Back button event listener is not called when app requests device administrator permissions.

2016-10-13 Thread Harsh Yadav (JIRA)
Harsh Yadav created CB-12014:


 Summary: Back button event listener is not called when app 
requests device administrator permissions.
 Key: CB-12014
 URL: https://issues.apache.org/jira/browse/CB-12014
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
 Environment: Android M
Reporter: Harsh Yadav


I have registered an event listener for the event "backbutton" in my hybrid 
app. During the launch of the app it asks user to activate the Device 
Administrator for the app if app is not the Device Administrator. If user click 
Activates the Device Administrator, app activity comes to the top. Now if user 
presses back button it will not call registered event listener. But if app is 
the Device administrator then it will prompt user to activate device admin, 
hence on pressing back button on app activity it calls registered event 
listener.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Audrey So (JIRA)

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

Audrey So commented on CB-11990:


[~ymyhailova]

Hi Yuliia!

Thank you for providing me with step-by-step directions. That was really 
helpful and I appreciate the time you took to do that for me. I went ahead and 
followed each step. Here is what I found:

cordova 6.3.0
When I am removing a platform (cordova platform remove android), the platform 
“android” directory is removed, however my platforms.json file is not deleted. 
Instead my platforms.json file is just empty. Only my platforms “android” 
directory is removed. (I experience the same things in both 6.3.0. and 6.3.1).

I then manually removed platforms.json, but cordova prepare does not bring it 
back this way. Instead, delete the entire “platforms” directory. Then, when you 
use “cordova prepare” , everything including the platforms.json will be 
restored for you. One of cordova prepare’s purposes is to restore 
platforms/plugins that have been saved to config.xml if the 
directory/directories have been deleted. (In the “platforms” directory, you can 
also delete platforms.json and the “android” directory and run cordova prepare 
to get the same result as it will regenerate the platforms directory for you 
based on what has been saved in config.xml.) 

To test this, (1) create a cordova project, (2) add a new platform (android, 
etc) with cordova platform add android —save (that platform is now saved to 
config.xml), (3) delete the entire “platforms” directory with rm -r platforms, 
(4) run cordova prepare… here you should see that entire directory with the 
platforms.json restored. This process works the same way for plugins, too. 

Let me know how this works for you! Thanks! — Audrey

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> - install cordova@6.3.0
> - go to project with platform and plugins installed
> - do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> - do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> - install cordova@6.3.1
> - do same steps
> - on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
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-12013) input caret position wrong when scaling iframe

2016-10-13 Thread Pieter Biesemans (JIRA)
Pieter Biesemans created CB-12013:
-

 Summary: input caret position wrong when scaling iframe
 Key: CB-12013
 URL: https://issues.apache.org/jira/browse/CB-12013
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
 Environment: iOS 10 on iPad 3
Reporter: Pieter Biesemans
Priority: Critical


When loading content through an iframe that is scaled or embedded in a scaled 
page (through css transfrom:scale()) the caret position of the input is wrong.

We loaded a simple form through an iframe. This form is part of a presentation, 
which is scaled down or up to fit the screen. When selecting an input to input 
some data (be it a text input, number input, contenteditable div, ...) the OS 
treats the input as if it is in the location it was before the scaling was 
applied.

The issue is only present when running in Cordova. We cannot replicate it 
running the same code in Safari or Chrome on the same device.

Screenshot (when selecting the textarea): http://imgur.com/JllMQmg 



--
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-12012) Developer Team in IOS10

2016-10-13 Thread santiago gonzalez (JIRA)

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

santiago gonzalez updated CB-12012:
---
Issue Type: Bug  (was: Test)

> Developer Team in IOS10
> ---
>
> Key: CB-12012
> URL: https://issues.apache.org/jira/browse/CB-12012
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Developer Team IOS 10 Error
>Reporter: santiago gonzalez
>Priority: Critical
>  Labels: build
> Fix For: Master
>
>
> I have the following problem when compiling a project in IOS 10. The project 
> needs the Developer Team to compile correctly.
> sudo cordova build ios --device
> When you run the command, the following error:
> Signing for "holaMundo" requires a development team. Select a development 
> team in the project editor.
> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> n some forums JIRA, show the following solution:
> https://issues.apache.org/jira/browse/CB-11845
> I have not found a way to implement it properly to avoid this error. 
> Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12012) Developer Team in IOS10

2016-10-13 Thread santiago gonzalez (JIRA)

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

santiago gonzalez updated CB-12012:
---
Issue Type: Test  (was: Improvement)

> Developer Team in IOS10
> ---
>
> Key: CB-12012
> URL: https://issues.apache.org/jira/browse/CB-12012
> Project: Apache Cordova
>  Issue Type: Test
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Developer Team IOS 10 Error
>Reporter: santiago gonzalez
>Priority: Critical
>  Labels: build
> Fix For: Master
>
>
> I have the following problem when compiling a project in IOS 10. The project 
> needs the Developer Team to compile correctly.
> sudo cordova build ios --device
> When you run the command, the following error:
> Signing for "holaMundo" requires a development team. Select a development 
> team in the project editor.
> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> n some forums JIRA, show the following solution:
> https://issues.apache.org/jira/browse/CB-11845
> I have not found a way to implement it properly to avoid this error. 
> Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12012) Developer Team in IOS10

2016-10-13 Thread santiago gonzalez (JIRA)

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

santiago gonzalez updated CB-12012:
---
Issue Type: Improvement  (was: Bug)

> Developer Team in IOS10
> ---
>
> Key: CB-12012
> URL: https://issues.apache.org/jira/browse/CB-12012
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Developer Team IOS 10 Error
>Reporter: santiago gonzalez
>Priority: Critical
>  Labels: build
> Fix For: Master
>
>
> I have the following problem when compiling a project in IOS 10. The project 
> needs the Developer Team to compile correctly.
> sudo cordova build ios --device
> When you run the command, the following error:
> Signing for "holaMundo" requires a development team. Select a development 
> team in the project editor.
> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> n some forums JIRA, show the following solution:
> https://issues.apache.org/jira/browse/CB-11845
> I have not found a way to implement it properly to avoid this error. 
> Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12012) Developer Team in IOS10

2016-10-13 Thread santiago gonzalez (JIRA)

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

santiago gonzalez updated CB-12012:
---
Description: 
I have the following problem when compiling a project in IOS 10. The project 
needs the Developer Team to compile correctly.

sudo cordova build ios --device

When you run the command, the following error:

Signing for "holaMundo" requires a development team. Select a development team 
in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

n some forums JIRA, show the following solution:
https://issues.apache.org/jira/browse/CB-11845

I have not found a way to implement it properly to avoid this error. 
Build.xcconfig also attempt to modify the file, but I failed to fix the error.

  was:
I have the following problem when compiling a project in IOS 10. The project 
needs the Developer Team to compile correctly.

sudo cordova build ios --device

When you run the command, the following error:

Signing for "holaMundo" requires a development team. Select a development team 
in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

n some forums JIRA official Apache Cordova, show the following solution:
https://issues.apache.org/jira/browse/CB-11845

I have not found a way to implement it properly to avoid this error. 
Build.xcconfig also attempt to modify the file, but I failed to fix the error.


> Developer Team in IOS10
> ---
>
> Key: CB-12012
> URL: https://issues.apache.org/jira/browse/CB-12012
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Developer Team IOS 10 Error
>Reporter: santiago gonzalez
>Priority: Critical
>  Labels: build
> Fix For: Master
>
>
> I have the following problem when compiling a project in IOS 10. The project 
> needs the Developer Team to compile correctly.
> sudo cordova build ios --device
> When you run the command, the following error:
> Signing for "holaMundo" requires a development team. Select a development 
> team in the project editor.
> Code signing is required for product type 'Application' in SDK 'iOS 10.0'
> n some forums JIRA, show the following solution:
> https://issues.apache.org/jira/browse/CB-11845
> I have not found a way to implement it properly to avoid this error. 
> Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12012) Developer Team in IOS10

2016-10-13 Thread santiago gonzalez (JIRA)
santiago gonzalez created CB-12012:
--

 Summary: Developer Team in IOS10
 Key: CB-12012
 URL: https://issues.apache.org/jira/browse/CB-12012
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.5.0
 Environment: Developer Team IOS 10 Error
Reporter: santiago gonzalez
Priority: Critical
 Fix For: Master


I have the following problem when compiling a project in IOS 10. The project 
needs the Developer Team to compile correctly.

sudo cordova build ios --device

When you run the command, the following error:

Signing for "holaMundo" requires a development team. Select a development team 
in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

n some forums JIRA official Apache Cordova, show the following solution:
https://issues.apache.org/jira/browse/CB-11845

I have not found a way to implement it properly to avoid this error. 
Build.xcconfig also attempt to modify the file, but I failed to fix the error.



--
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-12011) Change color of the spinner for android 5.0+

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12011:
-

GitHub user MartijnW49 opened a pull request:

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

CB-12011: (android) added the possibility to change the spinner color…

### Platforms affected
Android

### What does this PR do?
It adds the possibility to change the spinner color from the config.xml 
file for android 5.0+ apps.
Example config.xml line:
preference name="SplashScreenSpinnerColor" value="white"/>
Color names as well as hex colors can be used.

### What testing has been done on this change?
Tested the updated Splashscreen.java in an ionic 2 app. The splashscreen 
works and shows the spinner in the color that was defined in the config.xml

### 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/MartijnW49/cordova-plugin-splashscreen 
CB-12011

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

https://github.com/apache/cordova-plugin-splashscreen/pull/116.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 #116


commit a13a07960ce863c990956b4194f3ed0d9923ae40
Author: MartijnW49 
Date:   2016-10-13T12:20:32Z

CB-12011: (android) added the possibility to change the spinner color on 
Android 5.0+ apps




> Change color of the spinner for android 5.0+
> 
>
> Key: CB-12011
> URL: https://issues.apache.org/jira/browse/CB-12011
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Plugin SplashScreen
> Environment: Android 5.0+
>Reporter: Martijn Willekens
>  Labels: android, android5.0, android6.0
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Since Android 5.0 there is a new spinner which color depends on the theme 
> that is used for the Android app. It defaults to an ugly green. This change 
> will allow the color of the spinner to be set from the config.xml.



--
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-12011) Change color of the spinner for android 5.0+

2016-10-13 Thread Martijn Willekens (JIRA)
Martijn Willekens created CB-12011:
--

 Summary: Change color of the spinner for android 5.0+
 Key: CB-12011
 URL: https://issues.apache.org/jira/browse/CB-12011
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Plugin SplashScreen
 Environment: Android 5.0+
Reporter: Martijn Willekens


Since Android 5.0 there is a new spinner which color depends on the theme that 
is used for the Android app. It defaults to an ugly green. This change will 
allow the color of the spinner to be set from the config.xml.



--
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-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user Webpal opened a pull request:

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

Allowing chunkedMode to be false on Android / https



### Platforms affected
Android

### What does this PR do?
File uploads over https were automatically turned to Transfer-encoding: 
chunked due to old Android issues. Since adding this header to transfers often 
breaks functionality (for example you can't add an additional header to an 
Amazon S3 request that was signed without it) - isn't it better to follow the 
users instruction to use chunked mode or not instead of overwriting it? 

### What testing has been done on this change?
Only deployed on one Android device, can not verify that it doesn't cause 
OOM issues - but this option is available as a setting for the user to controll 
in js.

### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [ ] 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.
- [ ] 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/Webpal/cordova-plugin-file-transfer master

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

https://github.com/apache/cordova-plugin-file-transfer/pull/161.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 #161


commit e836377a0ff6e2fda810f65a8220413b2095a3ec
Author: Webpal 
Date:   2016-10-13T11:44:11Z

Update FileTransfer.java




> "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.4#6332)

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



[jira] [Commented] (CB-12010) [INAppBrowser] Opening a relative path in _system would crash the app on Android 7.0

2016-10-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12010:
-

GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/191

CB-12010 (android) Catch FileUriExposedException

### Platforms affected
Android

### What does this PR do?
Fixes a crash on Android 7.0 devices when trying to open a file URI in the 
system browser.

### What testing has been done on this change?
Manual testing on Android 7.0 emulator

### 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.
- [ ] Added automated test coverage as appropriate for this change - *can 
only be tested manually*.



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

$ git pull https://github.com/alsorokin/cordova-plugin-inappbrowser CB-12010

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

https://github.com/apache/cordova-plugin-inappbrowser/pull/191.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 #191


commit efae0573dd6e56205a3ce3615c9ef8edf0ce7623
Author: Alexander Sorokin 
Date:   2016-10-13T10:29:23Z

CB-12010 (android) Catch FileUriExposedException




> [INAppBrowser] Opening a relative path in _system would crash the app on 
> Android 7.0
> 
>
> Key: CB-12010
> URL: https://issues.apache.org/jira/browse/CB-12010
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: Master
> Environment: Android API level 24
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running manual tests for InAppBrowser and 
> clicking on `target=_system` button in `Local URL` section.



--
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-12010) [INAppBrowser] Opening a relative path in _system would crash the app on Android 7.0

2016-10-13 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-12010:
--

 Summary: [INAppBrowser] Opening a relative path in _system would 
crash the app on Android 7.0
 Key: CB-12010
 URL: https://issues.apache.org/jira/browse/CB-12010
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Affects Versions: Master
 Environment: Android API level 24
Reporter: Alexander Sorokin
Assignee: Alexander Sorokin


This issue can be reproduced by running manual tests for InAppBrowser and 
clicking on `target=_system` button in `Local URL` section.



--
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-12002) Support LSApplicationQueriesSchemes

2016-10-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-12002:
---

LSApplicationQueriesSchemes is only needed for canOpenURL, but we use openURL 
without querying if it can be opened first. That opened the apps if they were 
on the allow-intent (worked on iOS 9 and earlier, but didn't test on iOS 10)

> Support LSApplicationQueriesSchemes
> ---
>
> Key: CB-12002
> URL: https://issues.apache.org/jira/browse/CB-12002
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Darryl Pogue
>Assignee: Darryl Pogue
>
> For apps to launch other apps via their custom URL schemes, they need to be 
> whitelisted in LSApplicationQueriesSchemes. We should be able to use the 
> (currently unused by iOS) {{}} tags in config.xml to configure 
> this.



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V edited comment on CB-10167 at 10/13/16 8:02 AM:
--

Interesting. Using the embedded Crosswalk (Chromium) webview doesn't work 
either. While it isn't clear to me how, there's got to be a way for Cordova to 
get the attributes via Android. 

..Because reading one file (at a time) in an application absolutely sucks - 
particularly annoying considering this feature works just fine when using an 
Android browser, such as Chrome.



was (Author: mrv):
Interesting. Using the embedded Crosswalk (Chromium) webview doesn't work 
either. While it isn't clear to me how, there's got to be a way for Cordova to 
get the attributes via Android. Hmmm...

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V commented on CB-10167:


Interesting. Using the embedded Crosswalk (Chromium) webview doesn't work 
either. While it isn't clear to me how, there's got to be a way for Cordova to 
get the attributes via Android. Hmmm...

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-10167:
---

It's a bug on the Android webview, not a Cordova bug. 
Right now Cordova uses a workaround to make input file partially work. 
Cordova for Android is not reading the type attribute, the input file just call 
a native java method when clicked, with no additional information about the 
attributes it has. 


> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V commented on CB-10167:


So, Cordova for Android can't be updated (fixed) to read the attributes on an 
input tag? I was told by the Cordova team that this is not a bug but a feature 
request. I absolutely disagree. If Cordova is hindering a native HTML5 feature 
from functioning then I its a bug (and a problem). Cordova for Android is 
already reading the type attribute for the input tag, so being able to read the 
'multiple' attribute doesn't seem to be asking much on a technical level.

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Description: 
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

- install cordova@6.3.0
- go to project with platform and plugins installed
- do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
- do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

- install cordova@6.3.1
- do same steps
- on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

  was:
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

install cordova@6.3.0
go to project with platform and plugins installed
do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

install cordova@6.3.1
do same steps
on a last step the  is not recreated, therefore platform is 
created but no plugins are added.


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> - install cordova@6.3.0
> - go to project with platform and plugins installed
> - do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> - do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> - install cordova@6.3.1
> - do same steps
> - on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova commented on CB-11990:


[~auso]

Here are more definite steps to reproduce:

- install cordova@6.3.0
- go to project with platform and plugins installed
- do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
- do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

- install cordova@6.3.1
- do same steps
- on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

This is fixable by adding a platform instead of prepare. But then what is the 
point of prepare command, if you have to call add platform before it to be sure 
that all plugins are added? And removing plugins each time you remove a 
platform also not a good approach.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Description: 
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

install cordova@6.3.0
go to project with platform and plugins installed
do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

install cordova@6.3.1
do same steps
on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

  was:If the platform specific .json of plugins was removed, cordova prepare 
command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
version, 6.3.0 is okay.


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> install cordova@6.3.0
> go to project with platform and plugins installed
> do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> install cordova@6.3.1
> do same steps
> on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
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] [Issue Comment Deleted] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Comment: was deleted

(was: I meant /plugins/.json. Will provide more clean steps 
to reproduce.)

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova commented on CB-11990:


I meant /plugins/.json. Will provide more clean steps to 
reproduce.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova commented on CB-11990:


I meant /plugins/.json. Will provide more clean steps to 
reproduce.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-10167:
---

Yeah, the problem is, as far as I know, we can't know the attributes of the 
input file to act accordingly, the android native part only knows that the 
input file was clicked.
If you have an idea you can share it, and pull requests are welcomed too.


> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-12009) target attribute ignored on iOS when installing a Cordova plugin

2016-10-13 Thread Mark Veenstra (JIRA)

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

Mark Veenstra updated CB-12009:
---
Description: 
In the Cordova plugin.xml documentation it is stated that the 
{{}} tag can have an attribute {{target}}. See next link: 
https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file

But when I try to use this target attribute it is just ignored and all 
{{}} configurations are added to the {{Resources}} directory on 
iOS.
It seems to me that the {{cordova-lib}} code just ignores this {{target}} 
attribute, see next link: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165

The code grabbed from that link:
{{destFile = path.resolve(project.resources_dir, path.basename(src));}}

Here you can see the destFile is hardcoded for the resources_dir.
We are trying to add push notification sounds to the iOS {{Resources}} 
directory as well as adding it to either the bundle root or {{Library/Sounds}}. 
Because we have seen that since iOS 10 we need to put the sounds files 
elsewhere then the {{Resources}} directory to get it work. See: 
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH107-SW1



  was:
In the Cordova plugin.xml documentation it is stated that the 
{{}} tag can have an attribute {{target}}. See next link: 
https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file

But when I try to use this target attribute it is just ignored and all 
{{}} configurations are added to the {{Resources}} directory on 
iOS.
It seems to me that the {{cordova-lib}} code just ignores this {{target}} 
attribute, see next link: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165

The code grabbed from that link:
{{destFile = path.resolve(project.resources_dir, path.basename(src));}}

Here you can see the destFile is hardcoded for the resources_dir.




> target attribute ignored on iOS when installing a Cordova plugin
> 
>
> Key: CB-12009
> URL: https://issues.apache.org/jira/browse/CB-12009
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.3.0, 6.3.1
>Reporter: Mark Veenstra
>Priority: Critical
>
> In the Cordova plugin.xml documentation it is stated that the 
> {{}} tag can have an attribute {{target}}. See next link: 
> https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file
> But when I try to use this target attribute it is just ignored and all 
> {{}} configurations are added to the {{Resources}} directory 
> on iOS.
> It seems to me that the {{cordova-lib}} code just ignores this {{target}} 
> attribute, see next link: 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165
> The code grabbed from that link:
> {{destFile = path.resolve(project.resources_dir, path.basename(src));}}
> Here you can see the destFile is hardcoded for the resources_dir.
> We are trying to add push notification sounds to the iOS {{Resources}} 
> directory as well as adding it to either the bundle root or 
> {{Library/Sounds}}. Because we have seen that since iOS 10 we need to put the 
> sounds files elsewhere then the {{Resources}} directory to get it work. See: 
> https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/TheNotificationPayload.html#//apple_ref/doc/uid/TP40008194-CH107-SW1



--
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-12009) target attribute ignored on iOS when installing a Cordova plugin

2016-10-13 Thread Mark Veenstra (JIRA)
Mark Veenstra created CB-12009:
--

 Summary: target attribute ignored on iOS when installing a Cordova 
plugin
 Key: CB-12009
 URL: https://issues.apache.org/jira/browse/CB-12009
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 6.3.0, 6.3.1
Reporter: Mark Veenstra
Priority: Critical


In the Cordova plugin.xml documentation it is stated that the 
{{}} tag can have an attribute {{target}}. See next link: 
https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#resource-file

But when I try to use this target attribute it is just ignored and all 
{{}} configurations are added to the {{Resources}} directory on 
iOS.
It seems to me that the {{cordova-lib}} code just ignores this {{target}} 
attribute, see next link: 
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/platforms/ios.js#L165

The code grabbed from that link:
{{destFile = path.resolve(project.resources_dir, path.basename(src));}}

Here you can see the destFile is hardcoded for the resources_dir.





--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V edited comment on CB-10167 at 10/13/16 6:30 AM:
--

BTW
This issue relates to both multiple image and video, selection. This needs to 
be resolved in core Cordova without requiring a plug-in. As multiple file 
selection is a native HTML5 feature, supporting it properly in core Cordova 
should be a priority. 


was (Author: mrv):
BTW
This issue relates to both multiple image and multiple video, selection. This 
definitely needs to be resolved in core Cordova without requiring a plug-in. As 
multiple file selection is a native HTML5 feature, I would think supporting it 
properly in core Cordova would be a priority. 

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V edited comment on CB-10167 at 10/13/16 6:30 AM:
--

BTW
This issue relates to both multiple image and video selection. This needs to be 
resolved in core Cordova without requiring a plug-in. As multiple file 
selection is a native HTML5 feature, supporting it properly in core Cordova 
should be a priority. 


was (Author: mrv):
BTW
This issue relates to both multiple image and video, selection. This needs to 
be resolved in core Cordova without requiring a plug-in. As multiple file 
selection is a native HTML5 feature, supporting it properly in core Cordova 
should be a priority. 

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-10167) not select multiple image from gallary using cordova

2016-10-13 Thread Mr. V (JIRA)

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

Mr. V commented on CB-10167:


BTW
This issue relates to both multiple image and multiple video, selection. This 
definitely needs to be resolved in core Cordova without requiring a plug-in. As 
multiple file selection is a native HTML5 feature, I would think supporting it 
properly in core Cordova would be a priority. 

> not select multiple image from gallary using cordova
> 
>
> Key: CB-10167
> URL: https://issues.apache.org/jira/browse/CB-10167
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 5.4.0
> Environment: Android (mobile application platform)
>Reporter: Tejal Pandya
>Priority: Minor
>  Labels: triaged
> Fix For: 5.4.0
>
>   Original Estimate: 20m
>  Remaining Estimate: 20m
>
> I am working on cordova 5.4.0 . I am using plugins camera, file ,file 
> transfer , media-capture for multiple file selection through gallary. But its 
> possible with capture by camera using example multiimageselector3.  But not 
> for gallary (In demo multiimageselector2. This demo not working). i am using 
> html file for select image and add above plugins. But not work right now. 
> Give me such solution for multiple imageselection using gallary. 



--
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-12008) Discuss moving towards autosave by default for cordova@7

2016-10-13 Thread Steve Gill (JIRA)
Steve Gill created CB-12008:
---

 Summary: Discuss moving towards autosave by default for cordova@7
 Key: CB-12008
 URL: https://issues.apache.org/jira/browse/CB-12008
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib
Reporter: Steve Gill
 Fix For: 7.0.0


Need to create a discuss thread about this. Our analytics show --save usage is 
pretty low (presumably due to people not knowing about it). 

It might be time to consider saving by default and having a --no-save flag to 
not save. 

We can also have global config to turn auto-save off for cordova 



--
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-12007) Build does fail / Could not resolve com.android.tools.build:gradle:2.1.0

2016-10-13 Thread Sven Siwek (JIRA)
Sven Siwek created CB-12007:
---

 Summary: Build does fail / Could not resolve 
com.android.tools.build:gradle:2.1.0
 Key: CB-12007
 URL: https://issues.apache.org/jira/browse/CB-12007
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Reporter: Sven Siwek


I try to build simple kitchensink demo/template.

C:\Users\siw\workspace_neon\examples\kitchensink-cordova>cordova build android -
-release --verbose
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml for saved platforms that haven't been added to the project
Checking for any plugins added to the project that have not been installed in an
droid platform
No differences found between plugins added to project and installed in android p
latform. Continuing...
Generating platform-specific config.xml from defaults for android at C:\Users\si
w\workspace_neon\examples\kitchensink-cordova\platforms\android\res\xml\config.x
ml
Merging project's config.xml into platform-specific android config.xml
Merging and updating files from [www, platforms\android\platform_www] to platfor
ms\android\assets\www
Wrote out android application name "kitchensink-cordova" to C:\Users\siw\workspa
ce_neon\examples\kitchensink-cordova\platforms\android\res\values\strings.xml
android-versionCode not found in config.xml. Generating a code based on version
in config.xml (2.0.0): 2
Wrote out Android package name "org.jboss.quickstarts.wfk.kitchensinkcordova" to
 C:\Users\siw\workspace_neon\examples\kitchensink-cordova\platforms\android\src\
org\jboss\quickstarts\wfk\kitchensinkcordova\MainActivity.java
This app does not have launcher icons defined
This app does not have splash screens defined
Prepared android project successfully
No scripts found for hook "after_prepare".
Checking config.xml for saved plugins that haven't been added to the project
No scripts found for hook "before_compile".
ANDROID_HOME=C:\Users\siw\android-sdks
JAVA_HOME=C:\Program Files\java\jdk1.7.0_51
Running command: cmd "/s /c "C:\Users\siw\workspace_neon\examples\kitchensink-co
rdova\platforms\android\gradlew.bat cdvBuildRelease -b C:\Users\siw\workspace_ne
on\examples\kitchensink-cordova\platforms\android\build.gradle -Dorg.gradle.daem
on=true -Pandroid.useDeprecatedNdk=true""

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:2.1.0.
 Required by:
 :android:unspecified
  > Could not resolve com.android.tools.build:gradle:2.1.0.
 > Could not get resource 'https://repo1.maven.org/maven2/com/android/to
ols/build/gradle/2.1.0/gradle-2.1.0.pom'.
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/bu
ild/gradle/2.1.0/gradle-2.1.0.pom'.
   > repo1.maven.org
  > Could not resolve com.android.tools.build:gradle:2.1.0.
 > Could not get resource 'https://jcenter.bintray.com/com/android/tools
/build/gradle/2.1.0/gradle-2.1.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build
/gradle/2.1.0/gradle-2.1.0.pom'.
   > jcenter.bintray.com

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 4.412 secs
Command finished with error code 1: cmd /s /c "C:\Users\siw\workspace_neon\examp
les\kitchensink-cordova\platforms\android\gradlew.bat cdvBuildRelease -b C:\User
s\siw\workspace_neon\examples\kitchensink-cordova\platforms\android\build.gradle
 -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve com.android.tools.build:gradle:2.1.0.
 Required by:
 :android:unspecified
  > Could not resolve com.android.tools.build:gradle:2.1.0.
 > Could not get resource 'https://repo1.maven.org/maven2/com/android/to
ols/build/gradle/2.1.0/gradle-2.1.0.pom'.
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/bu
ild/gradle/2.1.0/gradle-2.1.0.pom'.
   > repo1.maven.org
  > Could not resolve com.android.tools.build:gradle:2.1.0.
 > Could not get resource 'https://jcenter.bintray.com/com/android/tools
/build/gradle/2.1.0/gradle-2.1.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build
/gradle/2.1.0/gradle-2.1.0.pom'.
   > jcenter.bintray.com

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
at ChildProcess.whenDone 

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

2016-10-13 Thread Steve Gill (JIRA)

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

Steve Gill updated CB-11960:

Flagged:   (was: Impediment)

> 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.4#6332)

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



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

2016-10-13 Thread Steve Gill (JIRA)

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

Steve Gill updated CB-11960:

Flagged: Impediment

> 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.4#6332)

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