[jira] [Commented] (CB-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11811 - Typo in repo location


> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaLib, iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11522) Do not clone the detail object on activation context

2016-09-06 Thread Michael Dudek (JIRA)

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

Michael Dudek commented on CB-11522:


Unfortunately this fix is not working for Windows.Foundation.Uri type (when app 
is activated by url). "No such interface supported" exception is thrown when 
cloning property "absoluteCanonicalUri".

> Do not clone the detail object on activation context
> 
>
> Key: CB-11522
> URL: https://issues.apache.org/jira/browse/CB-11522
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Windows
>Reporter: Daniel Toplak
>Assignee: Sergey Shakhnazarov
>Priority: Blocker
>  Labels: reproduced, triaged, windows
>
> In some circumstances, cloning the detail object of the activation context 
> will fail. Esp. when launching the app via ActivationKind.file.
> The cloning of the detail object was introduced in 
> https://issues.apache.org/jira/browse/CB-10653
> See: https://github.com/apache/cordova-windows/pull/173#issuecomment-227366714



--
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-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11811 - Moved iOS platform specific tests to platform.spec.ios.js, added 
"test-ios" npm run script.


> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaLib, iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11811:
--
Component/s: iOS
 CordovaLib

> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CordovaLib, iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread ASF subversion and git services (JIRA)

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

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

Commit 4975a1fd95ff6fa62cfeaa486362d607b4b30dec in cordova-ios's branch 
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4975a1f ]

CB-11811 - CocoaPods error in cordova-lib tests


> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11817) audioSettings shows as unused variable and settings are not used when configuring a recorder

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11817:
-

Github user cordova-qa commented on the issue:

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

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

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



> audioSettings shows as unused variable and settings are not used when 
> configuring a recorder
> 
>
> Key: CB-11817
> URL: https://issues.apache.org/jira/browse/CB-11817
> 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
>Reporter: Gaven Henry
>Priority: Minor
>  Labels: easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> xcode shows up 2 warnings when building within CDVSound.m
> 1) unused variable 'audioSettings'
> 2) Null passed to a callee that requires non-null when creating an 
> audioFile.recorder
> To resolve both of these just need to pass the autoSettings object to the 
> audioFile.recorder function.
> This resolves both warnings and actually applies the autoSettings as expected.



--
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-1187) Move the Objective-C unit-tests out of CordovaLib.xcodeproj, into its own .xcodeproj

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-1187:


Github user ghenry22 commented on the issue:

https://github.com/apache/cordova-plugin-media/pull/116
  
I didn't add any automated tests as it wasn't relevant, this was just a 
really simple bug.


> Move the Objective-C unit-tests out of CordovaLib.xcodeproj, into its own 
> .xcodeproj
> 
>
> Key: CB-1187
> URL: https://issues.apache.org/jira/browse/CB-1187
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Affects Versions: 2.0.0
>Reporter: Shazron Abdullah
>Assignee: Andrew Grieve
> Fix For: 2.1.0
>
>
> Right now CordovaLib.xcodeproj has two targets related to unit tests: 
> CordovaLibTests and CordovaLibApp. Move them to a .xcodeproj file but still 
> in the CordovaLib folder.
> This helps with users not getting confused when the CordovaLib.xcodeproj is a 
> subproject in their project (since it lists all targets of the subproject)



--
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-1187) Move the Objective-C unit-tests out of CordovaLib.xcodeproj, into its own .xcodeproj

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-1187:


GitHub user ghenry22 opened a pull request:

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

CB-1187: (iOS) Fix unused recording settings

### Platforms affected
iOS

### What does this PR do?
easy fix: audioSettings object wasn't being passed in when starting a 
recording.

### What testing has been done on this change?
run automated tests, run in custom app.  All works as expected.
build in xcode.  Cleared up 2 warnings for an unused variable and null 
argument passed to recorder.

### 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.
- [ ] 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/ghenry22/cordova-plugin-media master

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

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

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

This closes #116


