[jira] [Commented] (CB-11554) too "brutal" app reload when title is empty

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11554:
-

GitHub user shazron opened a pull request:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/16

CB-11554 - too 'brutal' app reload when title is empty



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

$ git pull https://github.com/shazron/cordova-plugin-wkwebview-engine 
CB-11554

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

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/16.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 #16


commit 6d39ff1fa0a27aeefdfb1e36af49481f18279b98
Author: Shazron Abdullah 
Date:   2016-08-27T01:05:22Z

CB-11554 - too 'brutal' app reload when title is empty




> too "brutal" app reload when title is empty
> ---
>
> Key: CB-11554
> URL: https://issues.apache.org/jira/browse/CB-11554
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin WKWebViewEngine
>Affects Versions: 1.0.4-dev
>Reporter: Philippe Wang
>Assignee: Shazron Abdullah
>  Labels: iOS, ios, regression, triaged
>
> This patch 
> https://github.com/apache/cordova-plugin-wkwebview-engine/commit/815ed0741b9ae30b343d6429bd8ff2ad37ec5790
> introduces {if title is empty then reload the app}.
> It was really hard for me to find the reason why the app I'm working on kept 
> reloading on each resume, while I had an older build of my app not having 
> this bad feature. Shouldn't there be at least a warning message explaining 
> why the app reloads? It'd be even better to find some better criteria.



--
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-11554) too "brutal" app reload when title is empty

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11554:
---

Circular load is fine for about:blank since it should only be triggered on 
foreground enter (thus no crazy infinite loop), and load time is negligible 
since its blank of course.

> too "brutal" app reload when title is empty
> ---
>
> Key: CB-11554
> URL: https://issues.apache.org/jira/browse/CB-11554
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin WKWebViewEngine
>Affects Versions: 1.0.4-dev
>Reporter: Philippe Wang
>Assignee: Shazron Abdullah
>  Labels: iOS, ios, regression, triaged
>
> This patch 
> https://github.com/apache/cordova-plugin-wkwebview-engine/commit/815ed0741b9ae30b343d6429bd8ff2ad37ec5790
> introduces {if title is empty then reload the app}.
> It was really hard for me to find the reason why the app I'm working on kept 
> reloading on each resume, while I had an older build of my app not having 
> this bad feature. Shouldn't there be at least a warning message explaining 
> why the app reloads? It'd be even better to find some better criteria.



--
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-9888) WKWebView on iOS9 on iPhone 5 (32-bit phone) - occasionally resets view

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9888:


Github user shazron commented on the issue:

https://github.com/apache/cordova-plugin-wkwebview-engine/pull/11
  
Filed https://github.com/apache/cordova-plugin-wkwebview-engine/pull/16


> WKWebView on iOS9 on iPhone 5 (32-bit phone) - occasionally resets view
> ---
>
> Key: CB-9888
> URL: https://issues.apache.org/jira/browse/CB-9888
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin WKWebViewEngine
>Affects Versions: 4.0.0
> Environment: iphone 5, ios9.1
>Reporter: Jan Pittner
>Assignee: Shazron Abdullah
>
>  Occasionally the entire web view is cleared. White screen. Plugins and other 
> components remain unaffected. Observed when playing background audio (via 
> CDVSound), going to background, and running other apps. Audio continues 
> uninterrupted, but bringing the app to foreground reveals white screen.
> It appears to be related to an issue with the XPC connection being lost 
> between the app and the wkwebview (log in XCode mentioned the XPC connection 
> being interrupted). (see also: 
> http://stackoverflow.com/questions/25854143/wkwebview-intermittent-blank-screen-issue
>  )
> The plugin should detect if the WKWebView has reset and reload the app. 



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 42b279b911c4b20689290f55ecb849905d3f1673 in cordova-plugin-media's 
branch refs/heads/master from [~alsorokin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=42b279b ]

CB-11380 (ios) Updated modified method signature in the .h file


> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



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

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



[jira] [Closed] (CB-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread Alexander Sorokin (JIRA)

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

Alexander Sorokin closed CB-11380.
--
Resolution: Fixed

> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11757) media.stop() should call error callback when called in MEDIA_STARTING state

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11757:
-

Github user cordova-qa commented on the issue:

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

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-media/pull/113/commits/ad047a1b26228717c4226289a0c4772eb02dc677)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/73/)

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



> media.stop() should call error callback when called in MEDIA_STARTING state
> ---
>
> Key: CB-11757
> URL: https://issues.apache.org/jira/browse/CB-11757
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS, Plugin Media
>Affects Versions: Master
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> On iOS, when calling media.stop() when media is in state MEDIA_STARTING (for 
> example, the player is caching media file), we don't get any callback. And 
> then, when the caching is completed, the media actually starts playing.
> The proposed fix is that when media.stop() is called in an invalid state, the 
> plugin should send an error callback with the code MEDIA_ERR_NONE_ACTIVE
> Another approach would be to stop the playback as soon as the player finishes 
> caching. One possible advantage of this over the proposed fix would be that 
> MEDIA_ERR_NONE_ACTIVE is not in w3c spec:
> https://dev.w3.org/html5/spec-author-view/video.html#error-codes



--
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-11757) media.stop() should call error callback when called in MEDIA_STARTING state

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11757:
-

GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-media/pull/113

CB-11757 (ios) Error out if trying to stop playback while in a wrong …


### Platforms affected
ios

### What does this PR do?
https://issues.apache.org/jira/browse/CB-11757
Makes ios implementation to send error callback when trying to stop the 
playback when the avPlayer is not yet ready.

### What testing has been done on this change?
Manual and automated testing on iPad 2 with iOS 8.1
Also ran modified automated tests on Android 4.4 Emulator and on desktop 
Windows 10.

