[jira] [Commented] (CB-12668) support arbitrary creation of resources in the Asset Catalog

2017-05-10 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-12668:
-

I really needed to be able to create custom image asset catalogs for the above 
plugin, so I've added functionality to the 
[cordova-custom-config|https://github.com/dpa99c/cordova-custom-config] plugin 
to do so, until such time as the Cordova CLI itself supports this. 
Documentation here: 
https://github.com/dpa99c/cordova-custom-config#ios-image-resources

> support arbitrary creation of resources in the Asset Catalog
> 
>
> Key: CB-12668
> URL: https://issues.apache.org/jira/browse/CB-12668
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Affects Versions: 3.6.4
>Reporter: Josh Sharpe
>Priority: Critical
>  Labels: cordova-ios
>
> A handful of plugins* recommend the use of an image/asset out of the Asset 
> Catalog.  It would be great if we could create those just by setting tags in 
> config.xml, similar to  and  that then generate the resource in 
> Xcode.
> My specific use case is to add a "back" image to be used by 
> 'cordova-plugin-themeablebrowser'.  I can do this manually by:
> - opening xCode
> - Click on Project -> Resources -> Image.xcassets
> - Click '+' in the bottom task bar -> New Image Set
> - Rename the new Set 'back'
> - Manually drag and drop 3 images into xcode
> To be clear - I'm not asking that cordova produce different sized images as I 
> believe that's out of scope.  I just need it to build the new resource in 
> xcode referencing certain files on disk with tags like:
> 
>   
>   
>   
>  * Example plugins:
> https://github.com/arnesson/cordova-plugin-firebase
> https://github.codifferent m/phonegap/phonegap-plugin-push
> https://github.com/initialxy/cordova-plugin-themeablebrowser
> **Bonus!**
> It'd be extra great, since I'm sure some folks want this, if cordova could 
> add sound files to be used by firebase/push plugins that can leverage those 
> if they exist, but I'm not sure how those get set up in xcode such that 
> phonegap-plugin-push can use them.



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

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



[jira] [Commented] (CB-12527) Implement and expose PlatformApi for browser

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12527:
-

Github user purplecabbage commented on the issue:

https://github.com/apache/cordova-browser/pull/28
  
This pr is ready for review!


> Implement and expose PlatformApi for browser
> 
>
> Key: CB-12527
> URL: https://issues.apache.org/jira/browse/CB-12527
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: cordova-common, cordova-lib, cordova-plugman
>Reporter: Jesse MacFadyen
>Assignee: Jesse MacFadyen
>




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

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



[jira] [Commented] (CB-12738) cordova ignores plugin dependency version

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12738:
-

GitHub user matrosov-nikita opened a pull request:

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

CB-12738: Cordova ignores plugin dependency version on windows platform



### Platforms affected
windows

### What does this PR do?
Steps to reproduce w\ `cordova-7.0.2-dev`:
1) `cordova create sample`
2) `cordova platform add android`
3) `cordova plugin add cordova-plugin-file-transfer`

`Cordova-plugin-file-transfer` has `cordova-plugin-file@^4.0.0` as 
dependency and it should install the latest version (`4.4.3`), but after 
installation, I get `4.0.0`. Cordova treats `^` symbol as special in windows 
shell when running `npm.cmd install` and ignores it. We should enclose version 
range with quotes in case of windows platform.

### 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/matrosov-nikita/cordova-lib 
fix-plugin-dependency

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

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


commit d0c2bef764856f12cac0f77152ffb022d77ab3e1
Author: Nikita Matrosov 
Date:   2017-05-10T08:58:51Z

CB-12738: Cordova ignore plugin dependency version on windows platform




> cordova ignores plugin dependency version
> -
>
> Key: CB-12738
> URL: https://issues.apache.org/jira/browse/CB-12738
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-lib
>Reporter: Marcus Pridham
>
> You can see this with the cordova-plugin-file-transfer.  When you install 
> this plugin and it installs the cordova-plugin-file plugin dependency the CLI 
> writes
> Fetching plugin "cordova-plugin-file" via npm
> The first problem is in the PluginInfo _parseDependency function
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;a=blob;f=cordova-common/src/PluginInfo/PluginInfo.js;h=48174707b0dbf6f60eb65faeb14c51e4b3868b1b;hb=HEAD#l108
> It does not parse out the dependency version.  This part:
> {code}
> var dep =
> { id : tag.attrib.id
> , url : tag.attrib.url || ''
> , subdir : tag.attrib.subdir || ''
> , commit : tag.attrib.commit
> };
> {code}
> Should be:
> {code}
> var dep =
> { id : tag.attrib.id
> , url : tag.attrib.url || ''
> , subdir : tag.attrib.subdir || ''
> , commit : tag.attrib.commit
> , version : tag.attrib.version
> };
> {code}  
> The second problem is in the plugman installDependency method
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;a=blob;f=cordova-lib/src/plugman/install.js;h=fca77c688d2b8f19ce63cb176f50ecd44c9a9032;hb=HEAD#l603
> The dep_src is only constructed using the plugin id.
> This:
> {code}
> var dep_src = dep.url.length ? dep.url : dep.id;
> {code}
> Should look something like:
> {code}
> var dep_src;
> if (dep.url.length) {
> dep_src = dep.url;
> }
> else if (dep.version) {
> dep_src = dep.id + '@' + dep.version;
> } else {
> dep_src = dep.id;
> } 
> {code}
> With these changes the Cordova CLI correctly reports:
> Fetching plugin "cordova-plugin-file@^4.0.0" via npm



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

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



[jira] [Commented] (CB-12738) cordova ignores plugin dependency version

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12738:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-lib/pull/554
  