commit 642aef774aa60a34b29d451f684ffc67bf732700
Author: ghenry22 
Date:   2016-09-07T01:37:59Z

CB-1187: (iOS) Fix unused recording settings




> Move the Objective-C unit-tests out of CordovaLib.xcodeproj, into its own 
> .xcodeproj
> 
>
> Key: CB-1187
> URL: https://issues.apache.org/jira/browse/CB-1187
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Affects Versions: 2.0.0
>Reporter: Shazron Abdullah
>Assignee: Andrew Grieve
> Fix For: 2.1.0
>
>
> Right now CordovaLib.xcodeproj has two targets related to unit tests: 
> CordovaLibTests and CordovaLibApp. Move them to a .xcodeproj file but still 
> in the CordovaLib folder.
> This helps with users not getting confused when the CordovaLib.xcodeproj is a 
> subproject in their project (since it lists all targets of the subproject)



--
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-11817) audioSettings shows as unused variable and settings are not used when configuring a recorder

2016-09-06 Thread Gaven Henry (JIRA)
Gaven Henry created CB-11817:


 Summary: audioSettings shows as unused variable and settings are 
not used when configuring a recorder
 Key: CB-11817
 URL: https://issues.apache.org/jira/browse/CB-11817
 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
Reporter: Gaven Henry
Priority: Minor


xcode shows up 2 warnings when building within CDVSound.m

1) unused variable 'audioSettings'
2) Null passed to a callee that requires non-null when creating an 
audioFile.recorder

To resolve both of these just need to pass the autoSettings object to the 
audioFile.recorder function.

This resolves both warnings and actually applies the autoSettings as expected.



--
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-5378) Media plugin downloads media on main UI thread.

2016-09-06 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-5378:
-

this should be closed.  This issue has been resolved for some time now in the 
media plugin.

> Media plugin downloads media on main UI thread.
> ---
>
> Key: CB-5378
> URL: https://issues.apache.org/jira/browse/CB-5378
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 3.1.0
> Environment: iOS
>Reporter: Michal Mocny
>
> Reported on the mailing list by Nick Burka:
> "I’ve been implementing a simple Media playback app. It looks something like:
> console.log(’start');
> mediaPlayer = new Media(
> uri_to_my_mp3_file,
> mediaSuccess,
> mediaError,
> mediaStatus);
> console.log(’end’);
> mediaPlayer.play();
> When the JavaScript executes, it takes 20+ seconds between the ‘start’ and 
> ‘end’ logs. Then when I seekTo() on the playing file, it’s virtually 
> instantaneous. I presume that the Media class is downloading the entire file 
> on instantiation?
> A few other people seem to have the same problem:
> http://stackoverflow.com/questions/19938383/phonegap-build-media-play-takes-a-long-time-to-start-playing
> http://community.phonegap.com/nitobi/topics/phone_gap_media_api_ios_slow_loading
> Any help would be much appreciated."



--
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-8676) Audio not working in Android 5.0

2016-09-06 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-8676:
-

I have tested on several lollipop (android 5) devices with no issues, I have a 
live app that has been published since lollipop first came out and audio works 
great.

Perhaps try updating the android platform and plugin version and check the 
docs.  If you still have issues the cordova slack channel might be a good place 
to ask for help with your code.

This issue could be closed.

> Audio not working in Android 5.0
> 
>
> Key: CB-8676
> URL: https://issues.apache.org/jira/browse/CB-8676
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 3.5.0
> Environment: Android
>Reporter: Prabesh Niraula
>  Labels: android5.0, lollipop, media
>
> Media plugin does not play audio file in Android 5.0 (lollipop). It doesn't 
> throw any errors and simply doesn't play file. Everything works fine in 
> Kitkat and jellybeans (two other devices i have worked on)



--
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-10878) Audio breaks on some Android devices

2016-09-06 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-10878:
--

make sure that you call release after each file finishes playing before 
starting the next.  I believe this is due to a limit on resources on Anrdoid 
that are available to an app.