### Checklist
- [x] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to secret...@apache.org.
- [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/alsorokin/cordova-plugin-media CB-11757

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

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


commit ad047a1b26228717c4226289a0c4772eb02dc677
Author: Alexander Sorokin 
Date:   2016-08-26T09:48:50Z

CB-11757 (ios) Error out if trying to stop playback while in a wrong state




> media.stop() should call error callback when called in MEDIA_STARTING state
> ---
>
> Key: CB-11757
> URL: https://issues.apache.org/jira/browse/CB-11757
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS, Plugin Media
>Affects Versions: Master
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> On iOS, when calling media.stop() when media is in state MEDIA_STARTING (for 
> example, the player is caching media file), we don't get any callback. And 
> then, when the caching is completed, the media actually starts playing.
> The proposed fix is that when media.stop() is called in an invalid state, the 
> plugin should send an error callback with the code MEDIA_ERR_NONE_ACTIVE
> Another approach would be to stop the playback as soon as the player finishes 
> caching. One possible advantage of this over the proposed fix would be that 
> MEDIA_ERR_NONE_ACTIVE is not in w3c spec:
> https://dev.w3.org/html5/spec-author-view/video.html#error-codes



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

2016-08-26 Thread Martin Bektchiev (JIRA)
Martin Bektchiev created CB-11771:
-

 Summary: 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
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Plugman
Affects Versions: 1.3.0
Reporter: Martin Bektchiev
Assignee: Martin Bektchiev
Priority: Minor


When installing a plugin with custom library with the --link option the whole 
directory is symlinked and temporary files leak into the original plugin 
directory. 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.0 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.0 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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11380:
-

Github user cordova-qa commented on the issue:

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

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-media/pull/112/commits/910d3c798f77c63165be508125ec313e4104b541)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/71/)

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



> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 910d3c798f77c63165be508125ec313e4104b541 in cordova-plugin-media's 
branch refs/heads/master from [~alsorokin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=910d3c7 ]

CB-11380 (ios) Fixed an unexpected error callback when initializing Media with 
file that doesn't exist


> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11380:
-

Github user alsorokin closed the pull request at:

https://github.com/apache/cordova-plugin-media/pull/112


> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



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

2016-08-26 Thread Martin Bektchiev (JIRA)

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

Martin Bektchiev updated CB-11771:
--
Description: 
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.0 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.0 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;





  was:
When installing a plugin with custom library with the --link option the whole 
directory is symlinked and temporary files leak into the original plugin 
directory. 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.0 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.0 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;






> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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.0 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.0 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] [Updated] (CB-11771) Installing plugin with symlink option pollutes original directory with intermediate files

2016-08-26 Thread Martin Bektchiev (JIRA)

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

Martin Bektchiev updated CB-11771:
--
Description: 
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;





  was:
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.0 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.0 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;






> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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-7497) Crash on open app from fresh

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-7497:


Github user asfgit closed the pull request at:

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


> Crash on open app from fresh
> 
>
> Key: CB-7497
> URL: https://issues.apache.org/jira/browse/CB-7497
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin SplashScreen
> Environment: ios7 iphone 4s
>Reporter: Miquel
>Assignee: jcesarmobile
>Priority: Critical
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Everytime the app is fresh opened (not in the debugger)
> : *** Terminating app due to uncaught exception 'NSRangeException', 
> reason: 'Cannot remove an observer  for the key 
> path "frame" from  because it is not registered as an 
> observer.'



--
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-11772) "cordova build ios --device" results in universal ipa, even if target-device is handset

2016-08-26 Thread Michael Schmidt (JIRA)

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

Michael Schmidt commented on CB-11772:
--

maybe check the build.xcconfig file - see CB-10137

> "cordova build ios --device"  results in universal ipa, even if target-device 
> is handset
> 
>
> Key: CB-11772
> URL: https://issues.apache.org/jira/browse/CB-11772
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Affects Versions: 6.3.1
> Environment: OSX 10.11, cordova-ios  ios 4.2.1
>Reporter: Jonathan Dart
>
> When making a build with the device flag, the resulting ipa doesn't seem to 
> be respecting the target-device preference.
> Let me know what other info would be useful.



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11380:
-

Github user cordova-qa commented on the issue:

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

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-media/pull/114/commits/9f0c2e3e6bc1d76dcb0759f2aaf9e4137e391b09)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-pr/75/)

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



> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11722) cordova-create@1.0.0 release august 18, 2016

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11722 Incremented package version to -dev


> cordova-create@1.0.0 release august 18, 2016
> 
>
> Key: CB-11722
> URL: https://issues.apache.org/jira/browse/CB-11722
> Project: Apache Cordova
>  Issue Type: Task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cordova-create
>Reporter: Steve Gill
>Assignee: Steve Gill
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/tools-release-process.md;



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

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



[jira] [Created] (CB-11773) Add licenses missing found by audit-license-headers

2016-08-26 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11773:
-

 Summary: Add licenses missing found by audit-license-headers
 Key: CB-11773
 URL: https://issues.apache.org/jira/browse/CB-11773
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Template Reference
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah


{code}
Unapproved licenses:

  ./README.md
  ./index.js
  ./template_docs.md
  ./template_src/config.xml
{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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11380:
-

GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-media/pull/114

CB-11380 (ios) Overloaded audioFileForResource method instead of modi…

### Platforms affected
ios

### What does this PR do?
https://issues.apache.org/jira/browse/CB-11380
Overloads the audioFileForResource method instead of modifying its 
signature because otherwise it would be an API breakage.

### What testing has been done on this change?
No testing whatsoever: I don't have an access to any iOS device till 
tomorrow. Creating this PR to let CI test the changes.

### Checklist
- [x] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to secret...@apache.org.
- [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/alsorokin/cordova-plugin-media CB-11380

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

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


commit 9f0c2e3e6bc1d76dcb0759f2aaf9e4137e391b09
Author: Alexander Sorokin 
Date:   2016-08-26T18:41:51Z

CB-11380 (ios) Overloaded audioFileForResource method instead of modifying 
its signature




> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11773) Add licenses missing found by audit-license-headers

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 0c330a11b30dc2ab093689c523ebfc129ecfdb4e in cordova-template-reference's 
branch refs/heads/master from [~shazron]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-template-reference.git;h=0c330a1
 ]

CB-11773 - Add licenses missing found by audit-license-headers


> Add licenses missing found by audit-license-headers
> ---
>
> Key: CB-11773
> URL: https://issues.apache.org/jira/browse/CB-11773
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Template Reference
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> Unapproved licenses:
>   ./README.md
>   ./index.js
>   ./template_docs.md
>   ./template_src/config.xml
> {code}



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

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



[jira] [Resolved] (CB-11773) Add licenses missing found by audit-license-headers

2016-08-26 Thread Shazron Abdullah (JIRA)

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

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