# [Codecov](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=h1) 
Report
> Merging 
[#554](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/cordova-lib/commit/3962053f7f5c7c65259f9926a220671595c6d944?src=pr&el=desc)
 will **decrease** coverage by `0.04%`.
> The diff coverage is `62.5%`.

[![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-lib/pull/554/graphs/tree.svg?width=650&src=pr&token=KwBjKMXLqA&height=150)](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=tree)

```diff
@@Coverage Diff @@
##   master #554  +/-   ##
==
- Coverage   79.48%   79.44%   -0.05% 
==
  Files  57   57  
  Lines3944 3950   +6 
  Branches  828  830   +2 
==
+ Hits 3135 3138   +3 
- Misses809  812   +3
```


| [Impacted 
Files](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=tree) | 
Coverage Δ | |
|---|---|---|
| 
[cordova-lib/src/plugman/fetch.js](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=tree#diff-Y29yZG92YS1saWIvc3JjL3BsdWdtYW4vZmV0Y2guanM=)
 | `80.72% <62.5%> (-1.16%)` | :arrow_down: |

--

[Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=continue).
> **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
> Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=footer). 
Last update 
[3962053...d0c2bef](https://codecov.io/gh/apache/cordova-lib/pull/554?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).



> cordova ignores plugin dependency version
> -
>
> Key: CB-12738
> URL: https://issues.apache.org/jira/browse/CB-12738
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-lib
>Reporter: Marcus Pridham
>
> You can see this with the cordova-plugin-file-transfer.  When you install 
> this plugin and it installs the cordova-plugin-file plugin dependency the CLI 
> writes
> Fetching plugin "cordova-plugin-file" via npm
> The first problem is in the PluginInfo _parseDependency function
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;a=blob;f=cordova-common/src/PluginInfo/PluginInfo.js;h=48174707b0dbf6f60eb65faeb14c51e4b3868b1b;hb=HEAD#l108
> It does not parse out the dependency version.  This part:
> {code}
> var dep =
> { id : tag.attrib.id
> , url : tag.attrib.url || ''
> , subdir : tag.attrib.subdir || ''
> , commit : tag.attrib.commit
> };
> {code}
> Should be:
> {code}
> var dep =
> { id : tag.attrib.id
> , url : tag.attrib.url || ''
> , subdir : tag.attrib.subdir || ''
> , commit : tag.attrib.commit
> , version : tag.attrib.version
> };
> {code}  
> The second problem is in the plugman installDependency method
> https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;a=blob;f=cordova-lib/src/plugman/install.js;h=fca77c688d2b8f19ce63cb176f50ecd44c9a9032;hb=HEAD#l603
> The dep_src is only constructed using the plugin id.
> This:
> {code}
> var dep_src = dep.url.length ? dep.url : dep.id;
> {code}
> Should look something like:
> {code}
> var dep_src;
> if (dep.url.length) {
> dep_src = dep.url;
> }
> else if (dep.version) {
> dep_src = dep.id + '@' + dep.version;
> } else {
> dep_src = dep.id;
> } 
> {code}
> With these changes the Cordova CLI correctly reports:
> Fetching plugin "cordova-plugin-file@^4.0.0" via npm



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

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



[jira] [Commented] (CB-10973) inAppBrowser for Windows Platform: wrong height of webview with location=yes

2017-05-10 Thread Roberto De Simone (JIRA)

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

Roberto De Simone commented on CB-10973:


IMO the issue is not solved. Please see screen shot. Now the gap is at the 
bottom. 


> inAppBrowser for Windows Platform: wrong height of webview with location=yes
> 
>
> Key: CB-10973
> URL: https://issues.apache.org/jira/browse/CB-10973
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 6.0.0
> Environment: Windows Phone 10, cordova-windows@4.3.1, 
> cordova-plugin-inappbrowser@1.2.1
>Reporter: Roberto De Simone
>Assignee: Sergey Shakhnazarov
>  Labels: Windows, triaged
> Attachments: inAppBrowser-wrong-height.png
>
>
> When setting location=yes, the height of the webview is by some pixels too 
> small. Please see attached screenshot with the green remarks.
> ref = cordova.InAppBrowser.open(h, '_blank', 'location=yes fullscreen=yes');



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

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



[jira] [Updated] (CB-10973) inAppBrowser for Windows Platform: wrong height of webview with location=yes

2017-05-10 Thread Roberto De Simone (JIRA)

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

Roberto De Simone updated CB-10973:
---
Attachment: wp_ss_20170510_0001.png

> inAppBrowser for Windows Platform: wrong height of webview with location=yes
> 
>
> Key: CB-10973
> URL: https://issues.apache.org/jira/browse/CB-10973
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 6.0.0
> Environment: Windows Phone 10, cordova-windows@4.3.1, 
> cordova-plugin-inappbrowser@1.2.1
>Reporter: Roberto De Simone
>Assignee: Sergey Shakhnazarov
>  Labels: Windows, triaged
> Attachments: inAppBrowser-wrong-height.png, wp_ss_20170510_0001.png
>
>
> When setting location=yes, the height of the webview is by some pixels too 
> small. Please see attached screenshot with the green remarks.
> ref = cordova.InAppBrowser.open(h, '_blank', 'location=yes fullscreen=yes');



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

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



[jira] [Comment Edited] (CB-10973) inAppBrowser for Windows Platform: wrong height of webview with location=yes

2017-05-10 Thread Roberto De Simone (JIRA)

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

Roberto De Simone edited comment on CB-10973 at 5/10/17 9:47 AM:
-

IMO the issue is not solved. Now the gap is at the bottom. Please see screen 
shot:

https://issues.apache.org/jira/secure/attachment/12867284/wp_ss_20170510_0001.png


was (Author: rdesimone):
IMO the issue is not solved. Please see screen shot. Now the gap is at the 
bottom. 


> inAppBrowser for Windows Platform: wrong height of webview with location=yes
> 
>
> Key: CB-10973
> URL: https://issues.apache.org/jira/browse/CB-10973
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Affects Versions: 6.0.0
> Environment: Windows Phone 10, cordova-windows@4.3.1, 
> cordova-plugin-inappbrowser@1.2.1
>Reporter: Roberto De Simone
>Assignee: Sergey Shakhnazarov
>  Labels: Windows, triaged
> Attachments: inAppBrowser-wrong-height.png, wp_ss_20170510_0001.png
>
>
> When setting location=yes, the height of the webview is by some pixels too 
> small. Please see attached screenshot with the green remarks.
> ref = cordova.InAppBrowser.open(h, '_blank', 'location=yes fullscreen=yes');



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

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



[jira] [Commented] (CB-10446) Windows 10 Cordova Application restart instead of resume

2017-05-10 Thread MikeGee (JIRA)

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

MikeGee commented on CB-10446:
--

Hello,

I'm facing the same issue, did someone manage to find what it was about please ?
Thanks a lot !

> Windows 10 Cordova Application restart instead of resume
> 
>
> Key: CB-10446
> URL: https://issues.apache.org/jira/browse/CB-10446
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-windows
>Affects Versions: 5.3.3
>Reporter: Boris Ordunez
>Assignee: Sergey Shakhnazarov
>  Labels: triaged
>
> Launch Universal Windows 10 app and suspended, then I click/tap from tiles 
> menu to open app again, and it restarts instead of resuming.



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

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



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

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user matrosov-nikita opened a pull request:

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

Improve logic for searching plugin id in case of module already exists in 
node_modules





### Platforms affected
all

### What does this PR do?
Steps to reproduce w/ `cordova-7.0.2-dev`
There is the issue with searching plugin id if the module already exists in 
node_modules.
1. `cordova create sample`
2. `cordova platform add android`
3. `cordova plugin add cordova-plugin-ms-adal`
4. `cordova plugin add ../azure-activedirectory-library-for-cordova` (use 
local folder)

Get error message:
```
cordova plugin add ..\azure-activedirectory-library-for-cordova\
Error: Failed to get absolute path to installed module
```
This error occurs since folder name in `node_modules` 
(`cordova-plugin-ms-adal`) differs from base name of installation folder 
(`azure-activedirectory-library-for-cordova`).

I'll create a new issue if this change is really needed.

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


### 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/matrosov-nikita/cordova-lib improve-trim-id

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

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


commit 32aa75fd68c5d13f0e6c973443bf053e648c99a6
Author: Nikita Matrosov 
Date:   2017-05-10T10:57:18Z

Improve logic for searching plugin id in case of module already exists in 
node_modules




> "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: cordova-blackberry (DEPRECATED), cordova-cli
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



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

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



[jira] [Commented] (CB-11875) Cordova-Plugin-Geolocation requires feature android.hardware.location.gps (android 21+)

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11875:
-

Github user Ganster41 commented on the issue:

https://github.com/apache/cordova-plugin-geolocation/pull/81
  
It's all ok, but why you declared it as required feature? In this way 
Google Play doesn't allow installing app with this plugin to devices without 
GPS. It can be fixed by adding android:required="false"


> Cordova-Plugin-Geolocation requires feature android.hardware.location.gps 
> (android 21+)
> ---
>
> Key: CB-11875
> URL: https://issues.apache.org/jira/browse/CB-11875
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-plugin-geolocation
>Reporter: Warren Parad
>Assignee: Audrey So
>  Labels: easyfix, newbie, patch
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hello Google Play Developer,
> We're writing to let you know that the apps listed at the end of this email 
> may be affected by an upcoming platform change.
> Action required: If your app requires GPS hardware to operate properly, you 
> will need to explicitly add the "android.hardware.location.gps" uses-feature 
> to your manifest.
> What’s changing
> We’re making a change on October 15th, 2016 that will affect apps targeting 
> API version 21 (Android 5.0, Lollipop) or higher that use 
> ACCESS_FINE_LOCATION but don't explicitly have the 
> "android.hardware.location.gps" uses-feature. Going forward, these apps will 
> be available to install on devices that don't have GPS hardware. In most 
> cases this won't be an issue since Wi-Fi and Cell-ID based location provides 
> high enough fidelity for the typical operation of these apps. However, any 
> apps that require GPS hardware, such as GPS navigators, should explicitly add 
> the *"android.hardware.location.gps" uses-feature* to their manifest.
> If your app requires GPS to function properly and you do not include 
> android.hardware.location.gps in your manifest declaration, your users may 
> have a poor app experience.
> Also, if you’re using the fused location provider and wish to receive the 
> most accurate location samples from GPS (i.e. with PRIORITY_HIGH_ACCURACY), 
> you must include the "android.hardware.location.gps" feature in your app’s 
> manifest to ensure that Google Play only distributes your app to devices with 
> GPS sensors.
> You can read more about this change in the Android Developers Help Center.
> Regards,
> The Google Play Team



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

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



[jira] [Commented] (CB-12673) ios platform does not build on Xcode 8.3.2

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12673:
-

Github user leshik commented on the issue:

https://github.com/apache/cordova-ios/pull/307
  
@shazron hi, doesn't work for me with latest cordova-ios@4.4.0 – same error 
(` file not found`).
What can I do to troubleshoot the issue?


> ios platform does not build on Xcode 8.3.2
> --
>
> Key: CB-12673
> URL: https://issues.apache.org/jira/browse/CB-12673
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>Priority: Blocker
> Fix For: cordova-ios@4.4.0
>
>
> Build error {{Cordova/CDVViewController.h file not found}}
> Turns out the {{CordovaLib.xcodeproj}} reference in the template's project is 
> not found. 
> Fix in the .pbxproj:
> Change 
> {code}
> { isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = 
> "CordovaLib.xcodeproj"; sourceTree = CORDOVALIB; };
> {code} 
> to 
> {code}
> { isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = 
> CordovaLib/CordovaLib.xcodeproj; sourceTree = ""; };
> {code}
> Note that I have {color:red}not{color} tested this change with an older Xcode 
> 8 (< 8.3.2), so that might complicate things.
> iOS platforms in the wild older than cordova-ios@4.4.0 will need a hook to 
> transform the pbxproj if the developer upgraded to Xcode 8.3.2



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

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



[jira] [Commented] (CB-12767) Cordova 7 fails to add android platform Windows 10

2017-05-10 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-12767:
-

glad --nofetch works for you. It doesn't solve the root problem you are having 
though. In cordova@8, --nofetch will disappear. 

> Cordova 7 fails to add android platform Windows 10
> --
>
> Key: CB-12767
> URL: https://issues.apache.org/jira/browse/CB-12767
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: cordova-7
> Environment: Windows 10
> Cordova 7
> npm 4.1.1
>Reporter: Phillip Whiteley
>
> Just upgraded to cordova 7 - hoping to fix my previous reported bug but 
> instead get new problem.. I have used cordova for years without any issues - 
> is this all because of Google? Appreciate any help..
> C:\Users\phil\Desktop\week9Tute\wk9app>cordova platform add android
> Using cordova-fetch for cordova-android@~6.2.2
> Error: Failed to fetch platform cordova-android@~6.2.2
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: cmd: Command failed with exit code 1 Error output:
> '"C:\Program Files\nodejs\npm"' is not recognized as an internal or external 
> command,
> operable program or batch file.



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

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



[jira] [Resolved] (CB-12773) cordova 7 incorrectly handles cordovaDependency, grabs wrong versions

2017-05-10 Thread Steve Gill (JIRA)

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

Steve Gill resolved CB-12773.
-
Resolution: Fixed

> cordova 7 incorrectly handles cordovaDependency, grabs wrong versions
> -
>
> Key: CB-12773
> URL: https://issues.apache.org/jira/browse/CB-12773
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 7.0.0
>Reporter: Steve Gill
>Assignee: Steve Gill
> Fix For: 7.0.2
>
>
> cordova plugin add phonegap-push-plugin
> Grabs an old version instead of latest even though cordovaDependency object 
> is correct.



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

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



[jira] [Created] (CB-12780) Add option to setMixedContentMode

2017-05-10 Thread Mike M. (JIRA)
Mike M. created CB-12780:


 Summary: Add option to setMixedContentMode
 Key: CB-12780
 URL: https://issues.apache.org/jira/browse/CB-12780
 Project: Apache Cordova
  Issue Type: New Feature
  Components: cordova-android
Affects Versions: 7.0.0
Reporter: Mike M.


We're currently developing an application that streams audio from a continuous 
stream over http. We have an existing web application served over https. The 
audio streams, which are built using HTML5 audio, are served in http only.

On Android, the WebView won't load our audio stream because of a mixed content 
error.

According to my research, this is because on Android, as of API level 20, the 
WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
(see the documentation 
[here|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)].
 This is especially frustrating as it doesn't match [what modern browsers 
do|https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content],
 which is to allow "passive" mixed content that doesn't interact with the page 
directly like audio/video streams. So in the end, the WebView doesn't behave 
like the browser, which breaks our application.

When I change the API target level to 19, the resource gets loaded 
successfully. However, sticking with API level 19 isn't a long-term solution. 

As seen in [the 
documentation|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)],
 there is a way to let Android treat mixed content like the browser, which 