> Audio breaks on some Android devices
> 
>
> Key: CB-10878
> URL: https://issues.apache.org/jira/browse/CB-10878
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
>Affects Versions: 0.2.16
> Environment: Samsung GT-I8730 Galaxy Express, and Nvidia Shield Tablet
>Reporter: Pixcoder
>  Labels: Android, triaged
>
> Hi,
> My code is simple : every click triggers a sound play.
> 
> url = "/android_asset/www/"+url;
> AUDIO_OBJECTS[url] = new Media( url,
> //success callback
>  function () {
>  console.log("playAudio():Audio Success");
>  },
>   //error callback
>  function (err) {
> alert("playAudio():Audio Error  code : " + 
> err.code + "  stringified : "+JSON.stringify(err))
>  }
> );
> AUDIO_OBJECTS[url].play();
> 
> This works well ! Until a certain number of click, maybe 20. My sounds are 
> various mp3, from 1 second length to 10.
> After about 20 clicks, the sound is not played anymore.
> I have to exit the app and come back, sometimes it works again, sometimes not.
> Also, sometimes it fires the error callback with error code "0" ... 
> On my Nexus 9 (same code), it works well, audio never breaks, but sometimes 
> it struggles a bit before the sound is correctly played.



--
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-9802) Android Marshmallow Audio uses FILE permission

2016-09-06 Thread Gaven Henry (JIRA)

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

Gaven Henry commented on CB-9802:
-

Media plugin is working fine on latest Marshmallow update for me including 
access to locally stored files through the file plugin.  Tested on galaxy 36 
and 37 devices to confirm.

> Android Marshmallow Audio uses FILE permission
> --
>
> Key: CB-9802
> URL: https://issues.apache.org/jira/browse/CB-9802
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Media
> Environment: Android
>Reporter: Joe Bowser
>  Labels: Android
>
> This is probably going to be a duplicate.



--
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-11816) EventEmitter leaks in tests

2016-09-06 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11816:
-

 Summary: EventEmitter leaks in tests
 Key: CB-11816
 URL: https://issues.apache.org/jira/browse/CB-11816
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: CordovaLib
Reporter: Shazron Abdullah


Run 'npm test' and see this warning:

(node:81096) Warning: Possible EventEmitter memory leak detected. 11 error 
listeners added. Use emitter.setMaxListeners() to increase limit



--
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-5921) Cordova on iOS should use an XCWorkspace, or at least support using one.

2016-09-06 Thread Shazron Abdullah (JIRA)

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

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

Sorry for lack of updates on this, but this work is superseded by 
https://issues.apache.org/jira/browse/CB-11787 where workspace support and 
CocoaPods support has been implemented.

> Cordova on iOS should use an XCWorkspace, or at least support using one.
> 
>
> Key: CB-5921
> URL: https://issues.apache.org/jira/browse/CB-5921
> Project: Apache Cordova
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Reporter: Graham Mueller
>Priority: Minor
>  Labels: cordova-ios-5.0.x, core
> Attachments: build
>
>
> Hi Guys,
> Not sure what to log this as. It's not so much a bug as an incompatibility 
> with other frameworks. Anyway, this is specifically an issue with the build 
> process on iOS. Do with it what you will.
> If you're familiar with the CocoaPods framework, you'll know that on initial 
> install, it creates an XCWorkspace file, and instructs you to exclusively use 
> that afterwards. This is because the CocoaPods library adds itself as a 
> linked project that must be built, similar to Cordova/Phonegap. The 
> difference is that Cordova adds itself as a sub project, instead of a sibling 
> project (which is effectively the workspace goal, from my understanding, 
> though I'm having a hard time finding a good link to explain it better).
> So, I would suggest that Cordova moves to this setup as well -- it should 
> create the workspace that has both the Cordova project and your app project.
> Alternatively, if you don't want to go through and change that creation code, 
> it would be great if the CLI offered someway to specify what you want it to 
> build. I found the actual build script that's calling xcodebuild with a 
> -project flag in it (this is where -workspace would go). There is currently 
> no way to override this, so there is currently no way at all to support 
> workspaces (and consequently no way to use CocoaPods).
> Any thoughts or reasons not to do so?
> Thanks,
> Graham



--
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-11815) hard-coded bridge name "cordova"