> Add licenses missing found by audit-license-headers
> ---
>
> Key: CB-11773
> URL: https://issues.apache.org/jira/browse/CB-11773
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Template Reference
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> Unapproved licenses:
>   ./README.md
>   ./index.js
>   ./template_docs.md
>   ./template_src/config.xml
> {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] [Created] (CB-11772) "cordova build ios --device" results in universal ipa, even if target-device is handset

2016-08-26 Thread Jonathan Dart (JIRA)
Jonathan Dart created CB-11772:
--

 Summary: "cordova build ios --device"  results in universal ipa, 
even if target-device is handset
 Key: CB-11772
 URL: https://issues.apache.org/jira/browse/CB-11772
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: iOS
Affects Versions: 6.3.1
 Environment: OSX 10.11, cordova-ios  ios 4.2.1
Reporter: Jonathan Dart


When making a build with the device flag, the resulting ipa doesn't seem to be 
respecting the target-device preference.

Let me know what other info would be useful.



--
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-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-android/pull/326
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-android/pull/326?src=pr) is 
33.67% (diff: 20.00%)
> Merging 
[#326](https://codecov.io/gh/apache/cordova-android/pull/326?src=pr) into 
[master](https://codecov.io/gh/apache/cordova-android/branch/master?src=pr) 
will decrease coverage by **0.10%**

```diff
@@ master   #326   diff @@
==
  Files11 11  
  Lines   965968 +3   
  Methods 197199 +2   
  Messages  0  0  
  Branches157158 +1   
==
  Hits326326  
- Misses  639642 +3   
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[4a0a7bc...817fc3a](https://codecov.io/gh/apache/cordova-android/compare/4a0a7bc424fae14c9689f4a8a2dc250ae3a47f82...817fc3ae70443e06ea9e6e6af298e7d839b0ff2a?src=pr)


> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-lib/pull/485
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-lib/pull/485?src=pr) is 80.81% 
(diff: 88.88%)
> Merging [#485](https://codecov.io/gh/apache/cordova-lib/pull/485?src=pr) 
into [master](https://codecov.io/gh/apache/cordova-lib/branch/master?src=pr) 
will increase coverage by **0.02%**

```diff
@@ master   #485   diff @@
==
  Files68 68  
  Lines  5407   5415 +8   
  Methods 857859 +2   
  Messages  0  0  
  Branches   1048   1050 +2   
==
+ Hits   4368   4376 +8   
  Misses 1039   1039  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[3b38b53...1eb9b20](https://codecov.io/gh/apache/cordova-lib/compare/3b38b5382b9a52d1fe522514b61d3ebd6016796d...1eb9b207718f00d0101d31c44f9a492f5c16725b?src=pr)


> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

GitHub user mbektchiev opened a pull request:

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

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.

fixes [CB-11771 Installing plugin with symlink option pollutes original 
directory with intermediate 
files](https://issues.apache.org/jira/browse/CB-11771)

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

$ git pull https://github.com/Icenium/cordova-android bektchiev/deep-symlink

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

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


commit 817fc3ae70443e06ea9e6e6af298e7d839b0ff2a
Author: Martin Bektchiev 
Date:   2016-08-26T15:21:23Z

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.




> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

GitHub user mbektchiev opened a pull request:

https://github.com/apache/cordova-ios/pull/244

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.

fixes [CB-11771 Installing plugin with symlink option pollutes original 
directory with intermediate 
files](https://issues.apache.org/jira/browse/CB-11771)

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

$ git pull https://github.com/Icenium/cordova-ios bektchiev/deep-symlink

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

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


commit 15b4fdc6655b034888eb20122df9560c0b42195b
Author: Martin Bektchiev 
Date:   2016-08-26T14:45:59Z

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.




> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11771:
-

GitHub user mbektchiev opened a pull request:

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

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.

fixes [CB-11771 Installing plugin with symlink option pollutes original 
directory with intermediate 
files](https://issues.apache.org/jira/browse/CB-11771)

related to https://github.com/apache/cordova-ios/pull/244 and 
https://github.com/apache/cordova-android/pull/326

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

$ git pull https://github.com/Icenium/cordova-lib bektchiev/deep-symlink

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

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


commit 1eb9b207718f00d0101d31c44f9a492f5c16725b
Author: Martin Bektchiev 
Date:   2016-08-26T12:08:16Z

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.




> 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
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  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] [Created] (CB-11774) Fix test-ios failures

2016-08-26 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11774:
-

 Summary: Fix test-ios failures
 Key: CB-11774
 URL: https://issues.apache.org/jira/browse/CB-11774
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Paramedic
Reporter: Shazron Abdullah


{code}
$ npm run test-ios

> cordova-paramedic@0.5.0 test-ios 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic
> node main.js --platform ios --plugin ./spec/testable-plugin/ --verbose

cordova-paramedic: creating temp project at 
/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
Creating a new cordova project.
/private/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F 
/Users/shaz/Documents/Git/Apache/cordova-paramedic
cordova-paramedic: installing plugins
cordova-paramedic: installing 
/Users/shaz/Documents/Git/Apache/cordova-paramedic/spec/testable-plugin
cordova-paramedic: installing 
/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F/plugins/org.apache.cordova.testable-plugin/tests
org.apache.cordova.testable-plugin 0.0.1 "Testable Plugin"
org.apache.cordova.testable.tests 0.0.1 "Cordova Testable Plugin Tests"
cordova-paramedic: installing cordova-plugin-test-framework
Fetching plugin "cordova-plugin-test-framework" via npm
cordova-paramedic: installing cordova-plugin-device
Fetching plugin "cordova-plugin-device" via npm
cordova-paramedic: installing 
/Users/shaz/Documents/Git/Apache/cordova-paramedic/paramedic-plugin
cordova-paramedic: installing 
/Users/shaz/Documents/Git/Apache/cordova-paramedic/ios-geolocation-permissions-plugin
cordova-paramedic: setting app start page to test page
cordova-paramedic: adding platform : ios
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: io.cordova.hellocordova
Name: HelloCordova
iOS project created with cordova-ios@4.2.1
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-paramedic" for ios
Installing "cordova-plugin-test-framework" for ios
Installing "ios-geolocation-permissions-plugin" for ios
Installing "org.apache.cordova.testable-plugin" for ios
Installing "org.apache.cordova.testable.tests" for ios
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for ios
cordova-paramedic: checking requirements for platform ios

Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 7.3.1
ios-deploy: not installed 
ios-deploy was not found. Please download, build and install version 1.8.3 or 
greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm 
install -g ios-deploy'
Error: Some of requirements check failed
Completed tests at 2:18:56 PM
Collecting logs for the devices.
It looks like there is no target to get logs from.
Uninstalling the app.
Error: Platform requirements check has failed!
at ParamedicRunner.checkPlatformRequirements 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:160:15)
at ParamedicRunner.prepareProjectToRunTests 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:122:10)
at /Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:76:14
at _fulfilled 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:834:54)
at self.promiseDispatch.done 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:796:13)
at 
/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:857:14
at runSingle 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:137:13)
at flush 
(/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node" 
"/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "test-ios"
npm ERR! node v6.4.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! cordova-paramedic@0.5.0 test-ios: `node main.js --platform ios 
--plugin ./spec/testable-plugin/ --verbose`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the cordova-paramedic@0.5.0 test-ios script 'node main.js 
--platform ios --plugin ./spec/testable-plugin/ --verbose'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the cordova-paramedic 
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node main.js --platform ios --plugin ./spec/testable-plugin/ 
--verbose
npm ERR! You can get information on 

[jira] [Assigned] (CB-11774) Fix test-ios failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-11774:
-

Assignee: Shazron Abdullah

> Fix test-ios failures
> -
>
> Key: CB-11774
> URL: https://issues.apache.org/jira/browse/CB-11774
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> $ npm run test-ios
> > cordova-paramedic@0.5.0 test-ios 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node main.js --platform ios --plugin ./spec/testable-plugin/ --verbose
> cordova-paramedic: creating temp project at 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
> Creating a new cordova project.
> /private/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
>  /Users/shaz/Documents/Git/Apache/cordova-paramedic
> cordova-paramedic: installing plugins
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/spec/testable-plugin
> cordova-paramedic: installing 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F/plugins/org.apache.cordova.testable-plugin/tests
> org.apache.cordova.testable-plugin 0.0.1 "Testable Plugin"
> org.apache.cordova.testable.tests 0.0.1 "Cordova Testable Plugin Tests"
> cordova-paramedic: installing cordova-plugin-test-framework
> Fetching plugin "cordova-plugin-test-framework" via npm
> cordova-paramedic: installing cordova-plugin-device
> Fetching plugin "cordova-plugin-device" via npm
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/paramedic-plugin
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/ios-geolocation-permissions-plugin
> cordova-paramedic: setting app start page to test page
> cordova-paramedic: adding platform : ios
> Adding ios project...
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: io.cordova.hellocordova
>   Name: HelloCordova
> iOS project created with cordova-ios@4.2.1
> Installing "cordova-plugin-device" for ios
> Installing "cordova-plugin-paramedic" for ios
> Installing "cordova-plugin-test-framework" for ios
> Installing "ios-geolocation-permissions-plugin" for ios
> Installing "org.apache.cordova.testable-plugin" for ios
> Installing "org.apache.cordova.testable.tests" for ios
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> cordova-paramedic: checking requirements for platform ios
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 7.3.1
> ios-deploy: not installed 
> ios-deploy was not found. Please download, build and install version 1.8.3 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> Error: Some of requirements check failed
> Completed tests at 2:18:56 PM
> Collecting logs for the devices.
> It looks like there is no target to get logs from.
> Uninstalling the app.
> Error: Platform requirements check has failed!
> at ParamedicRunner.checkPlatformRequirements 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:160:15)
> at ParamedicRunner.prepareProjectToRunTests 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:122:10)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:76:14
> at _fulfilled 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:834:54)
> at self.promiseDispatch.done 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:863:30)
> at Promise.promise.promiseDispatch 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:796:13)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:857:14
> at runSingle 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:137:13)
> at flush 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:125:13)
> at _combinedTickCallback (internal/process/next_tick.js:67:7)
> npm ERR! Darwin 15.6.0
> npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node" 
> "/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "test-ios"
> npm ERR! node v6.4.0
> npm ERR! npm  v3.10.3
> npm ERR! code ELIFECYCLE
> npm ERR! cordova-paramedic@0.5.0 test-ios: `node main.js --platform ios 
> --plugin ./spec/testable-plugin/ --verbose`
> npm ERR! Exit status 1
> npm ERR! 
> npm ERR! Failed at the cordova-paramedic@0.5.0 test-ios script 'node main.js 
> --platform ios --plugin ./spec/testable-plugin/ 