involves setting the MixedContentMode WebSetting to 
{{MIXED_CONTENT_COMPATIBILITY_MODE}}. However, as I understand it (I'm new to 
Cordova), this would require me to add custom code to the generated android 
activity code, which is discouraged and which I would prefer not to do.

It would be nice if cordova-android added a configuration setting for mixed 
content which would get translated into setting the MixedContentMode 
WebSetting. It could look something like:

{{code}}



{{code}}

That would make the code more maintainable and expresses what we need concisely.



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

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



[jira] [Updated] (CB-12780) Add option to setMixedContentMode

2017-05-10 Thread Mike M. (JIRA)

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

Mike M. updated CB-12780:
-
Description: 
We're currently developing an application that streams audio from a continuous 
stream over http. We have an existing web application served over https. The 
audio streams, which are built using HTML5 audio, are served in http only.

On Android, the WebView won't load our audio stream because of a mixed content 
error.

According to my research, this is because on Android, as of API level 20, the 
WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
(see the documentation 
[here|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)].
 This is especially frustrating as it doesn't match [what modern browsers 
do|https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content],
 which is to allow "passive" mixed content that doesn't interact with the page 
directly like audio/video streams. So in the end, the WebView doesn't behave 
like the browser, which breaks our application.

When I change the API target level to 19, the resource gets loaded 
successfully. However, sticking with API level 19 isn't a long-term solution. 