2016-09-06 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11815:
-

 Summary: hard-coded bridge name "cordova"
 Key: CB-11815
 URL: https://issues.apache.org/jira/browse/CB-11815
 Project: Apache Cordova
  Issue Type: Improvement
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Plugin WKWebViewEngine
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah


https://github.com/apache/cordova-plugin-wkwebview-engine/blob/a1da5d22c091ed1d30536ccb31f43a107d89ed4c/src/ios/CDVWKWebViewEngine.m#L101

use CDV_BRIDGE_NAME



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

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



[jira] [Commented] (CB-11814) assign yourself some issues eh

2016-09-06 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-11814:


_dusts off the Apache credentials_

_rubs eyes_

Wha.. what's going on in here?

> assign yourself some issues eh
> --
>
> Key: CB-11814
> URL: https://issues.apache.org/jira/browse/CB-11814
> Project: Apache Cordova
>  Issue Type: Task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: CLI
>Reporter: Shazron Abdullah
>Assignee: Filip Maj
>
> Unfinished business.



--
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-11814) assign yourself some issues eh

2016-09-06 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11814:
-

 Summary: assign yourself some issues eh
 Key: CB-11814
 URL: https://issues.apache.org/jira/browse/CB-11814
 Project: Apache Cordova
  Issue Type: Task
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: CLI
Reporter: Shazron Abdullah
Assignee: Filip Maj


Unfinished business.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread jcesarmobile (JIRA)

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

jcesarmobile resolved CB-11661.
---
Resolution: Fixed

> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/236
  
Everything was fine, just didn't have time to merge it yesterday. 
Merged now, thanks for the PR


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/236
  
Everything was fine, just didn't have time to merge it yesterday. 
Merged now, thanks for the PR


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/236
  
Everything was fine, just didn't have time to merge it yesterday. 
Merged now, thanks for the PR


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/236
  
Everything was fine, just didn't have time to merge it yesterday. 
Merged now, thanks for the PR


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-plugin-camera/pull/236
  
Everything was fine, just didn't have time to merge it yesterday. 
Merged now, thanks for the PR


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF subversion and git services (JIRA)

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

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

Commit 9b566d3f0b066b01b8f74db296cf0dbf62b7e358 in cordova-plugin-camera's 
branch refs/heads/master from [~jacquesdev]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=9b566d3 
]

CB-11661: (ios) Add mandatory iOS 10 privacy description

Add support for photoalbum description

 This closes #236


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11661) Camera plugin crashes on iOS 10

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-11661:
-

Github user asfgit closed the pull request at:

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


> Camera plugin crashes on iOS 10
> ---
>
> Key: CB-11661
> URL: https://issues.apache.org/jira/browse/CB-11661
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin Camera
>Affects Versions: 3.5.0
> Environment: iOS 10
>Reporter: jcesarmobile
>
> We need to add a privacy description to the plist. Since iOS 6 Apple provided 
> a way to show the user why a certain permission is required. In iOS 10 this 
> becomes mandatory, so any app not specifying the key will crash at runtime 
> when a permissions is requested.
> This plugin requests the Camera permission, so at the very least we need to 
> add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the 
> `plist`.



--
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-11812) Apache Cordova-plugin-camera working only about 1/3 of time & very slow on iPhones 4s & 5c

2016-09-06 Thread Amy Johnson (JIRA)
Amy Johnson created CB-11812:


 Summary: Apache Cordova-plugin-camera working only about 1/3 of 
time & very slow on iPhones 4s & 5c
 Key: CB-11812
 URL: https://issues.apache.org/jira/browse/CB-11812
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: iOS, Plugin Camera
 Environment: iPhone 4s, 5c
Reporter: Amy Johnson
Priority: Critical


Cordova app has cordova-plugin-camera .  When called from app on iPhone 4s or 
5c, only works about 1/3 of the time. Even then, takes 5-6 seconds to respond.