[jira] [Commented] (CB-11774) Fix test-ios failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11774:
---

Seems like I didn't have ios-deploy installed. Once I did that all tests pass.
Not sure why Travis CI fails.

> Fix test-ios failures
> -
>
> Key: CB-11774
> URL: https://issues.apache.org/jira/browse/CB-11774
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> $ npm run test-ios
> > cordova-paramedic@0.5.0 test-ios 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node main.js --platform ios --plugin ./spec/testable-plugin/ --verbose
> cordova-paramedic: creating temp project at 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
> Creating a new cordova project.
> /private/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
>  /Users/shaz/Documents/Git/Apache/cordova-paramedic
> cordova-paramedic: installing plugins
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/spec/testable-plugin
> cordova-paramedic: installing 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F/plugins/org.apache.cordova.testable-plugin/tests
> org.apache.cordova.testable-plugin 0.0.1 "Testable Plugin"
> org.apache.cordova.testable.tests 0.0.1 "Cordova Testable Plugin Tests"
> cordova-paramedic: installing cordova-plugin-test-framework
> Fetching plugin "cordova-plugin-test-framework" via npm
> cordova-paramedic: installing cordova-plugin-device
> Fetching plugin "cordova-plugin-device" via npm
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/paramedic-plugin
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/ios-geolocation-permissions-plugin
> cordova-paramedic: setting app start page to test page
> cordova-paramedic: adding platform : ios
> Adding ios project...
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: io.cordova.hellocordova
>   Name: HelloCordova
> iOS project created with cordova-ios@4.2.1
> Installing "cordova-plugin-device" for ios
> Installing "cordova-plugin-paramedic" for ios
> Installing "cordova-plugin-test-framework" for ios
> Installing "ios-geolocation-permissions-plugin" for ios
> Installing "org.apache.cordova.testable-plugin" for ios
> Installing "org.apache.cordova.testable.tests" for ios
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> cordova-paramedic: checking requirements for platform ios
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 7.3.1
> ios-deploy: not installed 
> ios-deploy was not found. Please download, build and install version 1.8.3 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> Error: Some of requirements check failed
> Completed tests at 2:18:56 PM
> Collecting logs for the devices.
> It looks like there is no target to get logs from.
> Uninstalling the app.
> Error: Platform requirements check has failed!
> at ParamedicRunner.checkPlatformRequirements 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:160:15)
> at ParamedicRunner.prepareProjectToRunTests 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:122:10)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:76:14
> at _fulfilled 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:834:54)
> at self.promiseDispatch.done 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:863:30)
> at Promise.promise.promiseDispatch 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:796:13)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:857:14
> at runSingle 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:137:13)
> at flush 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:125:13)
> at _combinedTickCallback (internal/process/next_tick.js:67:7)
> npm ERR! Darwin 15.6.0
> npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node" 
> "/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "test-ios"
> npm ERR! node v6.4.0
> npm ERR! npm  v3.10.3
> npm ERR! code ELIFECYCLE
> npm ERR! cordova-paramedic@0.5.0 test-ios: `node main.js --platform ios 
> --plugin ./spec/testable-plugin/ --verbose`
> npm ERR! Exit status 1
> npm ERR! 
> npm ERR! Failed 