As seen in [the 
documentation|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)],
 there is a way to let Android treat mixed content like the browser, which 
involves setting the MixedContentMode WebSetting to 
{{MIXED_CONTENT_COMPATIBILITY_MODE}}. However, as I understand it (I'm new to 
Cordova), this would require me to add custom code to the generated android 
activity code, which is discouraged and which I would prefer not to do.

It would be nice if cordova-android added a configuration setting for mixed 
content which would get translated into setting the MixedContentMode 
WebSetting. It could look something like:

{code:xml}



{code}

That would make the code more maintainable and expresses what we need concisely.

  was:
We're currently developing an application that streams audio from a continuous 
stream over http. We have an existing web application served over https. The 
audio streams, which are built using HTML5 audio, are served in http only.

On Android, the WebView won't load our audio stream because of a mixed content 
error.

According to my research, this is because on Android, as of API level 20, the 
WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
(see the documentation 
[here|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)].
 This is especially frustrating as it doesn't match [what modern browsers 
do|https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content],
 which is to allow "passive" mixed content that doesn't interact with the page 
directly like audio/video streams. So in the end, the WebView doesn't behave 
like the browser, which breaks our application.

When I change the API target level to 19, the resource gets loaded 
successfully. However, sticking with API level 19 isn't a long-term solution. 

As seen in [the 
documentation|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)],
 there is a way to let Android treat mixed content like the browser, which 
involves setting the MixedContentMode WebSetting to 
{{MIXED_CONTENT_COMPATIBILITY_MODE}}. However, as I understand it (I'm new to 
Cordova), this would require me to add custom code to the generated android 
activity code, which is discouraged and which I would prefer not to do.

It would be nice if cordova-android added a configuration setting for mixed 
content which would get translated into setting the MixedContentMode 
WebSetting. It could look something like:

{{code}}



{{code}}

That would make the code more maintainable and expresses what we need concisely.


> Add option to setMixedContentMode
> -
>
> Key: CB-12780
> URL: https://issues.apache.org/jira/browse/CB-12780
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.0
>Reporter: Mike M.
>
> We're currently developing an application that streams audio from a 
> continuous stream over http. We have an existing web application served over 
> https. The audio streams, which are built using HTML5 audio, are served in 
> http only.
> On Android, the WebView won't load our audio stream because of a mixed 
> content error.
> According to my research, this is because on Android, as of API level 20, the 
> WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
> (see the documentation 
> [here|https://developer.android.com/reference/

[jira] [Updated] (CB-12780) Add option to setMixedContentMode on Android

2017-05-10 Thread Mike M. (JIRA)

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

Mike M. updated CB-12780:
-
Summary: Add option to setMixedContentMode on Android  (was: Add option to 
setMixedContentMode)

> Add option to setMixedContentMode on Android
> 
>
> Key: CB-12780
> URL: https://issues.apache.org/jira/browse/CB-12780
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.0
>Reporter: Mike M.
>
> We're currently developing an application that streams audio from a 
> continuous stream over http. We have an existing web application served over 
> https. The audio streams, which are built using HTML5 audio, are served in 
> http only.
> On Android, the WebView won't load our audio stream because of a mixed 
> content error.
> According to my research, this is because on Android, as of API level 20, the 
> WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
> (see the documentation 
> [here|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)].
>  This is especially frustrating as it doesn't match [what modern browsers 
> do|https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content],
>  which is to allow "passive" mixed content that doesn't interact with the 
> page directly like audio/video streams. So in the end, the WebView doesn't 
> behave like the browser, which breaks our application.
> When I change the API target level to 19, the resource gets loaded 
> successfully. However, sticking with API level 19 isn't a long-term solution. 
> As seen in [the 
> documentation|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)],
>  there is a way to let Android treat mixed content like the browser, which 
> involves setting the MixedContentMode WebSetting to 
> {{MIXED_CONTENT_COMPATIBILITY_MODE}}. However, as I understand it (I'm new to 
> Cordova), this would require me to add custom code to the generated android 
> activity code, which is discouraged and which I would prefer not to do.
> It would be nice if cordova-android added a configuration setting for mixed 
> content which would get translated into setting the MixedContentMode 
> WebSetting. It could look something like:
> {code:xml}
> 
>  value="COMPATIBILITY_MODE" />
> 
> {code}
> That would make the code more maintainable and expresses what we need 
> concisely.



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

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



[jira] [Created] (CB-12781) BarcodeScanner plugin on ios does not dismiss the scan screen after user does not allow the permission

2017-05-10 Thread Jonathan Li (JIRA)
Jonathan Li created CB-12781:


 Summary: BarcodeScanner plugin on ios does not dismiss the scan 
screen after user does not allow the permission
 Key: CB-12781
 URL: https://issues.apache.org/jira/browse/CB-12781
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-ios
Affects Versions: 1.5.0, Master
 Environment: ios
Reporter: Jonathan Li


In ios cordova project with barcode scanner plugin, when first time running the 
app, and call the below method
cordova.plugins.barcodeScanner.scan()

The app will show a dialog to ask user whether allow to use camera or not, if 
user clicks "Do not allow" button, currently the permission dialog will 
dismiss, but the scan screen is still opened, and as the app cannot use camera, 
the user cannot do anything except for clicking the cancel button to cancel the 
operation.

This is not a user-friend behavior, as when user clicks "Do not allow", the 
user is already decided to cancel the operation, so the plugin should 
automatically cancel the scan request, and dismiss the scan screen and also 
return the cancel result to the cordova callback. There is no reason to still 
leave the scan screen opened and have to require user to click the cancel 
button to cancel the operation. 





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

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



[jira] [Commented] (CB-12781) BarcodeScanner plugin on ios does not dismiss the scan screen after user does not allow the permission

2017-05-10 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12781:
---

What plugin are you using? I'm guessing you're using 
https://github.com/phonegap/phonegap-plugin-barcodescanner, though? Issues with 
that plugin would be managed on that plugin's issue manager: 
https://github.com/phonegap/phonegap-plugin-barcodescanner/issues

> BarcodeScanner plugin on ios does not dismiss the scan screen after user does 
> not allow the permission
> --
>
> Key: CB-12781
> URL: https://issues.apache.org/jira/browse/CB-12781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 1.5.0, Master
> Environment: ios
>Reporter: Jonathan Li
>
> In ios cordova project with barcode scanner plugin, when first time running 
> the app, and call the below method
> cordova.plugins.barcodeScanner.scan()
> The app will show a dialog to ask user whether allow to use camera or not, if 
> user clicks "Do not allow" button, currently the permission dialog will 
> dismiss, but the scan screen is still opened, and as the app cannot use 
> camera, the user cannot do anything except for clicking the cancel button to 
> cancel the operation.
> This is not a user-friend behavior, as when user clicks "Do not allow", the 
> user is already decided to cancel the operation, so the plugin should 
> automatically cancel the scan request, and dismiss the scan screen and also 
> return the cancel result to the cordova callback. There is no reason to still 
> leave the scan screen opened and have to require user to click the cancel 
> button to cancel the operation. 



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

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