This is original javascript code:

var onDeviceReady;

onDeviceReady = function() {
  console.log(navigator.camera);
};

document.addEventListener('deviceready', onDeviceReady, false);

exports.takePicture = function(success, error) {
  if (!navigator.camera) {
error();
return;
  }
  console.log("About to take picture");
  return navigator.camera.getPicture(success, error, {
quality: 80,
destinationType: Camera.DestinationType.FILE_URI
  });
};

exports.hasCamera = function() {
  return navigator.camera != null;
}; 





--
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-11715) iOS Simulator hangs on Endless App Loading/Launching Screen. No Err Msgs.

2016-09-06 Thread Amy Johnson (JIRA)

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

Amy Johnson closed CB-11715.

Resolution: Fixed

> iOS Simulator hangs on Endless App Loading/Launching Screen. No Err Msgs.
> -
>
> Key: CB-11715
> URL: https://issues.apache.org/jira/browse/CB-11715
> 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.6, el capitan, Simulator 9.3, using Xcode 7.3 
> (but also hangs if Simulator launched directly from Terminal)  iOS-deply 
> 1.8.6, Cordova 6.3.1 (native platform version 4.2.0)
>Reporter: Amy Johnson
>  Labels: beginner, newbie
> Attachments: screenshot-1.png
>
>
> --I'm new to this, so I apologize for any mistakes. 
> --When I try to launch my Cordova app in Simulator (from Xcode or Terminal), 
> Simulator gets stuck on an endless loading screen. 
> (Cordova emulate iOS...  Endless loading screen.) (The build succeeds.)
> --By "endless," I mean that I have let it run overnight, and it still appears 
> to be loading (blue bar spiraling near bottom of screen) in the morning. 
> --This loading problem is probably due to a mistake on my end, but it seems 
> like it might be a Cordova bug that there are no error messages. 
> Here is my system log shown in Xcode after I launch Simulator from there:
> 2016-08-16 21:54:12.449 myApp[10960:414442] DiskCookieStorage changing policy 
> from 2 to 0, cookie file: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Data/Application/72317999-A72E-455C-A8B9-E47E3F25614E/Library/Cookies/co.domainName.myApp.binarycookies
> 2016-08-16 21:54:12.645 myApp[10960:414442] Apache Cordova native platform 
> version 4.2.0 is starting.
> 2016-08-16 21:54:12.646 myApp[10960:414442] Multi-tasking -> Device: YES, 
> App: YES
> 2016-08-16 21:54:12.677 myApp[10960:414442] 
> Started backup to iCloud! Please be careful.
> Your application might be rejected by Apple if you store too much data.
> For more information please read "iOS Data Storage Guidelines" at:
> https://developer.apple.com/icloud/documentation/data-storage/
> To disable web storage backup to iCloud, set the BackupWebStorage preference 
> to "local" in the Cordova config.xml file
> 2016-08-16 21:54:12.785 myApp[10960:414442] Using UIWebView
> 2016-08-16 21:54:12.788 myApp[10960:414442] [CDVTimer][handleopenurl] 
> 0.137031ms
> 2016-08-16 21:54:12.789 myApp[10960:414442] Unlimited access to network 
> resources
> 2016-08-16 21:54:12.790 myApp[10960:414442] 
> [CDVTimer][intentandnavigationfilter] 1.496971ms
> 2016-08-16 21:54:12.790 myApp[10960:414442] [CDVTimer][gesturehandler] 
> 0.087976ms
> 2016-08-16 21:54:12.839 myApp[10960:414442] [CDVTimer][file] 49.188972ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][intercom] 24.819970ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][TotalPluginStartup] 
> 76.799035ms
> 2016-08-16 21:54:13.734 myApp[10960:414442] Resetting plugins due to page 
> load.
> 2016-08-16 21:54:14.497 myApp[10960:414442] Finished load of: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Bundle/Application/A1C67A1E-3AC6-4A7A-AEC0-095B89C3B2D9/myApp.app/www/index_cordova.html?cordova=
> Again, I apologize for any mistakes, as I'm new to both Cordova and this 
> forum.