[jira] [Updated] (CB-11775) Fix jshint failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11775:
--
Labels: easyfix  (was: )

> Fix jshint failures
> ---
>
> Key: CB-11775
> URL: https://issues.apache.org/jira/browse/CB-11775
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>  Labels: easyfix
>
> {code}
> $ npm run jshint
> > cordova-paramedic@0.5.0 jshint 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node node_modules/jshint/bin/jshint lib/
> lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% 
> scanned).
> lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 36, col 35, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 26, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 31, Mixed double and 
> single quotes.
> 

[jira] [Commented] (CB-11775) Fix jshint failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11775:
---

q.min.js should be ignored.


> Fix jshint failures
> ---
>
> Key: CB-11775
> URL: https://issues.apache.org/jira/browse/CB-11775
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>  Labels: easyfix
>
> {code}
> $ npm run jshint
> > cordova-paramedic@0.5.0 jshint 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node node_modules/jshint/bin/jshint lib/
> lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% 
> scanned).
> lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 36, col 35, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 26, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 31, Mixed double and 
> 

[jira] [Assigned] (CB-11775) Fix jshint failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-11775:
-

Assignee: Shazron Abdullah

> Fix jshint failures
> ---
>
> Key: CB-11775
> URL: https://issues.apache.org/jira/browse/CB-11775
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: easyfix
>
> {code}
> $ npm run jshint
> > cordova-paramedic@0.5.0 jshint 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node node_modules/jshint/bin/jshint lib/
> lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% 
> scanned).
> lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 36, col 35, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 26, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 31, Mixed 

[jira] [Resolved] (CB-11775) Fix jshint failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

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

> Fix jshint failures
> ---
>
> Key: CB-11775
> URL: https://issues.apache.org/jira/browse/CB-11775
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: easyfix
>
> {code}
> $ npm run jshint
> > cordova-paramedic@0.5.0 jshint 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node node_modules/jshint/bin/jshint lib/
> lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% 
> scanned).
> lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 36, col 35, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 26, Mixed double and 
> single quotes.
> lib/appium/helpers/screenshotHelper.js: line 37, col 31, Mixed double and 
> 

[jira] [Commented] (CB-11775) Fix jshint failures

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 4daf71e5bc10fb6c2913972b505faba619fdb429 in cordova-paramedic's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-paramedic.git;h=4daf71e ]

CB-11775 - Fix jshint failures


> Fix jshint failures
> ---
>
> Key: CB-11775
> URL: https://issues.apache.org/jira/browse/CB-11775
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: easyfix
>
> {code}
> $ npm run jshint
> > cordova-paramedic@0.5.0 jshint 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node node_modules/jshint/bin/jshint lib/
> lib/appium/helpers/lib/q.min.js: line 1, col 279, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 524, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 525, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 611, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 612, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 647, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 716, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 929, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1030, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1050, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1129, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1360, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1444, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1477, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 1482, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1588, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1787, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1788, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1841, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1952, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1954, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1981, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 1986, 'n' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1988, 'e' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 1993, 'r' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2015, 'i' was used before it was 
> defined.
> lib/appium/helpers/lib/q.min.js: line 1, col 2183, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2185, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2253, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2314, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2352, Missing '()' invoking a 
> constructor.
> lib/appium/helpers/lib/q.min.js: line 1, col 2357, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2417, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2469, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2503, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2536, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2606, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2608, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2617, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2620, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2755, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2776, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2793, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2879, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2881, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 2988, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3040, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3147, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3163, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Missing semicolon.
> lib/appium/helpers/lib/q.min.js: line 1, col 3171, Too many errors. (100% 
> scanned).
> lib/appium/helpers/screenshotHelper.js: line 36, col 30, Mixed double and 
> single quotes.
> 

[jira] [Commented] (CB-5195) Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-5195:


Github user stevengill commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/197
  
@swbradshaw any chance you can deal with the merge conflicts?


> Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating
> 
>
> Key: CB-5195
> URL: https://issues.apache.org/jira/browse/CB-5195
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 2.6.0
> Environment: Galaxy S4
>Reporter: Andre Asselin
>  Labels: Android, reproduced, triaged
>
> Use Camera.getPicture() with sourceType: PHOTOLIBRARY to retrieve a picture 
> from the library. If you specify both the correctOrientation and 
> targetWidth/Height options (which currently you must do if you want 
> correctOrientation to work because of bug CB-5194), the code scales the image 
> first before rotating it, so the final dimensions are incorrect.



--
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-5195) Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-5195:


Github user swbradshaw commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/197
  
@stevengill ill take a look this weekend. This is my first PR/rebase so 
I've got some homework to do


> Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating
> 
>
> Key: CB-5195
> URL: https://issues.apache.org/jira/browse/CB-5195
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 2.6.0
> Environment: Galaxy S4
>Reporter: Andre Asselin
>  Labels: Android, reproduced, triaged
>
> Use Camera.getPicture() with sourceType: PHOTOLIBRARY to retrieve a picture 
> from the library. If you specify both the correctOrientation and 
> targetWidth/Height options (which currently you must do if you want 
> correctOrientation to work because of bug CB-5194), the code scales the image 
> first before rotating it, so the final dimensions are incorrect.



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF subversion and git services (JIRA)

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

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

Commit 0405a2ee2bfc7520e121e50483b2b5310e5e66bd in cordova-plugin-media's 
branch refs/heads/master from [~alsorokin]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=0405a2e ]

CB-11380 (ios) Overloaded audioFileForResource method instead of modifying its 
signature


> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-5195) Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-5195:


Github user stevengill commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/197
  
Sounds good @swbradshaw. It looks like 
https://github.com/apache/cordova-plugin-camera/commit/fed798e6c7f56e23bff994ab2c11d316c8257a78
 created some conflicts. I'll hold off on the release until I can merge this 
in. Let me know how it goes!


> Camera.getPicture with sourceType: PHOTOLIBRARY scales image before rotating
> 
>
> Key: CB-5195
> URL: https://issues.apache.org/jira/browse/CB-5195
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 2.6.0
> Environment: Galaxy S4
>Reporter: Andre Asselin
>  Labels: Android, reproduced, triaged
>
> Use Camera.getPicture() with sourceType: PHOTOLIBRARY to retrieve a picture 
> from the library. If you specify both the correctOrientation and 
> targetWidth/Height options (which currently you must do if you want 
> correctOrientation to work because of bug CB-5194), the code scales the image 
> first before rotating it, so the final dimensions are incorrect.



--
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-11776) Can't add two plugins with different edit-config targets

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11776:
-

GitHub user ktop opened a pull request:

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

CB-11776 check edit-config target exists

Missing a case in the conflict checking for edit-config. If the target 
doesn't exist in .json, and cannot resolve to an existing target, 
then no conflict should be found. 

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

$ git pull https://github.com/ktop/cordova-lib ecerror

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

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


commit a7e6634217e187434d560ac2d32bf352662b3a25
Author: ktop 
Date:   2016-08-26T21:59:46Z

CB-11776 check edit-config target exists




> Can't add two plugins with different edit-config targets
> 
>
> Key: CB-11776
> URL: https://issues.apache.org/jira/browse/CB-11776
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaCommon
>Affects Versions: 1.4.0
>Reporter: Karen Tran
>Assignee: Karen Tran
>  Labels: edit-config
> Fix For: Master
>
>
> When adding two plugins where both plugins are using edit-config, the second 
> plugin will have issues being added. The conflict checking for edit-config is 
> missing a case where the target cannot resolve to an existing target. Should 
> check if the target exists before proceeding. 



--
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-11777) Plugins superseding config.xml

2016-08-26 Thread Darryl Pogue (JIRA)
Darryl Pogue created CB-11777:
-

 Summary: Plugins superseding config.xml
 Key: CB-11777
 URL: https://issues.apache.org/jira/browse/CB-11777
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: CordovaLib
Affects Versions: 3.5.0
Reporter: Darryl Pogue
Assignee: Vladimir Kotikov


The ongoing saga of CB-11589 and CB-11698...

When running {{cordova prepare}} to restore platforms and plugins, the platform 
has prepare called before the plugins are restored. This leads to the top-level 
config.xml data being copied into the platform at prepare time, and then plugin 
config being appended when they are later restored.

In my case, this was causing the Crosswalk version defined in my top-level 
config.xml to be overwritten by an undefined version when the plugin was 
installed. A workaround is to run {{cordova prepare}} a second time.

A better fix is probably to restore the platforms, restore the plugins, and 
then run prepare after everything has been restored.



--
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-11777) Plugins superseding config.xml

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11777:
-

GitHub user dpogue opened a pull request:

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

CB-11777: Restore plugins before preparing

When running `cordova prepare` to restore platforms and plugins, the 
platform has prepare called before the plugins are restored. This leads to the 
top-level config.xml data being copied into the platform at prepare time, and 
then plugin config being appended when they are later restored.

In my case, this was causing the Crosswalk version defined in my top-level 
config.xml to be overwritten by an undefined version when the plugin was 
installed. A workaround is to run `cordova prepare` a second time.

A better fix is probably to restore the platforms, restore the plugins, and 
then run prepare after everything has been restored.

All the existing tests pass, but this does change the order of operations 
around the prepare hooks, and I'm not certain if other projects/plugins have 
dependencies on that ordering.
/cc @vladimir-kotikov 

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

$ git pull https://github.com/dpogue/cordova-lib prepare-plugins

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

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


commit 4ea9b2a8ccaf16393ad07df168e09ea29a85b009
Author: Darryl Pogue 
Date:   2016-08-26T22:10:52Z

CB-11777: Restore plugins before preparing




> Plugins superseding config.xml
> --
>
> Key: CB-11777
> URL: https://issues.apache.org/jira/browse/CB-11777
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaLib
>Affects Versions: 3.5.0
>Reporter: Darryl Pogue
>Assignee: Vladimir Kotikov
>
> The ongoing saga of CB-11589 and CB-11698...
> When running {{cordova prepare}} to restore platforms and plugins, the 
> platform has prepare called before the plugins are restored. This leads to 
> the top-level config.xml data being copied into the platform at prepare time, 
> and then plugin config being appended when they are later restored.
> In my case, this was causing the Crosswalk version defined in my top-level 
> config.xml to be overwritten by an undefined version when the plugin was 
> installed. A workaround is to run {{cordova prepare}} a second time.
> A better fix is probably to restore the platforms, restore the plugins, and 
> then run prepare after everything has been restored.



--
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-11380) Media Plugin - IOS: Error when creating Media object with new file

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11380:
-

Github user alsorokin closed the pull request at:

https://github.com/apache/cordova-plugin-media/pull/114