[jira] [Commented] (CB-12780) Add option to setMixedContentMode on Android

2017-05-10 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12780:
---

Not saying whether or not this should be addressed in Cordova core, but you 
might try creating a plugin that changes the setting. Plugins let you use 
native code without the same concern you have when editing code in the 
platforms/ directory (which could get overwritten), especially given that you 
can save plugins to the config and restore them on prepare.

> Add option to setMixedContentMode on Android
> 
>
> Key: CB-12780
> URL: https://issues.apache.org/jira/browse/CB-12780
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.0
>Reporter: Mike M.
>
> We're currently developing an application that streams audio from a 
> continuous stream over http. We have an existing web application served over 
> https. The audio streams, which are built using HTML5 audio, are served in 
> http only.
> On Android, the WebView won't load our audio stream because of a mixed 
> content error.
> According to my research, this is because on Android, as of API level 20, the 
> WebView gets a mixedContentMode of {{MIXED_CONTENT_NEVER_ALLOW}} by default 
> (see the documentation 
> [here|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)].
>  This is especially frustrating as it doesn't match [what modern browsers 
> do|https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content],
>  which is to allow "passive" mixed content that doesn't interact with the 
> page directly like audio/video streams. So in the end, the WebView doesn't 
> behave like the browser, which breaks our application.
> When I change the API target level to 19, the resource gets loaded 
> successfully. However, sticking with API level 19 isn't a long-term solution. 
> As seen in [the 
> documentation|https://developer.android.com/reference/android/webkit/WebSettings.html#setMixedContentMode(int)],
>  there is a way to let Android treat mixed content like the browser, which 
> involves setting the MixedContentMode WebSetting to 
> {{MIXED_CONTENT_COMPATIBILITY_MODE}}. However, as I understand it (I'm new to 
> Cordova), this would require me to add custom code to the generated android 
> activity code, which is discouraged and which I would prefer not to do.
> It would be nice if cordova-android added a configuration setting for mixed 
> content which would get translated into setting the MixedContentMode 
> WebSetting. It could look something like:
> {code:xml}
> 
>  value="COMPATIBILITY_MODE" />
> 
> {code}
> That would make the code more maintainable and expresses what we need 
> concisely.



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

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



[jira] [Commented] (CB-12779) StatusBarOverlaysWebView to false does not work on iOS 10.3

2017-05-10 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12779:
---

What version of the Status Bar plugin are you using? What code are you using to 
set this to {{false}}?

Do you have other plugins installed? Do they work after moving to 10.3?

> StatusBarOverlaysWebView to false does not work on iOS 10.3
> ---
>
> Key: CB-12779
> URL: https://issues.apache.org/jira/browse/CB-12779
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-statusbar
>Reporter: Thomas Fétiveau
>
> After upgrading iPhone to iOS 10.3, the status bar plugin setting 
> StatusBarOverlaysWebView set to false does not work anymore.



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

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



[jira] [Commented] (CB-12778) Photo album pictures keep saving with saveToPhotoAlbum: false

2017-05-10 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12778:
---

Are you using Ionic?

> Photo album pictures keep saving with saveToPhotoAlbum: false
> -
>
> Key: CB-12778
> URL: https://issues.apache.org/jira/browse/CB-12778
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-camera
> Environment: Android 6.0.1 / Moto G4 Play Harpia
>Reporter: Rodinei Fagundes
>
> If getPicture is called right after another getPicture, the image continues 
> on photo album even with the saveToPhotoAlbum: false.
> {code:javascript}
> get cameraOptions(): CameraOptions {
> return {
>   allowEdit: false,
>   destinationType: this.camera.DestinationType.NATIVE_URI,
>   encodingType: this.camera.EncodingType.JPEG,
>   quality: 100,
>   saveToPhotoAlbum: false,
>   sourceType: this.camera.PictureSourceType.CAMERA,
>   targetHeight: 800,
>   targetWidth: 800
> };
> }
> public takePicture(): Promise {
>   return this.camera.getPicture(this.cameraOptions);
> }
> // From my component
> takePicture() {
>   this.cameraService.takePicture().then(img => {
> this.addToGallery(img);
> this.takePicture();
>   });
> }
> {code}



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

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



[jira] [Commented] (CB-12777) Remove unneeded fixtures from cordova-lib

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12777:
-

GitHub user audreyso opened a pull request:

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

CB-12777 : Removed unneeded fixtures in cordova-lib



### Platforms affected


### What does this PR do?
Removed unneeded fixtures in cordova-lib.

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


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


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

$ git pull https://github.com/audreyso/cordova-lib CB-12777

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

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


commit 664c77cb6c27d49e7467435479d3b32e5714180a
Author: Audrey So 
Date:   2017-05-09T18:22:05Z

CB-12777 : removed android_uninstall fixtures

commit 01a519d367627492035a02d62ebcb71f473729eb
Author: Audrey So 
Date:   2017-05-09T18:38:48Z

CB-12777 : removed android_install fixtures

commit 6b77fa00692fabfe9dcf4df4aa09f69a4db71316
Author: Audrey So 
Date:   2017-05-09T23:07:53Z

CB-12777 : removed android one and android two and no perms fixtures

commit 598129c776ee48a9e9c9d3200e2d4cba0d93bacb
Author: Audrey So 
Date:   2017-05-09T23:39:11Z

CB-12777 : removed android-lib

commit 618b3a52623b7e0b3e804c02cd2c426fdaf21571
Author: Audrey So 
Date:   2017-05-09T23:56:30Z

CB-12777 : removed android, ios, and windows projects fixtures




> Remove unneeded fixtures from cordova-lib
> -
>
> Key: CB-12777
> URL: https://issues.apache.org/jira/browse/CB-12777
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Priority: Minor
>  Labels: cordova-lib, cordova7
> Fix For: cordova7
>
>
> Remove unneeded fixtures from cordova-lib



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

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



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

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-3232:


GitHub user spardo6 opened a pull request:

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

solution error: Build failed with an exception



### Platforms affected


### What does this PR do?


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


### 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/spardo6/cordova-plugin-camera master

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

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


commit 167c2a1c32cfe78399bc09be11176cf22bfa04fb
Author: Steven Pardo 
Date:   2017-05-10T16:23:09Z

solution error: Build failed with an exception




> "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: cordova-blackberry (DEPRECATED), cordova-cli
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



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

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



[jira] [Assigned] (CB-12777) Remove unneeded fixtures from cordova-lib

2017-05-10 Thread Audrey So (JIRA)

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

Audrey So reassigned CB-12777:
--

Assignee: Audrey So

> Remove unneeded fixtures from cordova-lib
> -
>
> Key: CB-12777
> URL: https://issues.apache.org/jira/browse/CB-12777
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Assignee: Audrey So
>Priority: Minor
>  Labels: cordova-lib, cordova7
> Fix For: cordova7
>
>
> Remove unneeded fixtures from cordova-lib



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

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



[jira] [Commented] (CB-12777) Remove unneeded fixtures from cordova-lib

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12777:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-lib/pull/556
  
# [Codecov](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=h1) 
Report
> Merging 
[#556](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=desc) into 
[master](https://codecov.io/gh/apache/cordova-lib/commit/3962053f7f5c7c65259f9926a220671595c6d944?src=pr&el=desc)
 will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree 
graph](https://codecov.io/gh/apache/cordova-lib/pull/556/graphs/tree.svg?token=KwBjKMXLqA&src=pr&height=150&width=650)](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=tree)

```diff
@@   Coverage Diff   @@
##   master #556   +/-   ##
===
  Coverage   79.48%   79.48%   
===
  Files  57   57   
  Lines3944 3944   
  Branches  828  828   
===
  Hits 3135 3135   
  Misses809  809
```



--

[Continue to review full report at 
Codecov](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=continue).
> **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
> Powered by 
[Codecov](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=footer). 
Last update 
[3962053...618b3a5](https://codecov.io/gh/apache/cordova-lib/pull/556?src=pr&el=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).



> Remove unneeded fixtures from cordova-lib
> -
>
> Key: CB-12777
> URL: https://issues.apache.org/jira/browse/CB-12777
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Assignee: Audrey So
>Priority: Minor
>  Labels: cordova-lib, cordova7
> Fix For: cordova7
>
>
> Remove unneeded fixtures from cordova-lib



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

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



[jira] [Commented] (CB-12778) Photo album pictures keep saving with saveToPhotoAlbum: false

2017-05-10 Thread Rodinei Fagundes (JIRA)

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

Rodinei Fagundes commented on CB-12778:
---

Yes


> Photo album pictures keep saving with saveToPhotoAlbum: false
> -
>
> Key: CB-12778
> URL: https://issues.apache.org/jira/browse/CB-12778
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-camera
> Environment: Android 6.0.1 / Moto G4 Play Harpia
>Reporter: Rodinei Fagundes
>
> If getPicture is called right after another getPicture, the image continues 
> on photo album even with the saveToPhotoAlbum: false.
> {code:javascript}
> get cameraOptions(): CameraOptions {
> return {
>   allowEdit: false,
>   destinationType: this.camera.DestinationType.NATIVE_URI,
>   encodingType: this.camera.EncodingType.JPEG,
>   quality: 100,
>   saveToPhotoAlbum: false,
>   sourceType: this.camera.PictureSourceType.CAMERA,
>   targetHeight: 800,
>   targetWidth: 800
> };
> }
> public takePicture(): Promise {
>   return this.camera.getPicture(this.cameraOptions);
> }
> // From my component
> takePicture() {
>   this.cameraService.takePicture().then(img => {
> this.addToGallery(img);
> this.takePicture();
>   });
> }
> {code}



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

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



[jira] [Commented] (CB-12777) Remove unneeded fixtures from cordova-lib

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12777:
-

Github user filmaj commented on the issue:

https://github.com/apache/cordova-lib/pull/556
  
I love the smell of deleted code in the morning.


> Remove unneeded fixtures from cordova-lib
> -
>
> Key: CB-12777
> URL: https://issues.apache.org/jira/browse/CB-12777
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-lib
>Affects Versions: cordova7
>Reporter: Audrey So
>Assignee: Audrey So
>Priority: Minor
>  Labels: cordova-lib, cordova7
> Fix For: cordova7
>
>
> Remove unneeded fixtures from cordova-lib



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

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



[jira] [Commented] (CB-12781) BarcodeScanner plugin on ios does not dismiss the scan screen after user does not allow the permission

2017-05-10 Thread Jonathan Li (JIRA)

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

Jonathan Li commented on CB-12781:
--

Yes. 
I will create an issue there and close this one.

Thanks
Jonathan

> BarcodeScanner plugin on ios does not dismiss the scan screen after user does 
> not allow the permission
> --
>
> Key: CB-12781
> URL: https://issues.apache.org/jira/browse/CB-12781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 1.5.0, Master
> Environment: ios
>Reporter: Jonathan Li
>
> In ios cordova project with barcode scanner plugin, when first time running 
> the app, and call the below method
> cordova.plugins.barcodeScanner.scan()
> The app will show a dialog to ask user whether allow to use camera or not, if 
> user clicks "Do not allow" button, currently the permission dialog will 
> dismiss, but the scan screen is still opened, and as the app cannot use 
> camera, the user cannot do anything except for clicking the cancel button to 
> cancel the operation.
> This is not a user-friend behavior, as when user clicks "Do not allow", the 
> user is already decided to cancel the operation, so the plugin should 
> automatically cancel the scan request, and dismiss the scan screen and also 
> return the cancel result to the cordova callback. There is no reason to still 
> leave the scan screen opened and have to require user to click the cancel 
> button to cancel the operation. 



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

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



[jira] [Closed] (CB-12781) BarcodeScanner plugin on ios does not dismiss the scan screen after user does not allow the permission

2017-05-10 Thread Jonathan Li (JIRA)

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

Jonathan Li closed CB-12781.

   Resolution: Duplicate
Fix Version/s: Master

Close the issue as duplicated with 
https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/464

> BarcodeScanner plugin on ios does not dismiss the scan screen after user does 
> not allow the permission
> --
>
> Key: CB-12781
> URL: https://issues.apache.org/jira/browse/CB-12781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: 1.5.0, Master
> Environment: ios
>Reporter: Jonathan Li
> Fix For: Master
>
>
> In ios cordova project with barcode scanner plugin, when first time running 
> the app, and call the below method
> cordova.plugins.barcodeScanner.scan()
> The app will show a dialog to ask user whether allow to use camera or not, if 
> user clicks "Do not allow" button, currently the permission dialog will 
> dismiss, but the scan screen is still opened, and as the app cannot use 
> camera, the user cannot do anything except for clicking the cancel button to 
> cancel the operation.
> This is not a user-friend behavior, as when user clicks "Do not allow", the 
> user is already decided to cancel the operation, so the plugin should 
> automatically cancel the scan request, and dismiss the scan screen and also 
> return the cancel result to the cordova callback. There is no reason to still 
> leave the scan screen opened and have to require user to click the cancel 
> button to cancel the operation. 



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

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



[jira] [Commented] (CB-10033) new resizable cropping rectangle instead of Apple's standard square

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10033:
-

Github user cordova-qa commented on the issue:

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

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-camera/pull/131/commits/404b5687f7cdcd699a41faa8466ee3ab8ecbadbe)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-camera-pr/167/)

 0 tests run, 0 skipped, 0 failed.



> new resizable cropping rectangle instead of Apple's standard square
> ---
>
> Key: CB-10033
> URL: https://issues.apache.org/jira/browse/CB-10033
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-plugin-camera
> Environment: iOS
>Reporter: Manfred Wühr
>Priority: Minor
>  Labels: feature, iOS
>
> On iOS there's only that very insufficient inflexible cropping square – 
> compared to Android or WinMobile – which moreover obviously doesn’t work 
> properly (see CB-9930, CB-2648).
> As we need a flexible, sizable rectangle, we implemented that in our fork of 
> the camera plugin.
> And with that we even already submitted a [pull 
> request|https://github.com/apache/cordova-plugin-camera/pull/131].
> (being very new to Cordova we didn’t realize, that there obviously has to be 
> such a JIRA issue, before).
> To be downward compatible and to not urge others, for whom that square may be 
> sufficient, it is made parametrizable via a new preference (as this is iOS 
> specific and nothing that has to be changeable at runtime), defaulting to 
> false.
> If the plugin is called with option allowEdit == true, then setting this new 
> preference to true suppresses that standard (fairly useless) square for 
> cropping the photo, even suppresses the (then also useless) view of the photo 
> with the "Retake"- and "Use Photo"-buttons, but instead offers a resizable 
> cropping rectangle (with "Redo" and "Save“).
> More detail about how it’s implemented can be found in the comment of the 
> mentioned pull request;
> and as there already started a discussion, I added more detail and thoughts 
> [here|https://github.com/apache/cordova-plugin-camera/pull/131#issuecomment-156117731]
>  and 
> [here|https://github.com/apache/cordova-plugin-camera/pull/131#issuecomment-156988289].
> We think others could use and want that, too – in the standard plug in.
> Yes, it is platform specific, but on Android and WinMobile it’s already 
> possible to crop with a flexible rectangle (somehow – knowing, that Android 
> also isn’t really satisfying).
> I also emailed d...@cordova.apache.org with a 
> [proposal|http://callback.markmail.org/thread/5bjkv4ukymo6ybot].



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

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



[jira] [Updated] (CB-12397) fix .gitignore for plugins & platforms in app template

2017-05-10 Thread Chris Brody (JIRA)

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

Chris Brody updated CB-12397:
-
Summary: fix .gitignore for plugins & platforms in app template  (was: add 
.gitignore for plugins & platforms to app template)

> fix .gitignore for plugins & platforms in app template
> --
>
> Key: CB-12397
> URL: https://issues.apache.org/jira/browse/CB-12397
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-app-hello-world, cordova-cli, cordova-create, 
> cordova-lib
>Reporter: Chris Brody
>
> Followup to CB-12008 (autosave by default in cordova@7): if a user creates an 
> app using "cordova create" there should be a .gitignore file to exclude the 
> plugins and platforms artifacts from git.
> I raise this since I have seen way too many apps with outdated plugins / 
> platforms artifacts included in git.



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

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



[jira] [Commented] (CB-12668) support arbitrary creation of resources in the Asset Catalog

2017-05-10 Thread Josh Sharpe (JIRA)

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

Josh Sharpe commented on CB-12668:
--

[~dpa99c] Thank you!

> support arbitrary creation of resources in the Asset Catalog
> 
>
> Key: CB-12668
> URL: https://issues.apache.org/jira/browse/CB-12668
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-ios
>Affects Versions: 3.6.4
>Reporter: Josh Sharpe
>Priority: Critical
>  Labels: cordova-ios
>
> A handful of plugins* recommend the use of an image/asset out of the Asset 
> Catalog.  It would be great if we could create those just by setting tags in 
> config.xml, similar to  and  that then generate the resource in 
> Xcode.
> My specific use case is to add a "back" image to be used by 
> 'cordova-plugin-themeablebrowser'.  I can do this manually by:
> - opening xCode
> - Click on Project -> Resources -> Image.xcassets
> - Click '+' in the bottom task bar -> New Image Set
> - Rename the new Set 'back'
> - Manually drag and drop 3 images into xcode
> To be clear - I'm not asking that cordova produce different sized images as I 
> believe that's out of scope.  I just need it to build the new resource in 
> xcode referencing certain files on disk with tags like:
> 
>   
>   
>   
>  * Example plugins:
> https://github.com/arnesson/cordova-plugin-firebase
> https://github.codifferent m/phonegap/phonegap-plugin-push
> https://github.com/initialxy/cordova-plugin-themeablebrowser
> **Bonus!**
> It'd be extra great, since I'm sure some folks want this, if cordova could 
> add sound files to be used by firebase/push plugins that can leverage those 
> if they exist, but I'm not sure how those get set up in xcode such that 
> phonegap-plugin-push can use them.



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

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



[jira] [Commented] (CB-12397) fix .gitignore for plugins & platforms in app template

2017-05-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12397:
-

GitHub user brodybits opened a pull request:

https://github.com/apache/cordova-app-hello-world/pull/19

CB-12397 fix .gitignore for plugins & platforms



### Platforms affected

All

### What does this PR do?

Add `plugins` and `platforms` to `.gitignore` to resolve [Apache Cordova 
CB-12397](https://issues.apache.org/jira/browse/CB-12397), now working if 
properly integrated with apache/cordova-create#8 (workaround solution to 
[Apache Cordova CB-12397](https://issues.apache.org/jira/browse/CB-12397) in 
`cordova-create`).

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

As described in : tested 
using local installation of 
.

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

**NOT RELEVANT in this PR:**
- ~~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/brodybits/cordova-app-hello-world cb-12397

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

https://github.com/apache/cordova-app-hello-world/pull/19.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 #19


commit f7c85137256e050856e8fe9341ed3b2ba0c319f1
Author: Christopher J. Brody 
Date:   2017-05-09T13:11:49Z

CB-12397 fix .gitignore for plugins & platforms




> fix .gitignore for plugins & platforms in app template
> --
>
> Key: CB-12397
> URL: https://issues.apache.org/jira/browse/CB-12397
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: cordova-app-hello-world, cordova-cli, cordova-create, 
> cordova-lib
>Reporter: Chris Brody
>
> Followup to CB-12008 (autosave by default in cordova@7): if a user creates an 
> app using "cordova create" there should be a .gitignore file to exclude the 
> plugins and platforms artifacts from git.
> I raise this since I have seen way too many apps with outdated plugins / 
> platforms artifacts included in git.



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

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



[jira] [Created] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.

2017-05-10 Thread Xu Chao (JIRA)
Xu Chao created CB-12782:


 Summary: [Windows] Install cordova plugins from private gitlab 
repository failed with status code 406. 
 Key: CB-12782
 URL: https://issues.apache.org/jira/browse/CB-12782
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-cli, cordova-plugins, cordova-windows
Affects Versions: 7.0.0
 Environment: Windows 7
node v6.10.3
npm v3.10.10
cordova 7.0.0
Reporter: Xu Chao


When I install a cordova plugin from a private gitlab repositroy in Windows, I 
get a HTTP 406 error.  However, the same plugin can be installed successfully 
in Mac. I also tried the other two windows PC, but  without luck.

The command I used:
cordova plugin add http://{mygitlabhost}/{pluginpath}.git

The errors from the console:

Error: Failed to fetch plugin http://XXX/cordova-plugi
n-statusbar.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! fetch failed http://XXX/cordova-plugin-status
bar.git
npm WARN retry will retry, error on last attempt: Error: fetch failed with statu
s code 406



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

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



[jira] [Updated] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.

2017-05-10 Thread Xu Chao (JIRA)

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

Xu Chao updated CB-12782:
-
Labels: install plugins  (was: plugins)

> [Windows] Install cordova plugins from private gitlab repository failed with 
> status code 406. 
> --
>
> Key: CB-12782
> URL: https://issues.apache.org/jira/browse/CB-12782
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-plugins, cordova-windows
>Affects Versions: 7.0.0
> Environment: Windows 7
> node v6.10.3
> npm v3.10.10
> cordova 7.0.0
>Reporter: Xu Chao
>  Labels: install, plugins
>
> When I install a cordova plugin from a private gitlab repositroy in Windows, 
> I get a HTTP 406 error.  However, the same plugin can be installed 
> successfully in Mac. I also tried the other two windows PC, but  without luck.
> The command I used:
> cordova plugin add http://{mygitlabhost}/{pluginpath}.git
> The errors from the console:
> Error: Failed to fetch plugin http://XXX/cordova-plugi
> n-statusbar.git via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 1 Error output:
> npm ERR! fetch failed http://XXX/cordova-plugin-status
> bar.git
> npm WARN retry will retry, error on last attempt: Error: fetch failed with 
> statu
> s code 406



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

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



[jira] [Created] (CB-12783) SDK can't used. miss package.json. block users. please Expedited

2017-05-10 Thread sanbo (JIRA)
sanbo created CB-12783:
--

 Summary: SDK can't used. miss package.json. block users. please 
Expedited
 Key: CB-12783
 URL: https://issues.apache.org/jira/browse/CB-12783
 Project: Apache Cordova
  Issue Type: New Feature
  Components: cordova-android
Affects Versions: 7.0.2
 Environment: mac 10.xx
Reporter: sanbo
Priority: Blocker


 hi:
I'm a sdk developer.  my sdk contains plugin.xml/src/www not contain  
package.json. after new version (7.0), can't work. error log:
Error: Invalid Plugin! ../sdk/ needs a valid package.json



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

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



[jira] [Commented] (CB-12783) SDK can't used. miss package.json. block users. please Expedited

2017-05-10 Thread sanbo (JIRA)

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

sanbo commented on CB-12783:


what can I do?  how can i do about the user not update so much?

> SDK can't used. miss package.json. block users. please Expedited
> 
>
> Key: CB-12783
> URL: https://issues.apache.org/jira/browse/CB-12783
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.2
> Environment: mac 10.xx
>Reporter: sanbo
>Priority: Blocker
>   Original Estimate: 3h 32m
>  Remaining Estimate: 3h 32m
>
>  hi:
> I'm a sdk developer.  my sdk contains plugin.xml/src/www not contain  
> package.json. after new version (7.0), can't work. error log:
> Error: Invalid Plugin! ../sdk/ needs a valid package.json



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

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



[jira] [Commented] (CB-12783) SDK can't used. miss package.json. block users. please Expedited

2017-05-10 Thread sanbo (JIRA)

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

sanbo commented on CB-12783:


Just waitting for you~ please

> SDK can't used. miss package.json. block users. please Expedited
> 
>
> Key: CB-12783
> URL: https://issues.apache.org/jira/browse/CB-12783
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-android
>Affects Versions: 7.0.2
> Environment: mac 10.xx
>Reporter: sanbo
>Priority: Blocker
>   Original Estimate: 3h 32m
>  Remaining Estimate: 3h 32m
>
>  hi:
> I'm a sdk developer.  my sdk contains plugin.xml/src/www not contain  
> package.json. after new version (7.0), can't work. error log:
> Error: Invalid Plugin! ../sdk/ needs a valid package.json



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

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



[jira] [Updated] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.

2017-05-10 Thread Xu Chao (JIRA)

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

Xu Chao updated CB-12782:
-
Labels: plugins  (was: install plugins)

> [Windows] Install cordova plugins from private gitlab repository failed with 
> status code 406. 
> --
>
> Key: CB-12782
> URL: https://issues.apache.org/jira/browse/CB-12782
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-plugins, cordova-windows
>Affects Versions: 7.0.0
> Environment: Windows 7
> node v6.10.3
> npm v3.10.10
> cordova 7.0.0
>Reporter: Xu Chao
>  Labels: plugins
>
> When I install a cordova plugin from a private gitlab repositroy in Windows, 
> I get a HTTP 406 error.  However, the same plugin can be installed 
> successfully in Mac. I also tried the other two windows PC, but  without luck.
> The command I used:
> cordova plugin add http://{mygitlabhost}/{pluginpath}.git
> The errors from the console:
> Error: Failed to fetch plugin http://XXX/cordova-plugi
> n-statusbar.git via registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 1 Error output:
> npm ERR! fetch failed http://XXX/cordova-plugin-status
> bar.git
> npm WARN retry will retry, error on last attempt: Error: fetch failed with 
> statu
> s code 406



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

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



[jira] [Updated] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406.

2017-05-10 Thread Xu Chao (JIRA)

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

Xu Chao updated CB-12782:
-
Description: 
When I install a cordova plugin from a private gitlab repositroy in Windows, I 
get a HTTP 406 error. 
However, the same plugin can be installed successfully in Mac. 
I also tried the other two windows PC, but  without luck.

The command I used:
{quote}
cordova plugin add http:///XXX/cordova-plugin-statusbar.git
{quote}

The errors from the console:
{quote}
Error: Failed to fetch plugin http://XXX/cordova-plugin-statusbar.git via 
registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! fetch failed http://XXX/cordova-plugin-statusbar.git
npm WARN retry will retry, error on last attempt: Error: fetch failed with 
status code 406
{quote}

  was:
When I install a cordova plugin from a private gitlab repositroy in Windows, I 
get a HTTP 406 error.  However, the same plugin can be installed successfully 
in Mac. I also tried the other two windows PC, but  without luck.

The command I used:
cordova plugin add http://{mygitlabhost}/{pluginpath}.git

The errors from the console:

Error: Failed to fetch plugin http://XXX/cordova-plugi
n-statusbar.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! fetch failed http://XXX/cordova-plugin-status
bar.git
npm WARN retry will retry, error on last attempt: Error: fetch failed with statu
s code 406


> [Windows] Install cordova plugins from private gitlab repository failed with 
> status code 406. 
> --
>
> Key: CB-12782
> URL: https://issues.apache.org/jira/browse/CB-12782
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-plugins, cordova-windows
>Affects Versions: 7.0.0
> Environment: Windows 7
> node v6.10.3
> npm v3.10.10
> cordova 7.0.0
>Reporter: Xu Chao
>  Labels: plugins
>
> When I install a cordova plugin from a private gitlab repositroy in Windows, 
> I get a HTTP 406 error. 
> However, the same plugin can be installed successfully in Mac. 
> I also tried the other two windows PC, but  without luck.
> The command I used:
> {quote}
> cordova plugin add http:///XXX/cordova-plugin-statusbar.git
> {quote}
> The errors from the console:
> {quote}
> Error: Failed to fetch plugin http://XXX/cordova-plugin-statusbar.git via 
> registry.
> Probably this is either a connection problem, or plugin spec is incorrect.
> Check your connection and plugin name/version/URL.
> Error: cmd: Command failed with exit code 1 Error output:
> npm ERR! fetch failed http://XXX/cordova-plugin-statusbar.git
> npm WARN retry will retry, error on last attempt: Error: fetch failed with 
> status code 406
> {quote}



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

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