--
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-10026) Fix warnings in Objective-C tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10026:
---

Run the .xcworkspace file in the "tests" folder

> Fix warnings in Objective-C tests
> -
>
> Key: CB-10026
> URL: https://issues.apache.org/jira/browse/CB-10026
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Reporter: Shazron Abdullah
>Priority: Minor
>  Labels: easyfix, iOS
>
> Some deprecated items in there.
> Run the workspace in ./tests



--
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-10026) Fix warnings in Objective-C tests

2016-09-06 Thread sanjeewa kumara (JIRA)

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

sanjeewa kumara commented on CB-10026:
--

How can I check this bug occurs ? what is the file need to run?

> Fix warnings in Objective-C tests
> -
>
> Key: CB-10026
> URL: https://issues.apache.org/jira/browse/CB-10026
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Reporter: Shazron Abdullah
>Priority: Minor
>  Labels: easyfix, iOS
>
> Some deprecated items in there.
> Run the workspace in ./tests



--
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-9762) App icon and Launch image for iPad Pro

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9762:


Github user codecov-io commented on the issue:

https://github.com/apache/cordova-ios/pull/250
  
## [Current 
coverage](https://codecov.io/gh/apache/cordova-ios/pull/250?src=pr) is 56.14% 
(diff: 58.94%)
> Merging [#250](https://codecov.io/gh/apache/cordova-ios/pull/250?src=pr) 
into [master](https://codecov.io/gh/apache/cordova-ios/branch/master?src=pr) 
will increase coverage by **0.56%**

```diff
@@ master   #250   diff @@
==
  Files11 11  
  Lines  1004   1099+95   
  Methods 144161+17   
  Messages  0  0  
  Branches168178+10   
==
+ Hits558617+59   
- Misses  446482+36   
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last update 
[51d7078...12eb374](https://codecov.io/gh/apache/cordova-ios/compare/51d707838610857283ec73e6333651012bad50ed...12eb374e93987a260dce57b5be1acbe1279a61e1?src=pr)


> App icon and Launch image for iPad Pro
> --
>
> Key: CB-9762
> URL: https://issues.apache.org/jira/browse/CB-9762
> Project: Apache Cordova
>  Issue Type: Task
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Affects Versions: 4.0.0
>Reporter: Manuel Martiarena
>Assignee: Kerri Shotts
>  Labels: cordova-ios-4.1.1
> Attachments: Default-Landscape@2x~ipad-pro.png, 
> Default-Portrait@2x~ipad-pro.png
>
>
> Provide app icon image and launch image for iPad Pro
> iPad Pro (@2x) App icon required 167x167
> iPad Pro (@2x) Launch image required 2048 x 2732 (portrait)
> 2732 x 2048 (landscape)
> https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html



--
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-9161) Support iPad multitasking in iOS 9

2016-09-06 Thread Jonathan Li (JIRA)

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

Jonathan Li commented on CB-9161:
-

Just want to mention, the fix (2) also needs to update the project's info plist 
file to indicate the app does not require the full screen as shown below

UIRequiresFullScreen


Jonathan


> Support iPad multitasking in iOS 9
> --
>
> Key: CB-9161
> URL: https://issues.apache.org/jira/browse/CB-9161
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: iOS
>Affects Versions: 4.0.0
> Environment: iOS 9
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-5.0.x
> Attachments: screenshot-1.png
>
>
> This is to support SlideOver and SplitView. Note that SplitView is only 
> supported on iPad Air 2.
> The three rules are:
> 1. Build your apps with the iOS 9 SDK
> 2. Support all orientations
> 3. Use Launch Storyboards
> We have 1 and 2 covered, but not 3.



--
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-10140) Use application id instead of package name when running

2016-09-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10140:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/244
  
@fredgalvao The PR was closed, not the issue.  


> Use application id instead of package name when running
> ---
>
> Key: CB-10140
> URL: https://issues.apache.org/jira/browse/CB-10140
> Project: Apache Cordova
>  Issue Type: Improvement
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Android, CLI
>Reporter: Christian Cook
>Priority: Minor
>
> I've been working on a new plugin for Cordova which will allow you to easily 
> deploy different build types in a system lifecycle e.g. alpha, beta and 
> store. This will allow multiple instances of the same app on your device in 
> different states. Currently I've hit a bit of an interesting bug/issue when 
> using this in conjunction with the run command. When the plugin operates it 
> dynamically changes the application id depending on the state so com.test.app 
> becomes com.test.app.alpha and so son. Because of this, when running the app 
> from the CLI it then starts using the incorrect ID (it uses the packageName 
> from the Android Manifest and tries to run nothing or the wrong instance). 
> EDIT: See the PR for a suggested fix, and if you wish to try and replicate 
> this issue the plugin is now available here: 
> https://github.com/CookieCookson/cordova-plugin-lifecycle



--
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-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread ASF subversion and git services (JIRA)

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

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

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

CB-11811 - disable CocoaPods e2e test temporarily since it is platform specific 
and requires cocoapods to be installed.


> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11811) CocoaPods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11811:
--
Summary: CocoaPods error in cordova-lib tests  (was: Cocoapods error in 
cordova-lib tests)

> CocoaPods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11811) Cocoapods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11811:
--
Description: 
https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380

{code}
Failures:

  1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
depending on new pod and existing pod
   Message:
 Expected 'CocoaPods was not found. Please install version 1.0.1 or greater 
from https://cocoapods.org/' to be undefined.
   Stacktrace:
 Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or 
greater from https://cocoapods.org/' to be undefined.
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
at _rejected 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
at Promise.when 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{code}

The test is now invalid, since to properly install a CocoaPod dependency in a 
project, cocoapods cli needs to be installed. The implementation did not check 
for this before (thus it didn't fail), but it does now.

There is no way to test this without CocoaPods being installed, all we can 
really test is if the error message is correct.

To test e2e CocoaPods, we need to separate this test as an OS X only test, and 
run this test on Travis CI only.

  was:
{code}
Failures:

  1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
depending on new pod and existing pod
   Message:
 Expected 'CocoaPods was not found. Please install version 1.0.1 or greater 
from https://cocoapods.org/' to be undefined.
   Stacktrace:
 Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or 
greater from https://cocoapods.org/' to be undefined.
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
at _rejected 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
at Promise.when 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{code}

The test is now invalid, since to properly install a CocoaPod dependency in a 
project, cocoapods cli needs to be installed. The implementation did not check 
for this before (thus it didn't fail), but it does now.

There is no way to test this without CocoaPods being installed, all we can 
really test is if the error message is correct.

To test e2e CocoaPods, we need to separate this test as an OS X only test, and 
run this test on Travis CI only.


> Cocoapods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> 

[jira] [Commented] (CB-11811) Cocoapods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11811:
---

I am disabling this test for now.

> Cocoapods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-lib/blob/3b38b5382b9a52d1fe522514b61d3ebd6016796d/cordova-lib/spec-cordova/platform.spec.js#L380
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



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

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



[jira] [Assigned] (CB-11811) Cocoapods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-11811:
-

Assignee: Shazron Abdullah

> Cocoapods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {code}
> The test is now invalid, since to properly install a CocoaPod dependency in a 
> project, cocoapods cli needs to be installed. The implementation did not 
> check for this before (thus it didn't fail), but it does now.
> There is no way to test this without CocoaPods being installed, all we can 
> really test is if the error message is correct.
> To test e2e CocoaPods, we need to separate this test as an OS X only test, 
> and run this test on Travis CI only.



--
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-11811) Cocoapods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11811:
--
Description: 
{code}
Failures:

  1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
depending on new pod and existing pod
   Message:
 Expected 'CocoaPods was not found. Please install version 1.0.1 or greater 
from https://cocoapods.org/' to be undefined.
   Stacktrace:
 Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or 
greater from https://cocoapods.org/' to be undefined.
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
at _rejected 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
at Promise.when 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{code}

The test is now invalid, since to properly install a CocoaPod dependency in a 
project, cocoapods cli needs to be installed. The implementation did not check 
for this before (thus it didn't fail), but it does now.

There is no way to test this without CocoaPods being installed, all we can 
really test is if the error message is correct.

To test e2e CocoaPods, we need to separate this test as an OS X only test, and 
run this test on Travis CI only.

  was:
{code}
Failures:

  1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
depending on new pod and existing pod
   Message:
 Expected 'CocoaPods was not found. Please install version 1.0.1 or greater 
from https://cocoapods.org/' to be undefined.
   Stacktrace:
 Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or 
greater from https://cocoapods.org/' to be undefined.
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
at _rejected 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
at Promise.when 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{code}

The test is now invalid, since to properly install a CocoaPod dependency, 
cocoapods needs to be installed. The implementation did not check for this 
before (thus it didn't fail), but it does now.

There is no way to test this without CocoaPods being installed, all we can 
really test is if the error message is correct.

To test e2e CocoaPods, we need to separate this test as an OS X only test, and 
run this test on Travis CI only.


> Cocoapods error in cordova-lib tests
> 
>
> Key: CB-11811
> URL: https://issues.apache.org/jira/browse/CB-11811
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>Reporter: Shazron Abdullah
>
> {code}
> Failures:
>   1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
> depending on new pod and existing pod
>Message:
>  Expected 'CocoaPods was not found. Please install version 1.0.1 or 
> greater from https://cocoapods.org/' to be undefined.
>Stacktrace:
>  Error: Expected 'CocoaPods was not found. Please install version 1.0.1 
> or greater from https://cocoapods.org/' to be undefined.
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
> at _rejected 
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at 
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at 

[jira] [Created] (CB-11811) Cocoapods error in cordova-lib tests

2016-09-06 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-11811:
-

 Summary: Cocoapods error in cordova-lib tests
 Key: CB-11811
 URL: https://issues.apache.org/jira/browse/CB-11811
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Shazron Abdullah


{code}
Failures:

  1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin 
depending on new pod and existing pod
   Message:
 Expected 'CocoaPods was not found. Please install version 1.0.1 or greater 
from https://cocoapods.org/' to be undefined.
   Stacktrace:
 Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or 
greater from https://cocoapods.org/' to be undefined.
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25
at _rejected 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
at Promise.when 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
at 
/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
at flush 
(/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:415:13)
{code}

The test is now invalid, since to properly install a CocoaPod dependency, 
cocoapods needs to be installed. The implementation did not check for this 
before (thus it didn't fail), but it does now.

There is no way to test this without CocoaPods being installed, all we can 
really test is if the error message is correct.

To test e2e CocoaPods, we need to separate this test as an OS X only test, and 
run this test on Travis CI only.



--
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-11248) InAppBrowser no focus on input text fields

2016-09-06 Thread JIRA

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

Ulf Brügelmann commented on CB-11248:
-

I had exactly the same problem and clearFocus() prior to requestFocus() did the 
trick for me as well. Thanks a lot. This hint really made my day (and my 
customer happy...).

> InAppBrowser no focus on input text fields
> --
>
> Key: CB-11248
> URL: https://issues.apache.org/jira/browse/CB-11248
> Project: Apache Cordova
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Plugin InAppBrowser
>Affects Versions: 1.4.0
> Environment: Cordova CLI, Android, Android Studio
>Reporter: Mo Pages
>Priority: Minor
>  Labels: android, no-repro, triaged
>
> When opening a webpage with a form in the Cordova default webview or system 
> webview focus on an input text box works as normal - a cursor is displayed 
> (and if there's any js list its displayed). However when using the 
> InAppBrowser the focus cursor does not display at all when you click in a 
> text box...the keyboard comes up but no focus cursor.
> I've tried injecting js to focus on the text box but this doesn't do 
> anything..Also it makes no difference what value the option 
> keyboardDisplayRequiresUserAction is given...Is there a fix for this? 



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

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