> Media Plugin - IOS: Error when creating Media object with new file
> --
>
> Key: CB-11380
> URL: https://issues.apache.org/jira/browse/CB-11380
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 2.3.0
> Environment: iOS 9.3.1
>Reporter: John Keating
>Assignee: Alexander Sorokin
>  Labels: ios, media, url
>
> The line:
> {code:borderStyle=solid}var myMedia = new Media("documents://hello.wav",
>function() {
> console.log("success");
>},
>function(er) {
> console.log(er);
>}
> );
> {code}
> results in the error "Cannot use audio file from resource 
> 'documents:hello.wav'", when "hello.wav" does not exist.  The created Media 
> object is usable (I can record and play back), but the error means the 
> constructor's success callback never gets called.  Also happens with 
> variations of the src URI using "file" and "cdvfile".
> This is caused by a change to the validation parameter from NO to YES in 
> commit e5b663ac951b2d8cb2e5e470d2c7072aa56cf779 on March 2nd.



--
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-11776) Can't add two plugins with different edit-config targets

2016-08-26 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11776:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-lib/pull/486
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-lib/pull/486?src=pr) is 80.78% 
(diff: 100%)
> Merging [#486](https://codecov.io/gh/apache/cordova-lib/pull/486?src=pr) 
into [master](https://codecov.io/gh/apache/cordova-lib/branch/master?src=pr) 
will not change coverage

```diff
@@ master   #486   diff @@
==
  Files68 68  
  Lines  5407   5407  
  Methods 857857  
  Messages  0  0  
  Branches   1048   1048  
==
  Hits   4368   4368  
  Misses 1039   1039  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[3b38b53...a7e6634](https://codecov.io/gh/apache/cordova-lib/compare/3b38b5382b9a52d1fe522514b61d3ebd6016796d...a7e6634217e187434d560ac2d32bf352662b3a25?src=pr)


> Can't add two plugins with different edit-config targets
> 
>
> Key: CB-11776
> URL: https://issues.apache.org/jira/browse/CB-11776
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaCommon
>Affects Versions: 1.4.0
>Reporter: Karen Tran
>Assignee: Karen Tran
>  Labels: edit-config
> Fix For: Master
>
>
> When adding two plugins where both plugins are using edit-config, the second 
> plugin will have issues being added. The conflict checking for edit-config is 
> missing a case where the target cannot resolve to an existing target. Should 
> check if the target exists before proceeding. 



--
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-11778) ios nightly is missing packages in node_modules that are in the repo

2016-08-26 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11778:
-

 Summary: ios nightly is missing packages in node_modules that are 
in the repo
 Key: CB-11778
 URL: https://issues.apache.org/jira/browse/CB-11778
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: iOS
Reporter: Shazron Abdullah


Try to do a platform add:
{code}
cordova platform add ios@4.3.0-nightly.2016.8.25.582e3577
{code}

Error:
{code}
Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
(cordova-lib@6.4.0-nightly.2016.8.25.3b38b538)
Warning: using prerelease platform ios@4.3.0-nightly.2016.8.25.582e3577.
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
Running command: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
 /Users/shaz/Desktop/s/platforms/ios s s --cli
module.js:457
throw err;
^

Error: Cannot find module 'elementtree'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. 
(/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Error: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
 Command failed with exit code 1
{code}

If I go into:
{code}
~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
{code}
the package "elementtree" is missing. It is in the repo.



--
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-11477) Add a note about nightly builds to Cordova website

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11477:
---

[~vladimir.kotikov] I'm having problems with the ios nightly. See 
https://issues.apache.org/jira/browse/CB-11778

> Add a note about nightly builds to Cordova website
> --
>
> Key: CB-11477
> URL: https://issues.apache.org/jira/browse/CB-11477
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Website
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>  Labels: docs, nightly
>




--
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-11778) ios nightly is missing packages in node_modules that are in the repo

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11778:
--
Description: 
Try to do a platform add:
{code}
cordova platform add ios@4.3.0-nightly.2016.8.25.582e3577
{code}

Error:
{code}
Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
(cordova-lib@6.4.0-nightly.2016.8.25.3b38b538)
Warning: using prerelease platform ios@4.3.0-nightly.2016.8.25.582e3577.
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
Running command: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
 /Users/shaz/Desktop/s/platforms/ios s s --cli
module.js:457
throw err;
^

Error: Cannot find module 'elementtree'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. 
(/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Error: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
 Command failed with exit code 1
{code}

If I go into:
{code}
~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
{code}
the package "elementtree" is missing (a lot of others are as well). The package 
elementtree does exist in the repo.

  was:
Try to do a platform add:
{code}
cordova platform add ios@4.3.0-nightly.2016.8.25.582e3577
{code}

Error:
{code}
Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
(cordova-lib@6.4.0-nightly.2016.8.25.3b38b538)
Warning: using prerelease platform ios@4.3.0-nightly.2016.8.25.582e3577.
Use 'cordova platform add ios@latest' to add the latest published version 
instead.
Adding ios project...
Running command: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
 /Users/shaz/Desktop/s/platforms/ios s s --cli
module.js:457
throw err;
^

Error: Cannot find module 'elementtree'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. 
(/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Error: 
/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create:
 Command failed with exit code 1
{code}

If I go into:
{code}
~/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules
{code}
the package "elementtree" is missing. It is in the repo.


> ios nightly is missing packages in node_modules that are in the repo
> 
>
> Key: CB-11778
> URL: https://issues.apache.org/jira/browse/CB-11778
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Reporter: Shazron Abdullah
>
> Try to do a platform add:
> {code}
> cordova platform add ios@4.3.0-nightly.2016.8.25.582e3577
> {code}
> Error:
> {code}
> Warning: using prerelease version 6.4.0-nightly.2016.8.25.4935f1a5 
> (cordova-lib@6.4.0-nightly.2016.8.25.3b38b538)
> Warning: using prerelease platform ios@4.3.0-nightly.2016.8.25.582e3577.
> Use 'cordova platform add ios@latest' to add the latest published version 
> instead.
> Adding ios project...
> Running command: 
> /Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/bin/create
>  /Users/shaz/Desktop/s/platforms/ios s s --cli
> module.js:457
> throw err;
> ^
> Error: Cannot find module 'elementtree'
> at Function.Module._resolveFilename (module.js:455:15)
> at Function.Module._load (module.js:403:25)
> at Module.require (module.js:483:17)
> at require (internal/module.js:20:19)
> at Object. 
> (/Users/shaz/.cordova/lib/npm_cache/cordova-ios/4.3.0-nightly.2016.8.25.582e3577/package/node_modules/cordova-common/src/ConfigParser/ConfigParser.js:22:10)
> at Module._compile (module.js:556:32)
> at 

[jira] [Resolved] (CB-11774) Fix test-ios failures

2016-08-26 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-11774.
---
Resolution: Not A Problem

Seems to be a hiccup. Travis CI passes now: 
https://travis-ci.org/apache/cordova-paramedic/builds/155472415

> Fix test-ios failures
> -
>
> Key: CB-11774
> URL: https://issues.apache.org/jira/browse/CB-11774
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Paramedic
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> $ npm run test-ios
> > cordova-paramedic@0.5.0 test-ios 
> > /Users/shaz/Documents/Git/Apache/cordova-paramedic
> > node main.js --platform ios --plugin ./spec/testable-plugin/ --verbose
> cordova-paramedic: creating temp project at 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
> Creating a new cordova project.
> /private/var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F
>  /Users/shaz/Documents/Git/Apache/cordova-paramedic
> cordova-paramedic: installing plugins
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/spec/testable-plugin
> cordova-paramedic: installing 
> /var/folders/gp/qnjhl3ps51z2vvww_th7ldshgn/T/tmp-93487aNR48WzaOU2F/plugins/org.apache.cordova.testable-plugin/tests
> org.apache.cordova.testable-plugin 0.0.1 "Testable Plugin"
> org.apache.cordova.testable.tests 0.0.1 "Cordova Testable Plugin Tests"
> cordova-paramedic: installing cordova-plugin-test-framework
> Fetching plugin "cordova-plugin-test-framework" via npm
> cordova-paramedic: installing cordova-plugin-device
> Fetching plugin "cordova-plugin-device" via npm
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/paramedic-plugin
> cordova-paramedic: installing 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/ios-geolocation-permissions-plugin
> cordova-paramedic: setting app start page to test page
> cordova-paramedic: adding platform : ios
> Adding ios project...
> Creating Cordova project for the iOS platform:
>   Path: platforms/ios
>   Package: io.cordova.hellocordova
>   Name: HelloCordova
> iOS project created with cordova-ios@4.2.1
> Installing "cordova-plugin-device" for ios
> Installing "cordova-plugin-paramedic" for ios
> Installing "cordova-plugin-test-framework" for ios
> Installing "ios-geolocation-permissions-plugin" for ios
> Installing "org.apache.cordova.testable-plugin" for ios
> Installing "org.apache.cordova.testable.tests" for ios
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for ios
> cordova-paramedic: checking requirements for platform ios
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 7.3.1
> ios-deploy: not installed 
> ios-deploy was not found. Please download, build and install version 1.8.3 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> Error: Some of requirements check failed
> Completed tests at 2:18:56 PM
> Collecting logs for the devices.
> It looks like there is no target to get logs from.
> Uninstalling the app.
> Error: Platform requirements check has failed!
> at ParamedicRunner.checkPlatformRequirements 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:160:15)
> at ParamedicRunner.prepareProjectToRunTests 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:122:10)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/lib/paramedic.js:76:14
> at _fulfilled 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:834:54)
> at self.promiseDispatch.done 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:863:30)
> at Promise.promise.promiseDispatch 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:796:13)
> at 
> /Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:857:14
> at runSingle 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:137:13)
> at flush 
> (/Users/shaz/Documents/Git/Apache/cordova-paramedic/node_modules/q/q.js:125:13)
> at _combinedTickCallback (internal/process/next_tick.js:67:7)
> npm ERR! Darwin 15.6.0
> npm ERR! argv "/Users/shaz/.nvm/v6.4.0/bin/node" 
> "/Users/shaz/.nvm/v6.4.0/bin/npm" "run" "test-ios"
> npm ERR! node v6.4.0
> npm ERR! npm  v3.10.3
> npm ERR! code ELIFECYCLE
> npm ERR! cordova-paramedic@0.5.0 test-ios: `node main.js --platform ios 
> --plugin ./spec/testable-plugin/ --verbose`
> npm ERR! Exit status 1
> npm ERR! 
> npm ERR! Failed at the 

[jira] [Closed] (CB-11482) Device-motion getCurrentAcceleration.accelerometer.spec.5 fails in CI

2016-08-26 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov closed CB-11482.
-
Resolution: Fixed

> Device-motion getCurrentAcceleration.accelerometer.spec.5 fails in CI
> -
>
> Key: CB-11482
> URL: https://issues.apache.org/jira/browse/CB-11482
> Project: Apache Cordova
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Device Motion
>Reporter: Sergey Shakhnazarov
>Assignee: Vladimir Kotikov
>  Labels: android, flaky, found-by-ci, reproduced, triaged
>
>  cordova-plugin-device-motion-tests.tests >>.Accelerometer 
> (navigator.accelerometer).getCurrentAcceleration.accelerometer.spec.5 success 
> callback Acceleration object should return a recent timestamp
>  Error Details
> Expected 1466763450194 to be less than 1466752652197.
>  Stack Trace
> Error: Expected 1466763450194 to be less than 1466752652197.
> at stack 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
> at buildExpectationResult 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
> at Spec.Env.expectationResultFactory 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
> at Spec.addExpectationResult 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
> at Expectation.addExpectationResult 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
> at Expectation.toBeLessThan 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at win 
> (file:///android_asset/www/plugins/cordova-plugin-device-motion-tests/tests.js:116:31)
> at Object.win 
> (file:///android_asset/www/plugins/cordova-plugin-device-motion/www/accelerometer.js:112:13)
> at 
> file:///android_asset/www/plugins/cordova-plugin-device-motion/www/accelerometer.js:53:30
> at Object.cordova.callbackFromNative 
> (file:///android_asset/www/cordova.js:293:58)
>



--
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-11770) Cordova gps location plugin return old value

2016-08-26 Thread Lokesh Patel (JIRA)
Lokesh Patel created CB-11770:
-

 Summary: Cordova gps location plugin return old value
 Key: CB-11770
 URL: https://issues.apache.org/jira/browse/CB-11770
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Android, iOS
Reporter: Lokesh Patel


Hi,
Cordova gpslocation plugin return old value.
When close app and next day start app device return old Gps value the first 
time then after working proper.

Thanks,
Lokesh Patel




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