[jira] [Updated] (CB-10599) Plugin JS objects are undefined when running on iOS with Cordova >= 5.4.0 (e.g. 6.0.0)

2016-02-11 Thread JIRA

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

Konstantin Preißer updated CB-10599:

Description: 
Hi,
I originally reported this issue here: 
https://github.com/phonegap/phonegap-plugin-push/issues/605 but found it does 
not apply to that plugin only, but to all plugins.

I'm using Visual Studio 2015 (Update 1) with Tools for Apache Cordova Update 6 
on Windows 10 x64. When I create a Cordova project and use a Cordova CLI 
version > 5.3.3 (e.g. 6.0.0, 5.4.1 or 5.4.0) and add plugins to it, then 
JavaScript variables defined by those plugins (e.g. PushNotification) are 
undefined in the deviceReady event, at least when running on iOS 9.2.1. With 
Cordova 5.3.3 however, everything works.

I used these steps to reproduce:
1) In Visual Studio 2015 with Cordova Tools Update 6, I created a new Cordova 
project.
2) Double-clicked on config.xml, then on the Platforms tab I selected "6.0.0" 
for Cordova CLI version.
3) On the Plugins tab, I added the phonegap-plugin-push plugin using the Git 
URL (Version 1.5.3): https://github.com/phonegap/phonegap-plugin-push
4) On the Common tab (the first tab), I entered "index.xhtml" as start page.
4) In the projects www folder, I removed the default files, and then placed the 
following index.xhtml file (the extension ".xhtml" is importand so that the 
document is treated as XML instead of HTML, which is what I'm using):
{code:xml}

http://www.w3.org/1999/xhtml";>

Test Push on iOS






Test



{code}
Then added the following myscript.js:
{code:javascript}
(function () {

// Listen for the device ready event.
document.addEventListener('deviceready', handleDeviceReady.bind(this), 
false);

function logConsole(text) {

document.getElementById("result").appendChild(document.createTextNode(text + 
"\r\n"));
}

function handleDeviceReady() {
logConsole("DeviceReady. Trying to register...");
try {

// Register for notifications.
var push = PushNotification.init({
android: {
senderID: "123456",
clearNotifications: false
},
ios: { alert: true, sound: true },
windows: {}
});

logConsole("Register called.");

push.on('registration', function (data) {
logConsole("Registration received: " + data.registrationId);
});

} catch (e) {
logConsole("EXCEPTION: " + e);
}
}

})();
{code}

5) Then I built the project for iOS using the instructions at 
http://taco.visualstudio.com/en-us/docs/run-app-ios/#iOSDevice (in VS toolbar, 
I selected "Debug", "iOS", "Local Device") and then created the project).

6) When running the app on a iPad with iOS 9.2.1, the document shows 
"ReferenceError: Can't find variable: PushNotification".

7) Then I opened the config.xml again, and set the Cordova CLI version to 
"5.3.3". To ensure everything is built again, I deleted the "bin", "bld" and 
"platform" folders in the project directory. (Or better: Create a completely 
new project.)

8) After building and running the app again, it works correctly, showing 
"Registration received" with the registration ID.

Note, that with Cordova CLI 5.4.1 and 5.4.0, the same error (ReferenceError) 
happens as with 6.0.0. However I want to upgrade to Cordova 6.0.0 so that I can 
use the newer WKWebView.

Note that this also applies e.g. when using cordova-plugin-globalization: 
navigator.globalization is undefined with Cordova 5.4.0-6.0.0 on iOS but works 
with 5.3.3.

Note: When building for Windows 10 (in the config.xml with the Windows Tab, 
select Target version "Windows 10.0", then in the VS toolbar selecting Debug, 
Windows-AnyCPU, Local Computer) and running the app locally, there seems to be 
a similar problem with Cordova 6.0.0: On the first run, the plugin variables 
are undefined just like on iOS, but on the second run, it works. With Cordova 
5.3.3 it works even at the first run.

Thank you!

  was:
Hi,
I originally reported this issue here: 
https://github.com/phonegap/phonegap-plugin-push/issues/605 but found it does 
not apply to that plugin only, but to all plugins.

I'm using Visual Studio 2015 (Update 1) with Tools for Apache Cordova Update 6 
on Windows 10 x64. When I create a Cordova project and use a Cordova CLI 
version > 5.3.3 (e.g. 6.0.0, 5.4.1 or 5.4.0) and add plugins to it, then 
JavaScript variables defined by those plugins (e.g. PushNotification) are 
undefined in the deviceReady event, at least when running on iOS 9.2.1. With 
Cordova 5.3.3 however, everything works.

I used these steps to reproduce:
1) In Visual Studio 2015 with Cordova Tools Update 6, I created a new Cordova 
project.
2) Double-clicked on config.xml, then on the Platforms tab I selected "6.0.0" 
for Cordova CLI version.

[jira] [Created] (CB-10599) Plugin JS objects are undefined when running on iOS with Cordova >= 5.4.0 (e.g. 6.0.0)

2016-02-11 Thread JIRA
Konstantin Preißer created CB-10599:
---

 Summary: Plugin JS objects are undefined when running on iOS with 
Cordova >= 5.4.0 (e.g. 6.0.0)
 Key: CB-10599
 URL: https://issues.apache.org/jira/browse/CB-10599
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
 Environment: Windows 10 x64, Visual Studio 2015 Update 1 with Tools 
for Apache Cordova Update 6
Reporter: Konstantin Preißer


Hi,
I originally reported this issue here: 
https://github.com/phonegap/phonegap-plugin-push/issues/605 but found it does 
not apply to that plugin only, but to all plugins.

I'm using Visual Studio 2015 (Update 1) with Tools for Apache Cordova Update 6 
on Windows 10 x64. When I create a Cordova project and use a Cordova CLI 
version > 5.3.3 (e.g. 6.0.0, 5.4.1 or 5.4.0) and add plugins to it, then 
JavaScript variables defined by those plugins (e.g. PushNotification) are 
undefined in the deviceReady event, at least when running on iOS 9.2.1. With 
Cordova 5.3.3 however, everything works.

I used these steps to reproduce:
1) In Visual Studio 2015 with Cordova Tools Update 6, I created a new Cordova 
project.
2) Double-clicked on config.xml, then on the Platforms tab I selected "6.0.0" 
for Cordova CLI version.
3) On the Plugins tab, I added the phonegap-plugin-push plugin using the Git 
URL (Version 1.5.3): https://github.com/phonegap/phonegap-plugin-push
4) On the Common tab (the first tab), I entered "index.xhtml" as start page.
4) In the projects www folder, I removed the default files, and then placed the 
following index.xhtml file (the extension ".xhtml" is importand so that the 
document is treated as XML instead of HTML, which is what I'm using):
{code:xml}

http://www.w3.org/1999/xhtml";>

Test Push on iOS






Test



{code}
Then added the following myscript.js:
{code:javascript}
(function () {

// Listen for the device ready event.
document.addEventListener('deviceready', handleDeviceReady.bind(this), 
false);

function logConsole(text) {

document.getElementById("result").appendChild(document.createTextNode(text + 
"\r\n"));
}

function handleDeviceReady() {
logConsole("DeviceReady. Trying to register...");
try {

// Register for notifications.
var push = PushNotification.init({
android: {
senderID: "123456",
clearNotifications: false
},
ios: { alert: true, sound: true },
windows: {}
});

logConsole("Register called.");

push.on('registration', function (data) {
logConsole("Registration received: " + data.registrationId);
});

} catch (e) {
logConsole("EXCEPTION: " + e);
}
}

})();
{code}

5) Then I built the project for iOS using the instructions at 
http://taco.visualstudio.com/en-us/docs/run-app-ios/#iOSDevice (in VS toolbar, 
I selected "Debug", "iOS", "Local Device") and then created the project).

6) When running the app on a iPad with iOS 9.2.1, the document shows 
"ReferenceError: Can't find variable: PushNotification".

7) Then I opened the config.xml again, and set the Cordova CLI version to 
"5.3.3". To ensure everything is built again, I deleted the "bin", "bld" and 
"platform" folders in the project directory. (Or better: Create a completely 
new project.)

8) After building and running the app again, it works correctly, showing 
"Registration received" with the registration ID.

Note, that with Cordova CLI 5.4.1 and 5.4.0, the same error (ReferenceError) 
happens as with 6.0.0. However I want to upgrade to Cordova 6.0.0 so that I can 
use the newer WKWebView.

Note that this also applies e.g. when using cordova-plugin-globalization: 
navigator.globalization is undefined with Cordova 5.4.0-6.0.0 on iOS but works 
with 5.3.3.

Note: When building for Windows 10 (in the config.xml with the Windows Tab, 
select Target version "Windows 10.0", then in the VS toolbar selecting Debug, 
Windows-AnyCPU, Local Computer) and running the app locally, there seems to be 
a similar problem with Cordova 6.0.0: On the first run, the plugin variables 
are undefined just like on iOS, but on the second run, it works. With Cordova 
5.3.3 it works even at the first run.

Thank you



--
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-9347) You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 has caused this

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9347:


Github user jcesarmobile commented on the pull request:


https://github.com/apache/cordova-plugin-dialogs/pull/54#issuecomment-183218924
  
It's supposed to be recursive. If count > 1 it just stores it on the array 
(line 100), then, once it's presented (line 230), removes the presented 
alertController from the array (line 231), and if the array contains any other 
alertController on the array (line 232), it calls presentAlertcontroller again 
(line 233).

I've tested and the problem is on the barcode scanner plugin, it returns 
the success or error callbacks right after calling 
dismissViewControllerAnimated, and dismissViewControllerAnimated takes a while, 
so the alert tries to present the dialog on the CDVbcsViewController that is 
being dismissed, so you get this error:
Warning: Attempt to present  on 
 whose view is not in the window hierarchy!

The solution should be not to return the callbacks until the 
CDVbcsViewController is dismissed. Than can be done with a block like this:

`- (void)barcodeScanDone:(void (^)(void))callbackBlock {
self.capturing = NO;
[self.captureSession stopRunning];
[self.parentViewController dismissViewControllerAnimated:YES 
completion:callbackBlock];

// viewcontroller holding onto a reference to us, release them so they
// will release us
self.viewController = nil;
}`

and every call to barcodeScanDone should pass the block as parameter

example:

`[self barcodeScanDone:^{
 [self.plugin returnSuccess:text format:format cancelled:FALSE 
flipped:FALSE callback:self.callback];
}];`

I'll try to send a pull request to the barcode scanner plugin with this fix 
this afternoon.



> You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 
> has caused this
> ---
>
> Key: CB-9347
> URL: https://issues.apache.org/jira/browse/CB-9347
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 1.1.0
> Environment: Mac OS X Yosemite 10.10.4; XCode 6.4 iOS
>Reporter: Kelvin Dart
>Assignee: jcesarmobile
>Priority: Critical
>
> Previously in cordova-plugin-dialogs, you could stack alerts in Cordova like 
> follows:
> {code}
> navigator.notification.alert('Notification 1', function () {}, 'Title 1');
> navigator.notification.alert('Notification 2', function () {}, 'Title 2');
> {code}
> And it would show 'Notification 2' then 'Notification 1'.
> Now you cannot, in commit: #ee3b02b3c78debe608263d847f7ac69bda1bfca0, there 
> was quite a large overhaul in {{showDialogWithMessage}} in 
> {{CDVNotification.m}}; this commit seems to add some code for iOS 8.3+ which 
> uses {{UIAlertController}} instead of the old {{UIAlertView}}. The problem is 
> here - unfortunately I do not know Obj-C too well in order to debug it.
> If you revert to a cordova-plugin-dialogs version prior to this, the stacked 
> notifications work fine.
> I have created a small test harness which you can download 
> [here|https://www.dropbox.com/s/62hdp3gjp2924er/CDVDialogsNotificationBug.zip?dl=0].
> Please could you implement the old behaviour as this has cause some aspects 
> of my app to break - thanks!
> N.b. I have tagged the version as 1.1.0 as it would not allow me to tag 1.1.1.



--
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-10592) cordova additionally quotes platform specific arguments when used programmatically

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10592:
-

Github user vladimir-kotikov commented on a diff in the pull request:

https://github.com/apache/cordova-lib/pull/386#discussion_r52712187
  
--- Diff: cordova-lib/src/cordova/util.js ---
@@ -297,7 +297,7 @@ function ensurePlatformOptionsCompatible 
(platformOptions) {
 }).map(function (arg) {
 return opts[arg] === true ?
 '--' + arg :
-'--' + arg + '="' + opts[arg].toString() + '"';
+'--' + arg + '=' + opts[arg].toString();
--- End diff --

Because these quotes distorts arguments values e.g. `['--appx=uap']` 
becomes `['--appx="uap"']` and then (after parsing by `nopt` in platform) - 
`{appx: "\"uap"\"}` - notice that quotes now included as a part of `appx` 
option value.


> cordova additionally quotes platform specific arguments when used 
> programmatically
> --
>
> Key: CB-10592
> URL: https://issues.apache.org/jira/browse/CB-10592
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.0.0
> Environment: Cordova@6.0.0, OS X or *nix machine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Some platform-specific arguments (such as {{--gradleArg}}) is additionally 
> quoted, when options passed to {{cordova.raw}} API using old format. Though 
> this is not a problem on Windows, because the command processor on handles 
> such arguments correctly, on OS X this leads to unexpected failures.
> For example running 
> {noformat}
> cordova.raw.build({
> platforms: [android],
> options: ["--gradleArg=--no-daemon"]
> })
> {noformat}
> causes gradle build failure with following message {{Task '"--no-daemon"' not 
> found in root project 'android'.}}



--
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-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10530:
---

I'm looking at this as a priority - probably won't be able to get to it until 
Monday 2/15 however.

> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



--
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-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-10530:
-

Assignee: Shazron Abdullah

> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



--
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-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-10530:
--
Labels: cordova-ios-4.1.0 triaged  (was: triaged)

> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



--
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-10598) Unable to run javascript in Cordova iOS project on simulator

2016-02-11 Thread Sumit Soman (JIRA)

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

Sumit Soman commented on CB-10598:
--

The project link is available here: 
dl.dropboxusercontent.com/u/94452798/testProj.zip 

> Unable to run javascript in Cordova iOS project on simulator
> 
>
> Key: CB-10598
> URL: https://issues.apache.org/jira/browse/CB-10598
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS, iOS
>Affects Versions: 5.4.1
> Environment: Mac OSX El Capitan, Xcode v7.2
>Reporter: Sumit Soman
>
> I created a cordova project, added the iOS platform and built the project. 
> After that I opened the .xcodeproj in Xcode, built it and the homepage showed 
> the sample app homescreen. I then created another js file with the following 
> content in the Staging/js folder
> function testLoad(){
> alert("Loaded!");
> }
> In index.html, I added
>  
> and called the function
> 
> However no alert appears! How to fix? I am using xCode 7.2.1 and Cordova 
> 5.4.1.



--
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-10598) Unable to run javascript in Cordova iOS project on simulator

2016-02-11 Thread Sumit Soman (JIRA)
Sumit Soman created CB-10598:


 Summary: Unable to run javascript in Cordova iOS project on 
simulator
 Key: CB-10598
 URL: https://issues.apache.org/jira/browse/CB-10598
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS, iOS
Affects Versions: 5.4.1
 Environment: Mac OSX El Capitan, Xcode v7.2
Reporter: Sumit Soman


I created a cordova project, added the iOS platform and built the project. 
After that I opened the .xcodeproj in Xcode, built it and the homepage showed 
the sample app homescreen. I then created another js file with the following 
content in the Staging/js folder

function testLoad(){
alert("Loaded!");
}

In index.html, I added

 

and called the function



However no alert appears! How to fix? I am using xCode 7.2.1 and Cordova 5.4.1.



--
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-10591) navigator.notification.prompt text box shrink

2016-02-11 Thread ukrit (JIRA)

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

ukrit commented on CB-10591:


Any update on this?

Thanks

> navigator.notification.prompt text box shrink
> -
>
> Key: CB-10591
> URL: https://issues.apache.org/jira/browse/CB-10591
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 1.2.1-dev
> Environment: iOS 9
>Reporter: ukrit
>Priority: Critical
>
> the issue happens on iOS 9, the textbox become shrinked. And still not fix 
> yet.



--
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-9347) You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 has caused this

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9347:


Github user tony-- commented on the pull request:


https://github.com/apache/cordova-plugin-dialogs/pull/54#issuecomment-183153364
  
@jcesarmobile - With regard to 
phonegap-plugin-barcodescanner+cordova-plugin-dialogs, I was chatting with 
@imaffett about this.  He found that reverting from 
cordova-plugin-dialogs@1.2.0 to cordova-plugin-dialogs@1.1.1 fixed the issue he 
was seeing.  I was comparing the code from the 2 versions and am wondering 
about 
[this](https://github.com/apache/cordova-plugin-dialogs/pull/54/files#diff-b1298bd2cd777b56752fccb1b2faf4abR102).
  What should happen when `[alertList count] > 1`?  Maybe I am reading it 
wrong, but it seems like the way it is now, it will silently fail.  Is that the 
intended behavior? Am I misunderstanding what will happen?  Thanks in advance 
for help with improving my understanding!


> You can no longer stack alerts in cordova-plugin-dialogs - commit #ee3b02b3 
> has caused this
> ---
>
> Key: CB-9347
> URL: https://issues.apache.org/jira/browse/CB-9347
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Affects Versions: 1.1.0
> Environment: Mac OS X Yosemite 10.10.4; XCode 6.4 iOS
>Reporter: Kelvin Dart
>Assignee: jcesarmobile
>Priority: Critical
>
> Previously in cordova-plugin-dialogs, you could stack alerts in Cordova like 
> follows:
> {code}
> navigator.notification.alert('Notification 1', function () {}, 'Title 1');
> navigator.notification.alert('Notification 2', function () {}, 'Title 2');
> {code}
> And it would show 'Notification 2' then 'Notification 1'.
> Now you cannot, in commit: #ee3b02b3c78debe608263d847f7ac69bda1bfca0, there 
> was quite a large overhaul in {{showDialogWithMessage}} in 
> {{CDVNotification.m}}; this commit seems to add some code for iOS 8.3+ which 
> uses {{UIAlertController}} instead of the old {{UIAlertView}}. The problem is 
> here - unfortunately I do not know Obj-C too well in order to debug it.
> If you revert to a cordova-plugin-dialogs version prior to this, the stacked 
> notifications work fine.
> I have created a small test harness which you can download 
> [here|https://www.dropbox.com/s/62hdp3gjp2924er/CDVDialogsNotificationBug.zip?dl=0].
> Please could you implement the old behaviour as this has cause some aspects 
> of my app to break - thanks!
> N.b. I have tagged the version as 1.1.0 as it would not allow me to tag 1.1.1.



--
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-10521) Add OS X platform to docs

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10521:
-

Github user tripodsan commented on the pull request:

https://github.com/apache/cordova-docs/pull/496#issuecomment-183150004
  
ok, I added the OS X specific preferences in the config reference.


> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



--
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-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user dblotsky commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183142774
  
It looks like reusing the `Geolocator` object was done *by design*, as is 
suggested by the naming of `ensureLocator`. Also it is assumed to be a 
singleton, so creating a new one on every call to `getLocation` will lead to 
incorrect behaviour.

What exactly causes the crash when the `loc` object is reused? Does 
`addEventListener` not allow for more than one listener?


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1142.741000



--
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-10521) Add OS X platform to docs

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10521:
-

Github user rakatyal commented on the pull request:

https://github.com/apache/cordova-docs/pull/496#issuecomment-183139758
  
Yes. We don't have a standard way of doing it for now. For now it's okay to 
specify it in bold.


> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



--
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-10597) Cordova-OSX Platforms Release Feb 11, 2016

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

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

CB-10597 Updated RELEASENOTES and Version for release 4.0.0


> Cordova-OSX Platforms Release Feb 11, 2016
> --
>
> Key: CB-10597
> URL: https://issues.apache.org/jira/browse/CB-10597
> Project: Apache Cordova
>  Issue Type: Task
>  Components: OSX
>Reporter: Steve Gill
>Assignee: Tobias Bocanegra
>
> "Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-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] [Commented] (CB-10521) Add OS X platform to docs

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10521:
-

Github user riknoll commented on the pull request:

https://github.com/apache/cordova-docs/pull/496#issuecomment-183138964
  
Good point! @rakatyal do we have a standard way of doing that? Elsewhere in 
the docs we generally just mention it in the text and make the version bold, I 
think.


> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



--
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-10521) Add OS X platform to docs

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10521:
-

Github user tripodsan commented on the pull request:

https://github.com/apache/cordova-docs/pull/496#issuecomment-183138268
  
thank's @riknoll, I will incorporate the changes. one question: why don't 
we include the version of the platform when the attribute/feature was included? 
I think this could be pretty useful for developers to figure out, why a certain 
attribute doesn't work...


> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



--
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-10560) Remove platform guides for deprecated platforms

2016-02-11 Thread Richard B Knoll (JIRA)

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

Richard B Knoll closed CB-10560.

Resolution: Fixed

> Remove platform guides for deprecated platforms
> ---
>
> Key: CB-10560
> URL: https://issues.apache.org/jira/browse/CB-10560
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Docs
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: Docs-6.x, triaged
>
> Firefox OS and Amazon Fire OS platform guides are being removed. WP8 is 
> staying for now. All guides will still be available in past versions of the 
> documentation. Mailing list archive: 
> http://markmail.org/message/blpe763jewmc4sl6



--
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-10521) Add OS X platform to docs

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10521:
-

Github user riknoll commented on the pull request:

https://github.com/apache/cordova-docs/pull/496#issuecomment-183134067
  
Hello again @tripodsan! There is currently an effort going on to reorganize 
a lot of stuff in the docs to fit the new [information 
architecture](https://github.com/cordova/cordova-discuss/pull/31) and one of 
the things that is changing is that all of the platform specific config.xml 
specifications are being combined into one reference. The [dev version of the 
config 
reference](https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/config_ref/index.md)
 has been updated to include all of the config.xml preferences for all of the 
platforms. It would be great to see the preferences you give here make their 
way into the main reference page. We have formatting for XML references defined 
in the [docs 
styleguide](https://github.com/apache/cordova-docs/blob/master/doc/docs-STYLEGUIDE.md#xml-references)


> Add OS X platform to docs
> -
>
> Key: CB-10521
> URL: https://issues.apache.org/jira/browse/CB-10521
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Docs, OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> With the upcoming initial release of OSX we also need to provide 
> documentation.



--
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-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

GitHub user sarangan12 opened a pull request:

https://github.com/apache/cordova-plugin-geolocation/pull/70

CB-10574: MobileSpec can't get results for WP8.1 Builds

The MobileSpec can't get results for WP8.1 Builds. 

**Why?**
Because, one of the tests in the geolocation plugin is failing and causes 
the app to crash. This test gets the "0x80004004 - JavaScript runtime error: 
Operation aborted" error. So, the app crashes. The issue around this test must 
be fixed for the CI to finish successfully for Windows Phone 8.1. 

**What is the scenario for the crash?**
The scenario could be seen manually also. When you run the mobilespec test 
for geolocatio API, try the following steps:

1. Start Watching 
2. Stop Watching
3. Start Watching
4. Start Watching 

The app will crash in step 4. But it will not crash on step 3.  

**Why does the app crash on step 4?**

Per code, the loc object (instance of 
Windows.Devices.Geolocation.Geolocator object) is being reused in both the 
steps - which causes the crash. 

**What is the fix?**

The current fix is to create  a new instance of the object instead of 
resuing the same object. I have validated the fix by running the geolocation 
tests and all of them are passing. 


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

$ git pull https://github.com/sarangan12/cordova-plugin-geolocation CB-10574

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

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


commit fbe3bdaef60155cefe2cf789cc62cb27e5a8a3af
Author: Sarangan Rajamanickam 
Date:   2016-02-12T00:19:04Z

CB-10574: MobileSpec can't get results for WP8.1 Builds

MobileSpec can't get results for WP8.1 Builds




> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1142.741000



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

[jira] [Created] (CB-10597) Cordova-OSX Platforms Release Feb 11, 2016

2016-02-11 Thread Steve Gill (JIRA)
Steve Gill created CB-10597:
---

 Summary: Cordova-OSX Platforms Release Feb 11, 2016
 Key: CB-10597
 URL: https://issues.apache.org/jira/browse/CB-10597
 Project: Apache Cordova
  Issue Type: Task
  Components: OSX
Reporter: Steve Gill
Assignee: Tobias Bocanegra


"Following steps at 
https://github.com/apache/cordova-coho/blob/master/docs/platforms-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] [Commented] (CB-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

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

https://github.com/apache/cordova-docs/pull/493#discussion_r52689249
  
--- Diff: tools/bin/fetch_docs.js ---
@@ -0,0 +1,144 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+"use strict";
+
+var fs= require("fs");
+var fse   = require("fs-extra");
+var https = require("https");
+var path  = require("path");
+var child_process = require("child_process");
+var yaml  = require("js-yaml");
+
+// constants
+var DEFAULT_REPO_PATH = "README.md";
+
+function generateFrontMatter (useDirectSrcURI, filePath, name, version) {
+var obj = {};
+
+if(useDirectSrcURI) {
+filePath= 
filePath.replace("https://raw.githubusercontent.com/";, "");
+var filePathSplit   = filePath.split("/");
+name= filePathSplit[0] + "/" + filePathSplit[1];
+version = filePathSplit[2];
+filePath= filePathSplit.slice(3).join("/");
+}
+
+obj.edit_link   = getRepoURIForFrontMatter(name, version, 
filePath);
+obj.note_link   = "https://github.com/"; + name + "/releases";
+obj.note= "This documentation is for the " + version + 
" version of the " + name + ".";
+obj.note_link_text  = "Visit Github for other versions.";
--- End diff --

Please move this logic to the Jekyll side. Instead set a variable called 
something like `plugin_version`, and construct the link in HTML.


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

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

https://github.com/apache/cordova-docs/pull/493#discussion_r52689198
  
--- Diff: www/_layouts/docs.html ---
@@ -183,6 +183,21 @@ {{ page.toc_text }}
 
 {% endif %}
 
+
+{% if page.note_link and page.note_link_text %}
+
+
+
+×
+
+{{ page.note }}
+
+{{ page.note_link_text }}
+
+
+
+{% endif %}
--- End diff --

Please adjust this code with respect to the comment on `fetch_docs.js`, and 
to trigger when `plugin_version` is specified.


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

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

https://github.com/apache/cordova-docs/pull/493#discussion_r52688661
  
--- Diff: tools/bin/fetch_docs.js ---
@@ -0,0 +1,144 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+"use strict";
+
+var fs= require("fs");
+var fse   = require("fs-extra");
+var https = require("https");
+var path  = require("path");
+var child_process = require("child_process");
+var yaml  = require("js-yaml");
+
+// constants
+var DEFAULT_REPO_PATH = "README.md";
+
+function generateFrontMatter (useDirectSrcURI, filePath, name, version) {
+var obj = {};
+
+if(useDirectSrcURI) {
+filePath= 
filePath.replace("https://raw.githubusercontent.com/";, "");
+var filePathSplit   = filePath.split("/");
+name= filePathSplit[0] + "/" + filePathSplit[1];
+version = filePathSplit[2];
+filePath= filePathSplit.slice(3).join("/");
+}
--- End diff --

Please use a regex here.


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52687280
  
--- Diff: cordova-plugin-mobilespec-tests/tests/datauri.tests.js ---
@@ -27,6 +27,7 @@ exports.defineAutoTests = function () {
 
 function onMessage(done, msg) {
 if (msg.data == 'foo') {
+expect('Suppress SPEC HAS NO EXPECTATIONS').toBeDefined();
--- End diff --

it's not my code...I just fixed the warning :-) I think the test has no 
expectations because it just needs to wait for the async() to finish. Also, I 
think this warning was fixed in a more modern jasmine version.


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

Github user stevengill commented on the pull request:

https://github.com/apache/cordova-docs/pull/493#issuecomment-183105034
  
Just finished my run through. 

LGTM.

It is nice to not leave the site to see the docs. I also like how it pulls 
the latest release and warns users about the version. More useful than npm's 
readme. 


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10596) Android OSX builds finish with warning over mobilespec localxhr tests

2016-02-11 Thread Raghav (JIRA)
Raghav created CB-10596:
---

 Summary: Android OSX builds finish with warning over mobilespec 
localxhr tests
 Key: CB-10596
 URL: https://issues.apache.org/jira/browse/CB-10596
 Project: Apache Cordova
  Issue Type: Test
Reporter: Raghav
Priority: Minor


Recent builds with failure:
https://ci.apache.org/builders/cordova-android-osx/builds/1771
https://ci.apache.org/builders/cordova-android-osx/builds/1773
https://ci.apache.org/builders/cordova-android-osx/builds/1774

Build log:

Getting test results for cordova-android-osx-1771-buildbot-vm
Results at 
http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-android-osx-1771-buildbot-vm__4.4.4__sdk
Total failures: 1
Failing tests:
org.apache.cordova.mobilespec.tests.localXHR.tests >> XMLHttpRequest 
XMLHttpRequest.spec.9 calls onload from successful http get
Error: Timeout - Async callback was not invoked within timeout 
specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
Error: Timeout - Async callback was not invoked within timeout 
specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at 
file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23



--
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-10595) Windows Store 8.1 builds finish with warning 'Expected undefined to be defined' on running mobilespec storage tests

2016-02-11 Thread Raghav (JIRA)

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

Raghav updated CB-10595:

Summary: Windows Store 8.1 builds finish with warning 'Expected undefined 
to be defined' on running mobilespec storage tests  (was: Windows Store 8.1 
builds finish with warning 'Expected undefined to be defined' on running 
storage tests)

> Windows Store 8.1 builds finish with warning 'Expected undefined to be 
> defined' on running mobilespec storage tests
> ---
>
> Key: CB-10595
> URL: https://issues.apache.org/jira/browse/CB-10595
> Project: Apache Cordova
>  Issue Type: Test
>Reporter: Raghav
>  Labels: found-by-ci, windows-store-8.1
>
> Recent build links:
> https://ci.apache.org/builders/cordova-windows-store8.1/builds/1601
> https://ci.apache.org/builders/cordova-windows-store8.1/builds/1602
> Build Log:
> Getting test results for cordova-windows-store8.1-1601-buildbot-vm
> Results at 
> http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-1601-buildbot-vm__6.3.9600.16384__HP
>  Z420 Workstation
> Total failures: 1
> Failing tests:
> org.apache.cordova.mobilespec.tests.storage.tests >> Session Storage HTML 
> 5 Storage storage.spec.9 should exist
> Expected undefined to be defined.
> Error: Expected undefined to be defined.
>at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js:183:17)
>at attemptSync 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:9)
>at QueueRunner.prototype.run 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
>at QueueRunner.prototype.execute 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1714:5)
> program finished with exit code 0



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

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



[jira] [Commented] (CB-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-docs/pull/493#issuecomment-183101764
  
Looks good!


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10595) Windows Store 8.1 builds finish with warning 'Expected undefined to be defined' on running storage tests

2016-02-11 Thread Raghav (JIRA)
Raghav created CB-10595:
---

 Summary: Windows Store 8.1 builds finish with warning 'Expected 
undefined to be defined' on running storage tests
 Key: CB-10595
 URL: https://issues.apache.org/jira/browse/CB-10595
 Project: Apache Cordova
  Issue Type: Test
Reporter: Raghav


Recent build links:
https://ci.apache.org/builders/cordova-windows-store8.1/builds/1601
https://ci.apache.org/builders/cordova-windows-store8.1/builds/1602

Build Log:
Getting test results for cordova-windows-store8.1-1601-buildbot-vm
Results at 
http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-1601-buildbot-vm__6.3.9600.16384__HP
 Z420 Workstation
Total failures: 1
Failing tests:
org.apache.cordova.mobilespec.tests.storage.tests >> Session Storage HTML 5 
Storage storage.spec.9 should exist
Expected undefined to be defined.
Error: Expected undefined to be defined.
   at stack 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
   at buildExpectationResult 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
   at expectationResultFactory 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
   at Spec.prototype.addExpectationResult 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
   at addExpectationResult 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
   at Anonymous function 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
   at Anonymous function 
(ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.mobilespec.tests/tests/storage.tests.js:183:17)
   at attemptSync 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:9)
   at QueueRunner.prototype.run 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
   at QueueRunner.prototype.execute 
(ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1714:5)
program finished with exit code 0




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

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



[jira] [Commented] (CB-9393) Embedded use case is undocumented for Cordova-Android 4.0.x

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9393:


Github user riknoll commented on the pull request:

https://github.com/apache/cordova-docs/pull/498#issuecomment-183097926
  
Awesome! I'll give this a try when I get a moment.


> Embedded use case is undocumented for Cordova-Android 4.0.x
> ---
>
> Key: CB-9393
> URL: https://issues.apache.org/jira/browse/CB-9393
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.0.1
>Reporter: Joe Bowser
>Assignee: Joe Bowser
> Fix For: 5.0.0
>
>
> We broke the embedded webview use case for Android 4.0.x. and it's currently 
> difficult to embed a webview without some gradle editing.  We should probably 
> work on getting the Embedded WebView use case to work out of the box for 
> Gradle, and in the meantime document all the workarounds for getting an 
> embedded webview in Android Studio to actually work.



--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

Github user stevengill commented on the pull request:

https://github.com/apache/cordova-docs/pull/493#issuecomment-183096395
  
BTW, I had a merge conflict when pulling this in. Need to rebase this off 
the latest master I believe. 


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

Github user stevengill commented on the pull request:

https://github.com/apache/cordova-docs/pull/493#issuecomment-183095394
  
I'm testing this now. Just pulled it into my local copy


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10552) Pull all the plugin docs to Cordova

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10552:
-

Github user dblotsky commented on the pull request:

https://github.com/apache/cordova-docs/pull/493#issuecomment-183092935
  
@sarangan12 looks like the mailing list is quiet about this. @riknoll any 
feedback?


> Pull all the plugin docs to Cordova
> ---
>
> Key: CB-10552
> URL: https://issues.apache.org/jira/browse/CB-10552
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Sarangan Rajamanickam
>Assignee: Sarangan Rajamanickam
>




--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52680237
  
--- Diff: cordova-plugin-mobilespec-tests/tests/datauri.tests.js ---
@@ -27,6 +27,7 @@ exports.defineAutoTests = function () {
 
 function onMessage(done, msg) {
 if (msg.data == 'foo') {
+expect('Suppress SPEC HAS NO EXPECTATIONS').toBeDefined();
--- End diff --

Why don't the tests themselves have any `expect`s? Also, there are two 
identical `describe`s in this file. Is that expected?


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10594) geolocation.spec.10 crashes Windows Phone 8.1

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10594:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/69#discussion_r52679939
  
--- Diff: tests/tests.js ---
@@ -174,8 +174,12 @@ exports.defineAutoTests = function () {
 describe('error callback', function () {
 
 var errorWatch = null;
-afterEach(function () {
-navigator.geolocation.clearWatch(errorWatch);
+afterEach(function (done) {
+// Workaround to avoid the crash "0x80004004 - JavaScript 
runtime error: Operation aborted" on Windows
+setTimeout(function () {
+navigator.geolocation.clearWatch(errorWatch);
+done();
+}, 100);
--- End diff --

This looks like magic. Why does 100ms fix the issue?


> geolocation.spec.10 crashes Windows Phone 8.1
> -
>
> Key: CB-10594
> URL: https://issues.apache.org/jira/browse/CB-10594
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>  Labels: test
>
> 0x80004004 - JavaScript runtime error: Operation aborted



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 4935cb5bc95e0cc14fb5009435826187fa784e43 in cordova-mobile-spec's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=4935cb5 ]

CB-10572 Mobilespec tests not working for OSX

- OSX plugin list only activates when osx is only platform to test


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52677657
  
--- Diff: createmobilespec/createmobilespec.js ---
@@ -498,6 +522,15 @@ function pluginIdToDirName(id) {
 // install plugins for each platform
 function installPlugins() {
 var plugins = DEFAULT_PLUGINS;
+
+// special override for osx
+if (argv.osx) {
+if (platforms.length > 1) {
--- End diff --

@tripodsan thanks!


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52677350
  
--- Diff: createmobilespec/createmobilespec.js ---
@@ -498,6 +522,15 @@ function pluginIdToDirName(id) {
 // install plugins for each platform
 function installPlugins() {
 var plugins = DEFAULT_PLUGINS;
+
+// special override for osx
+if (argv.osx) {
+if (platforms.length > 1) {
--- End diff --

ok. I'll change it


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52677263
  
--- Diff: cordova-plugin-mobilespec-tests/tests/datauri.tests.js ---
@@ -27,6 +27,7 @@ exports.defineAutoTests = function () {
 
 function onMessage(done, msg) {
 if (msg.data == 'foo') {
+expect('Suppress SPEC HAS NO EXPECTATIONS').toBeDefined();
--- End diff --

without it, the tests show the "Spec has no Expectation" warnings. this 
fixes it.
see 
http://stackoverflow.com/questions/27016235/angular-js-unit-testing-httpbackend-spec-has-no-expectations


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10592) cordova additionally quotes platform specific arguments when used programmatically

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10592:
-

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

https://github.com/apache/cordova-lib/pull/386#discussion_r52677192
  
--- Diff: cordova-lib/src/cordova/util.js ---
@@ -297,7 +297,7 @@ function ensurePlatformOptionsCompatible 
(platformOptions) {
 }).map(function (arg) {
 return opts[arg] === true ?
 '--' + arg :
-'--' + arg + '="' + opts[arg].toString() + '"';
+'--' + arg + '=' + opts[arg].toString();
--- End diff --

Why is this no longer escaped?


> cordova additionally quotes platform specific arguments when used 
> programmatically
> --
>
> Key: CB-10592
> URL: https://issues.apache.org/jira/browse/CB-10592
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.0.0
> Environment: Cordova@6.0.0, OS X or *nix machine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Some platform-specific arguments (such as {{--gradleArg}}) is additionally 
> quoted, when options passed to {{cordova.raw}} API using old format. Though 
> this is not a problem on Windows, because the command processor on handles 
> such arguments correctly, on OS X this leads to unexpected failures.
> For example running 
> {noformat}
> cordova.raw.build({
> platforms: [android],
> options: ["--gradleArg=--no-daemon"]
> })
> {noformat}
> causes gradle build failure with following message {{Task '"--no-daemon"' not 
> found in root project 'android'.}}



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52676901
  
--- Diff: createmobilespec/createmobilespec.js ---
@@ -498,6 +522,15 @@ function pluginIdToDirName(id) {
 // install plugins for each platform
 function installPlugins() {
 var plugins = DEFAULT_PLUGINS;
+
+// special override for osx
+if (argv.osx) {
+if (platforms.length > 1) {
--- End diff --

This will override the plugins for all platforms, which is incorrect 
behaviour. Perhaps make the logic override plugins when OSX is the *only* 
specified platform?


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

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

https://github.com/apache/cordova-mobile-spec/pull/137#discussion_r52676734
  
--- Diff: cordova-plugin-mobilespec-tests/tests/datauri.tests.js ---
@@ -27,6 +27,7 @@ exports.defineAutoTests = function () {
 
 function onMessage(done, msg) {
 if (msg.data == 'foo') {
+expect('Suppress SPEC HAS NO EXPECTATIONS').toBeDefined();
--- End diff --

What does this expect do?


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10510) medic-run doesn't check to make sure the emulator started

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10510:
-

GitHub user riknoll opened a pull request:

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

CB-10510: Add an optional timeout to emu start script

The `emulator.js` script waits forever for the emulator to boot. If the 
emulator gets stuck, it will never terminate. The reason for adding this 
timeout is that the Android emulator on Windows occasionally hangs while 
booting up. This causes problems in our CI, where the run step would go on 
forever until buildbot eventually cut it off (see 
[here](https://ci.apache.org/builders/cordova-android-win/builds/1588/steps/running-tests/logs/stdio)
 for an example run). I have an upcoming PR for cordova-medic that switches 
from using `cordova run` to start the emulator to requiring this script 
directly so that we can add retry logic for the emulator start. I don't think 
it really makes sense to expose the timeout option in the CLI itself, so this 
PR does not alter the CLI's behavior at all (it will still hang). I'm not sure 
if we should add in a default timeout or not.

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

$ git pull https://github.com/MSOpenTech/cordova-android CB-10510

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

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


commit 723393168127524f5f23d931bbcf171edbd08d39
Author: riknoll 
Date:   2016-02-11T21:37:00Z

CB-10510: Add an optional timeout to emu start script

The script used to wait forever for the emulator to boot.
If the emulator got stuck, it would never terminate.
This timeout is being added to support cordova-medic and
the CI.




> medic-run doesn't check to make sure the emulator started
> -
>
> Key: CB-10510
> URL: https://issues.apache.org/jira/browse/CB-10510
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Medic
> Environment: Windows, Android emulator
>Reporter: Richard B Knoll
>Assignee: Richard B Knoll
>  Labels: android, found-by-ci
>
> Medic doesn't check to see if the emulator actually starts when invoking 
> {{cordova run android}}. Instead, it starts polling cordova-vm immediately. 
> This might also be considered a bug in cordova-android's run script, which 
> just seems to hang if the emulator doesn't start. Example build is here:
> https://ci.apache.org/builders/cordova-android-win/builds/1488/steps/running-tests/logs/stdio
> And adb logs are here:
> https://ci.apache.org/builders/cordova-android-win/builds/1488/steps/gathering-logs/logs/stdio
> 
> Log:
> C:\Users\buildbot\slaves\apache\cordova-android-win\mobilespec>node  
> C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-cli\bin\cordova 
> run --emulator android -- --gradle 
> ANDROID_HOME=C:\Android\android-sdk
> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55
> No emulator specified, defaulting to Galaxy_Nexus
> Waiting for emulator...
> WARNING: init: Missing WGL extension WGL_ARB_make_current_read
> emulator: warning: opening audio output failed
> emulator: emulator window was out of view and was recentered
> emulator: UpdateChecker: skipped version check
> Booting up emulator (this may take a 
> while)query failed for 
> mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 
> 'ETIMEDOUT', syscall: 'connect' }
> .query failed for mobilespec_results { 
> [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 
> 'connect' }
> ..query failed for mobilespec_results { [Error: connect 
> ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> query
>  failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> ...query
>  failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 
> 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
> ...didn't get test 
> results: timed out
> program finished with exit code 1
> elapsedTime=1150.659000



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

-
To unsubscribe, e-mail: issue

[jira] [Commented] (CB-9393) Embedded use case is undocumented for Cordova-Android 4.0.x

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-9393:


GitHub user infil00p opened a pull request:

https://github.com/apache/cordova-docs/pull/498

CB-9393: Documenting how to embed a SystemWebView 

This is designed with Android Studio in mind.

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

$ git pull https://github.com/infil00p/cordova-docs master

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

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


commit d9bf99a51dae980a30e55c1510548f6245c05332
Author: Joe Bowser 
Date:   2016-02-11T21:35:56Z

CB-9393: Documenting how to embed a SystemWebView in an Android Studio 
project




> Embedded use case is undocumented for Cordova-Android 4.0.x
> ---
>
> Key: CB-9393
> URL: https://issues.apache.org/jira/browse/CB-9393
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 4.0.1
>Reporter: Joe Bowser
>Assignee: Joe Bowser
> Fix For: 5.0.0
>
>
> We broke the embedded webview use case for Android 4.0.x. and it's currently 
> difficult to embed a webview without some gradle editing.  We should probably 
> work on getting the Embedded WebView use case to work out of the box for 
> Gradle, and in the meantime document all the workarounds for getting an 
> embedded webview in Android Studio to actually work.



--
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-10587) Visual Studios Char limit Android play services

2016-02-11 Thread Joe Bowser (JIRA)

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

Joe Bowser resolved CB-10587.
-
Resolution: Won't Fix

Agreed.  This has nothing to do with Cordova and is a VS2015 issue, closing.

> Visual Studios Char limit Android play services
> ---
>
> Key: CB-10587
> URL: https://issues.apache.org/jira/browse/CB-10587
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.0.0
> Environment: Visual Studios 2015 Enterprise
>Reporter: Robert Kennedy
>Priority: Blocker
>
> When building with a plugin that requires google services, such as a geofence 
> plugin or a google analytics plugin. There is a 240 character limit that is 
> breached and building fails. It is trying to access a .png that is at 
> project\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable-hdpi.
>  With the additinonal 4-5 folders above this, it easily breask the 240 
> character limit of VS and windows. Very frustrating since play-services are 
> required for a lot of things.
> However, in Cordova 5.4.1 and lower, this issues of 240 character limit does 
> not exist...



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

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



[jira] [Comment Edited] (CB-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Torsten Freyhall (JIRA)

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

Torsten Freyhall edited comment on CB-10530 at 2/11/16 8:34 PM:


Checked a little more, and the reason for the freeze is because the 
handleBridgeChange() function always indicates that the bridge has changed 
since `if (execProxy !== cordovaExec())` always returns true.

Bridge change causes the current command stack to be executed in the new 
bridge, which then runs pokeNative again. The handleBridgeChange basically does 
while(var a = stack.shift()) { exec(a) } and then exec(a) does stack.push(a), 
which causes the inifinite loop since stack is never emptied, because the 
bridge hasn't actually changed.

This was changed in the recent commit f2e056e5fe945801b518b752871f5c64c0a28a88, 
which makes sense since this was changed between cordova-ios 3.9 and 4.0.

I can't really understand what is the intended check, maybe [~shazron] can have 
a look at what was intented?



was (Author: toostn):
Checked a little more, and the reason for the freeze is because the 
handleBridgeChange() function always indicates that the bridge has changed 
since `if (execProxy !== cordovaExec())` always returns true.

Bridge change causes the current command stack to be executed in the new 
bridge, which then runs pokeNative again. The handleBridgeChange basically does 
while(var a = stack.shift()) { exec(a) } and then exec(a) does stack.push(a), 
which causes the inifinite loop since stack is never emptied.

This was changed in the recent commit f2e056e5fe945801b518b752871f5c64c0a28a88, 
which makes sense since this was changed between cordova-ios 3.9 and 4.0.

I can't really understand what is the intended check, maybe [~shazron] can have 
a look at what was intented?


> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Priority: Critical
>  Labels: triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



--
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-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Torsten Freyhall (JIRA)

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

Torsten Freyhall commented on CB-10530:
---

Also pinging [~purplecabbage] who also seem to have commited code to this file 
recently regarding bridges.

> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Priority: Critical
>  Labels: triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



--
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-10530) App freezes sometimes directly after starting on iOS

2016-02-11 Thread Torsten Freyhall (JIRA)

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

Torsten Freyhall commented on CB-10530:
---

Checked a little more, and the reason for the freeze is because the 
handleBridgeChange() function always indicates that the bridge has changed 
since `if (execProxy !== cordovaExec())` always returns true.

Bridge change causes the current command stack to be executed in the new 
bridge, which then runs pokeNative again. The handleBridgeChange basically does 
while(var a = stack.shift()) { exec(a) } and then exec(a) does stack.push(a), 
which causes the inifinite loop since stack is never emptied.

This was changed in the recent commit f2e056e5fe945801b518b752871f5c64c0a28a88, 
which makes sense since this was changed between cordova-ios 3.9 and 4.0.

I can't really understand what is the intended check, maybe [~shazron] can have 
a look at what was intented?


> App freezes sometimes directly after starting on iOS
> 
>
> Key: CB-10530
> URL: https://issues.apache.org/jira/browse/CB-10530
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.0.0
> Environment: OSX El Capitan 10.11.3, XCODE (7.2.1), iOS 9.2.1, 
> cordova 6.0.0, ionic 1.7.14
>Reporter: Florian Krüger
>Priority: Critical
>  Labels: triaged
> Attachments: Instruments.trace.zip
>
>
> * Installed the "ionic start myApp sidemenu" example application
> * Start XCODE (7.2.1)
> * Start the app by clicking the run button from  xCODE
> * The app probably starts as expected.
> * Repeat the start process until the app freezes.
> The app sometimes freezes completely. If this happens you cannot do anything 
> with the app (you need to push the home button and close the app via task 
> manager). I had the same issue for another more complex app.
> The CPU stays at around 99% workload.
> I made a snapshot of the profiler (Instruments)
>  



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:11 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
"bundledDependencies": ["xcode"]
{code}

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code}

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:09 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code}

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code:xml}

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:10 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code}

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code}

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:08 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:javascript}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code:xml}

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:json}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code:xml}

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:08 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

{code:json}
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
{code:xml}

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

```
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
```

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



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

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



[jira] [Comment Edited] (CB-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman edited comment on CB-10547 at 2/11/16 8:05 PM:
-

Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

```
"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]
```

Hope it helps.


was (Author: akofman):
Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



--
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-10547) Update xcode package dependency to latest version instead of 0.8.0

2016-02-11 Thread Alexis Kofman (JIRA)

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

Alexis Kofman commented on CB-10547:


Hello Mitul,

I'm in the same case. In order to wait for this version update I added the last 
version of xcode in the bundled dependencies of my plugin.xml :

"dependencies": {
"xcode": "^0.8.3",
 },
 "bundledDependencies": ["xcode"]

Hope it helps.

> Update xcode package dependency to latest version instead of 0.8.0
> --
>
> Key: CB-10547
> URL: https://issues.apache.org/jira/browse/CB-10547
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Affects Versions: 6.0.0
>Reporter: Mitul Golakiya
>  Labels: xcode
>
> Hi,
> I am creating one custom plugin for cordova for iOS and Android where I came 
> to tweak a settings of xcode project. At there I need to add a new "Copy 
> Files Build Phase" into xcode project.
> It seems like Cordova-Lib 6.0.0 has dependency of xcode of 0.8.0. But xcode 
> 0.8.0 doesn't have capabilities to adding a "Copy Files Build Phase". Its 
> available in 0.8.3 latest version.
> Can I have any way to use the latest version or any work around for this ? 
> Actually I got stuck here.



--
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-10535) cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10535:
-

Github user omefire closed the pull request at:

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


> cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'
> 
>
> Key: CB-10535
> URL: https://issues.apache.org/jira/browse/CB-10535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>Priority: Critical
>  Labels: found-by-ci, ios, triaged
>
> CI fails with timeout: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/running-tests/logs/stdio
> This might be due to this crash: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/gathering-logs/logs/stdio
> I suspect this might be caused by a cordova-plugin-media failure
> ==
> File Content:
> Feb  4 12:23:29 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Stopped playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Media with id 
> 609de056-dc4d-d301-d0e4-ee6df181 released
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Will use resource 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3' from the Internet.
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
>   *** First throw call stack:
>   (
>   0   CoreFoundation  0x01cb4a84 
> __exceptionPreprocess + 180
>   1   libobjc.A.dylib 0x0174ee02 
> objc_exception_throw + 50
>   2   AVFoundation0x007855ae 
> -[AVPlayerItem seekToTime:toleranceBefore:toleranceAfter:completionHandler:] 
> + 1714
>   3   AVFoundation0x0076e49e -[AVPlayer 
> seekToTime:toleranceBefore:toleranceAfter:completionHandler:] + 174
>   4   mobilespec  0x0014cb96 -[CDVSound 
> seekToAudio:] + 2054
>   5   mobilespec  0x001791a8 
> -[CDVCommandQueue execute:] + 888
>   6   mobilespec  0x00178a00 
> -[CDVCommandQueue executePending] + 848
>   7   mobilespec  0x0016df2d 
> __40-[CDVCommandDelegateImpl evalJsHelper2:]_block_invoke + 349
>   8   mobilespec  0x0017be35 
> -[CDVUIWebViewEngine evaluateJavaScript:completionHandler:] + 181
>   9   mobilespec  0x0016dd7d 
> -[CDVCommandDelegateImpl evalJsHelper2:] + 237
>   10  libobjc.A.dylib 0x01763059 -[NSObject 
> performSelector:withObject:] + 70
>   11  Foundation  0x0135d178 
> __NSThreadPerformPerform + 323
>   12  CoreFoundation  0x01bced1f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>   13  CoreFoundation  0x01bc49ab 
> __CFRunLoopDoSources0 + 523
>   14  CoreFoundation  0x01bc3dc8 
> __CFRunLoopRun + 1032
>   15  CoreFoundation  0x01bc3706 
> CFRunLoopRunSpecific + 470
>   16  CoreFoundation  0x01bc351b 
> CFRunLoopRunInMode + 123
>   17  GraphicsServices0x05f2f664 
> GSEventRunModal + 192
>   18  GraphicsServices0x05f2f4a1 GSEventRun + 
> 104
>   19  UIKit   0x024801eb 
> UIApplicationMain + 160
>   20  mobilespec  0x000e42a9 main + 89
>   21  libdyld.dylib   0x04039a21 start + 1
>   )
> Feb  4 12:23:30 dbtiefighter SpringBoard[16597]: HW kbd: Failed to set (null) 
> as keyboard focus
> Feb  4 12:23:30 dbtiefighter 
> com.apple.CoreSimulator.SimDevice.DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3.launchd_sim[16580]
>  (UIKitApplication:org.apache.mobilespec[0x7778][62230]): Service exited due 
> to signal: Abort trap: 6
> Feb  4 12:23:31 dbtiefighter SpringBoard[16597]: Application 
> 'UIKitAp

[jira] [Commented] (CB-10535) cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10535:
-

Github user omefire commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/82#issuecomment-183021655
  
Closing this PR as it has just been merged.


> cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'
> 
>
> Key: CB-10535
> URL: https://issues.apache.org/jira/browse/CB-10535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>Priority: Critical
>  Labels: found-by-ci, ios, triaged
>
> CI fails with timeout: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/running-tests/logs/stdio
> This might be due to this crash: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/gathering-logs/logs/stdio
> I suspect this might be caused by a cordova-plugin-media failure
> ==
> File Content:
> Feb  4 12:23:29 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Stopped playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Media with id 
> 609de056-dc4d-d301-d0e4-ee6df181 released
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Will use resource 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3' from the Internet.
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
>   *** First throw call stack:
>   (
>   0   CoreFoundation  0x01cb4a84 
> __exceptionPreprocess + 180
>   1   libobjc.A.dylib 0x0174ee02 
> objc_exception_throw + 50
>   2   AVFoundation0x007855ae 
> -[AVPlayerItem seekToTime:toleranceBefore:toleranceAfter:completionHandler:] 
> + 1714
>   3   AVFoundation0x0076e49e -[AVPlayer 
> seekToTime:toleranceBefore:toleranceAfter:completionHandler:] + 174
>   4   mobilespec  0x0014cb96 -[CDVSound 
> seekToAudio:] + 2054
>   5   mobilespec  0x001791a8 
> -[CDVCommandQueue execute:] + 888
>   6   mobilespec  0x00178a00 
> -[CDVCommandQueue executePending] + 848
>   7   mobilespec  0x0016df2d 
> __40-[CDVCommandDelegateImpl evalJsHelper2:]_block_invoke + 349
>   8   mobilespec  0x0017be35 
> -[CDVUIWebViewEngine evaluateJavaScript:completionHandler:] + 181
>   9   mobilespec  0x0016dd7d 
> -[CDVCommandDelegateImpl evalJsHelper2:] + 237
>   10  libobjc.A.dylib 0x01763059 -[NSObject 
> performSelector:withObject:] + 70
>   11  Foundation  0x0135d178 
> __NSThreadPerformPerform + 323
>   12  CoreFoundation  0x01bced1f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>   13  CoreFoundation  0x01bc49ab 
> __CFRunLoopDoSources0 + 523
>   14  CoreFoundation  0x01bc3dc8 
> __CFRunLoopRun + 1032
>   15  CoreFoundation  0x01bc3706 
> CFRunLoopRunSpecific + 470
>   16  CoreFoundation  0x01bc351b 
> CFRunLoopRunInMode + 123
>   17  GraphicsServices0x05f2f664 
> GSEventRunModal + 192
>   18  GraphicsServices0x05f2f4a1 GSEventRun + 
> 104
>   19  UIKit   0x024801eb 
> UIApplicationMain + 160
>   20  mobilespec  0x000e42a9 main + 89
>   21  libdyld.dylib   0x04039a21 start + 1
>   )
> Feb  4 12:23:30 dbtiefighter SpringBoard[16597]: HW kbd: Failed to set (null) 
> as keyboard focus
> Feb  4 12:23:30 dbtiefighter 
> com.apple.CoreSimulator.SimDevice.DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3.launchd_sim[16580]
>  (UIKitApplication:org.apache.mobilespec[0x7778][62230]): Service exited due 
> to signal: Abort trap

[jira] [Commented] (CB-10535) cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

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

CB-10535: Fix CI crash caused by media plugin:
   1- [iOS] Only perform 'seek' operation if both avPlayer and avPlayerItem are 
ready,
send error to client code if they aren't ready.
   2- Deplay Media File Playing by a few seconds so that 'seek' operation 
happens only
after enough buffering has been done.


> cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'
> 
>
> Key: CB-10535
> URL: https://issues.apache.org/jira/browse/CB-10535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>Priority: Critical
>  Labels: found-by-ci, ios, triaged
>
> CI fails with timeout: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/running-tests/logs/stdio
> This might be due to this crash: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/gathering-logs/logs/stdio
> I suspect this might be caused by a cordova-plugin-media failure
> ==
> File Content:
> Feb  4 12:23:29 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Stopped playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Media with id 
> 609de056-dc4d-d301-d0e4-ee6df181 released
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Will use resource 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3' from the Internet.
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
>   *** First throw call stack:
>   (
>   0   CoreFoundation  0x01cb4a84 
> __exceptionPreprocess + 180
>   1   libobjc.A.dylib 0x0174ee02 
> objc_exception_throw + 50
>   2   AVFoundation0x007855ae 
> -[AVPlayerItem seekToTime:toleranceBefore:toleranceAfter:completionHandler:] 
> + 1714
>   3   AVFoundation0x0076e49e -[AVPlayer 
> seekToTime:toleranceBefore:toleranceAfter:completionHandler:] + 174
>   4   mobilespec  0x0014cb96 -[CDVSound 
> seekToAudio:] + 2054
>   5   mobilespec  0x001791a8 
> -[CDVCommandQueue execute:] + 888
>   6   mobilespec  0x00178a00 
> -[CDVCommandQueue executePending] + 848
>   7   mobilespec  0x0016df2d 
> __40-[CDVCommandDelegateImpl evalJsHelper2:]_block_invoke + 349
>   8   mobilespec  0x0017be35 
> -[CDVUIWebViewEngine evaluateJavaScript:completionHandler:] + 181
>   9   mobilespec  0x0016dd7d 
> -[CDVCommandDelegateImpl evalJsHelper2:] + 237
>   10  libobjc.A.dylib 0x01763059 -[NSObject 
> performSelector:withObject:] + 70
>   11  Foundation  0x0135d178 
> __NSThreadPerformPerform + 323
>   12  CoreFoundation  0x01bced1f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>   13  CoreFoundation  0x01bc49ab 
> __CFRunLoopDoSources0 + 523
>   14  CoreFoundation  0x01bc3dc8 
> __CFRunLoopRun + 1032
>   15  CoreFoundation  0x01bc3706 
> CFRunLoopRunSpecific + 470
>   16  CoreFoundation  0x01bc351b 
> CFRunLoopRunInMode + 123
>   17  GraphicsServices0x05f2f664 
> GSEventRunModal + 192
>   18  GraphicsServices0x05f2f4a1 GSEventRun + 
> 104
>   19  UIKit   0x024801eb 
> UIApplicationMain + 160
>   20  mobilespec  0x000e42a9 main + 89
>   21  libdyld.dylib   

[jira] [Commented] (CB-10535) cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10535:
-

Github user omefire commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/82#issuecomment-183009872
  
@shazron , I don't think we need to put this in the docs. I didn't see the 
issue manifest itself when played right away, just when seeked right away.


> cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'
> 
>
> Key: CB-10535
> URL: https://issues.apache.org/jira/browse/CB-10535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>Priority: Critical
>  Labels: found-by-ci, ios, triaged
>
> CI fails with timeout: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/running-tests/logs/stdio
> This might be due to this crash: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/gathering-logs/logs/stdio
> I suspect this might be caused by a cordova-plugin-media failure
> ==
> File Content:
> Feb  4 12:23:29 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Stopped playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Media with id 
> 609de056-dc4d-d301-d0e4-ee6df181 released
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Will use resource 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3' from the Internet.
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
>   *** First throw call stack:
>   (
>   0   CoreFoundation  0x01cb4a84 
> __exceptionPreprocess + 180
>   1   libobjc.A.dylib 0x0174ee02 
> objc_exception_throw + 50
>   2   AVFoundation0x007855ae 
> -[AVPlayerItem seekToTime:toleranceBefore:toleranceAfter:completionHandler:] 
> + 1714
>   3   AVFoundation0x0076e49e -[AVPlayer 
> seekToTime:toleranceBefore:toleranceAfter:completionHandler:] + 174
>   4   mobilespec  0x0014cb96 -[CDVSound 
> seekToAudio:] + 2054
>   5   mobilespec  0x001791a8 
> -[CDVCommandQueue execute:] + 888
>   6   mobilespec  0x00178a00 
> -[CDVCommandQueue executePending] + 848
>   7   mobilespec  0x0016df2d 
> __40-[CDVCommandDelegateImpl evalJsHelper2:]_block_invoke + 349
>   8   mobilespec  0x0017be35 
> -[CDVUIWebViewEngine evaluateJavaScript:completionHandler:] + 181
>   9   mobilespec  0x0016dd7d 
> -[CDVCommandDelegateImpl evalJsHelper2:] + 237
>   10  libobjc.A.dylib 0x01763059 -[NSObject 
> performSelector:withObject:] + 70
>   11  Foundation  0x0135d178 
> __NSThreadPerformPerform + 323
>   12  CoreFoundation  0x01bced1f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>   13  CoreFoundation  0x01bc49ab 
> __CFRunLoopDoSources0 + 523
>   14  CoreFoundation  0x01bc3dc8 
> __CFRunLoopRun + 1032
>   15  CoreFoundation  0x01bc3706 
> CFRunLoopRunSpecific + 470
>   16  CoreFoundation  0x01bc351b 
> CFRunLoopRunInMode + 123
>   17  GraphicsServices0x05f2f664 
> GSEventRunModal + 192
>   18  GraphicsServices0x05f2f4a1 GSEventRun + 
> 104
>   19  UIKit   0x024801eb 
> UIApplicationMain + 160
>   20  mobilespec  0x000e42a9 main + 89
>   21  libdyld.dylib   0x04039a21 start + 1
>   )
> Feb  4 12:23:30 dbtiefighter SpringBoard[16597]: HW kbd: Failed to set (null) 
> as keyboard focus
> Feb  4 12:23:30 dbtiefighter 
> com.apple.CoreSimulator.SimDevice.DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3.launchd_sim[165

[jira] [Commented] (CB-10573) [CI] WP8.1 Build fails when trying to clone plugins

2016-02-11 Thread Richard B Knoll (JIRA)

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

Richard B Knoll commented on CB-10573:
--

[~dblotsky] can we close this?

> [CI] WP8.1 Build fails when trying to clone plugins
> ---
>
> Key: CB-10573
> URL: https://issues.apache.org/jira/browse/CB-10573
> Project: Apache Cordova
>  Issue Type: Test
>  Components: Medic, Plugin File
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Dmitry Blotsky
>Priority: Minor
>  Labels: found-by-ci
>
> Logs:
> ===
> Link:   UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
>   USERDOMAIN=DBSTARDESTROYER
>   USERDOMAIN_ROAMINGPROFILE=DBSTARDESTROYER
>   USERNAME=buildbot
>   USERPROFILE=C:\Users\buildbot
>   VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 
> 11.0\Common7\Tools\
>   VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 
> 12.0\Common7\Tools\
>   WINDIR=C:\windows
>  using PTY: False
> fatal: Could not parse object '536909e97f16872022cf88b8c32c0a87855a8005'.
> program finished with exit code 128
> elapsedTime=0.328000
> --
>  UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
>   USERDOMAIN=DBSTARDESTROYER
>   USERDOMAIN_ROAMINGPROFILE=DBSTARDESTROYER
>   USERNAME=buildbot
>   USERPROFILE=C:\Users\buildbot
>   VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 
> 11.0\Common7\Tools\
>   VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 
> 12.0\Common7\Tools\
>   WINDIR=C:\windows
>  using PTY: False
> fatal: Could not parse object '536909e97f16872022cf88b8c32c0a87855a8005'.
> program finished with exit code 128
> elapsedTime=0.328000



--
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-10535) cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10535:
-

Github user omefire commented on the pull request:


https://github.com/apache/cordova-plugin-media/pull/82#issuecomment-182996869
  
@ghenry22 ok, thanks for the explanation. 
In this case, waiting for mediaStatus to hit 2 won't help. As a matter of 
fact, the tests as they currently stand do just that.

The issue is related to seeking when not everything has been buffered yet. 
playing in that case won't elicit this behavior.


> cordova-plugin-media causes iOS app crash - 'NSInvalidArgumentException'
> 
>
> Key: CB-10535
> URL: https://issues.apache.org/jira/browse/CB-10535
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media
>Reporter: Omar Mefire
>Assignee: Omar Mefire
>Priority: Critical
>  Labels: found-by-ci, ios, triaged
>
> CI fails with timeout: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/running-tests/logs/stdio
> This might be due to this crash: 
> https://ci.apache.org/builders/cordova-ios/builds/1663/steps/gathering-logs/logs/stdio
> I suspect this might be caused by a cordova-plugin-media failure
> ==
> File Content:
> Feb  4 12:23:29 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Stopped playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Media with id 
> 609de056-dc4d-d301-d0e4-ee6df181 released
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Will use resource 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3' from the Internet.
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing audio sample 
> 'http://cordova.apache.org/downloads/BlueZedEx.mp3'
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: Playing stream with AVPlayer 
> & custom rate
> Feb  4 12:23:30 dbtiefighter mobilespec[62230]: *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 'AVPlayerItem cannot 
> service a seek request with a completion handler until its status is 
> AVPlayerItemStatusReadyToPlay.'
>   *** First throw call stack:
>   (
>   0   CoreFoundation  0x01cb4a84 
> __exceptionPreprocess + 180
>   1   libobjc.A.dylib 0x0174ee02 
> objc_exception_throw + 50
>   2   AVFoundation0x007855ae 
> -[AVPlayerItem seekToTime:toleranceBefore:toleranceAfter:completionHandler:] 
> + 1714
>   3   AVFoundation0x0076e49e -[AVPlayer 
> seekToTime:toleranceBefore:toleranceAfter:completionHandler:] + 174
>   4   mobilespec  0x0014cb96 -[CDVSound 
> seekToAudio:] + 2054
>   5   mobilespec  0x001791a8 
> -[CDVCommandQueue execute:] + 888
>   6   mobilespec  0x00178a00 
> -[CDVCommandQueue executePending] + 848
>   7   mobilespec  0x0016df2d 
> __40-[CDVCommandDelegateImpl evalJsHelper2:]_block_invoke + 349
>   8   mobilespec  0x0017be35 
> -[CDVUIWebViewEngine evaluateJavaScript:completionHandler:] + 181
>   9   mobilespec  0x0016dd7d 
> -[CDVCommandDelegateImpl evalJsHelper2:] + 237
>   10  libobjc.A.dylib 0x01763059 -[NSObject 
> performSelector:withObject:] + 70
>   11  Foundation  0x0135d178 
> __NSThreadPerformPerform + 323
>   12  CoreFoundation  0x01bced1f 
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
>   13  CoreFoundation  0x01bc49ab 
> __CFRunLoopDoSources0 + 523
>   14  CoreFoundation  0x01bc3dc8 
> __CFRunLoopRun + 1032
>   15  CoreFoundation  0x01bc3706 
> CFRunLoopRunSpecific + 470
>   16  CoreFoundation  0x01bc351b 
> CFRunLoopRunInMode + 123
>   17  GraphicsServices0x05f2f664 
> GSEventRunModal + 192
>   18  GraphicsServices0x05f2f4a1 GSEventRun + 
> 104
>   19  UIKit   0x024801eb 
> UIApplicationMain + 160
>   20  mobilespec  0x000e42a9 main + 89
>   21  libdyld.dylib   0x04039a21 start + 1
>   )
> Feb  4 12:23:30 dbtiefighter SpringBoard[16597]: HW kbd: Fai

[jira] [Updated] (CB-9762) App icon and Launch image for iPad Pro

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-9762:
-
Attachment: Default-Landscape@2x~ipad-pro.png
Default-Portrait@2x~ipad-pro.png

Attached the launchimages I created.

> 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
>  Components: iOS
>Affects Versions: 4.0.0
>Reporter: Manuel Martiarena
>  Labels: cordova-ios-4.1.0, iPadPro
> 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-9762) App icon and Launch image for iPad Pro

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-9762:
--

Seems like iPad Pro won't be supported for launch images (and there will be no 
slot for it in asset catalogs), they want us to go the Launch Screen storyboard 
method Kerri described, so this will take longer than expected.

https://openradar.appspot.com/22915712

> 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
>  Components: iOS
>Affects Versions: 4.0.0
>Reporter: Manuel Martiarena
>Assignee: Shazron Abdullah
>  Labels: cordova-ios-4.1.0, iPadPro
>
> 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] [Updated] (CB-9762) App icon and Launch image for iPad Pro

2016-02-11 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-9762:
-
Assignee: (was: Shazron Abdullah)

> 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
>  Components: iOS
>Affects Versions: 4.0.0
>Reporter: Manuel Martiarena
>  Labels: cordova-ios-4.1.0, iPadPro
>
> 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] [Resolved] (CB-10572) Mobilespec tests not working for OSX

2016-02-11 Thread Tobias Bocanegra (JIRA)

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

Tobias Bocanegra resolved CB-10572.
---
Resolution: Fixed

> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10572:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-mobile-spec/pull/137


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10579) WebSQL mobilespec tests don't work on OSX

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 0886ceec19fadb648e038c172a52e3a8fc327678 in cordova-mobile-spec's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=0886cee ]

CB-10579 WebSQL mobilespec tests don't work on OSX


> WebSQL mobilespec tests don't work on OSX
> -
>
> Key: CB-10579
> URL: https://issues.apache.org/jira/browse/CB-10579
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
>
> WebSQL tests currently fail on OSX:
> {noformat}
> org.apache.cordova.mobilespec.tests.storage.tests >> Session Storage HTML 5 
> Storage HTML 5 Storage storage.spec.18 Should be able to create and drop 
> tables
> SecurityError: SecurityError: DOM Exception 18
> {noformat}



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

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



[jira] [Commented] (CB-10572) Mobilespec tests not working for OSX

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

Commit d422861b1127bcca08fb92324711827e5539719f in cordova-mobile-spec's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=d422861 ]

CB-10572 Mobilespec tests not working for OSX


> Mobilespec tests not working for OSX
> 
>
> Key: CB-10572
> URL: https://issues.apache.org/jira/browse/CB-10572
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Tobias Bocanegra
>Assignee: Tobias Bocanegra
> Fix For: Master
>
>
> The mobile spec don't work. when you run them, the window opens but non of 
> the tests work.



--
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-10533) [ios]Statusbar plugin freezes/breaks app

2016-02-11 Thread Swigle (JIRA)

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

Swigle commented on CB-10533:
-

A litte update from my project.

I re-read the link you gave earlier and tried some other things.
I eventually fixed all the issues, by wrapping all the calls to native plugins 
in the deviceReady event in setTimeout() calls. This fixed the issue 
immediately.

So it seems there is a race condition going on somewhere, or the deviceready 
event is called before everything else (plugins?) are fully loaded.

> [ios]Statusbar plugin freezes/breaks app
> 
>
> Key: CB-10533
> URL: https://issues.apache.org/jira/browse/CB-10533
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: cordova 6, cordova for iOS 4.0.1
>Reporter: Swigle
>  Labels: ios, triaged
>
> I have a Sencha project with cordova implemented.
> When i add the statusbar (2.1.0) to my project, build the app, and run it in 
> xcode simulator the app will freeze immediately en become unresponsive.
> In the debug navigator in xcode i can see the CPU is using near 100% 
> continuously and the amount of memory climbs at a steady pace with about 
> 120MB/s until it crashes completely.
> Removing the plugin immediately fixes this issue and the app works as 
> intended.



--
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-10555) the 87X87 png not appear after "cordova build ios --device"

2016-02-11 Thread Ben Connito (JIRA)

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

Ben Connito commented on CB-10555:
--

this issue is resolved and pending release

> the 87X87 png not appear after "cordova build ios --device"
> ---
>
> Key: CB-10555
> URL: https://issues.apache.org/jira/browse/CB-10555
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 4.0.1
> Environment: Cordova 6.0 + iOS 4.0.1 + Xcode 7.2
>Reporter: Colin Bau
>  Labels: triaged
>
> all detail under
> http://www.littlebau.com/cordova_issue/87.png
> I am very sure my png is good to work



--
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-10587) Visual Studios Char limit Android play services

2016-02-11 Thread Ben Connito (JIRA)

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

Ben Connito commented on CB-10587:
--

I believe this is simply the 255 char limit in windows.

https://support.code42.com/CrashPlan/4/Troubleshooting/Windows_File_Paths_Longer_Than_255_Characters

I have run into this before with the facebook sdk. I mapped my project folder 
to a drive letter and was able to work around it.

But I really think this is a current windows limitation and not a cordova 
limitation.

> Visual Studios Char limit Android play services
> ---
>
> Key: CB-10587
> URL: https://issues.apache.org/jira/browse/CB-10587
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 6.0.0
> Environment: Visual Studios 2015 Enterprise
>Reporter: Robert Kennedy
>Priority: Blocker
>
> When building with a plugin that requires google services, such as a geofence 
> plugin or a google analytics plugin. There is a 240 character limit that is 
> breached and building fails. It is trying to access a .png that is at 
> project\platforms\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\8.3.0\res\drawable-hdpi.
>  With the additinonal 4-5 folders above this, it easily breask the 240 
> character limit of VS and windows. Very frustrating since play-services are 
> required for a lot of things.
> However, in Cordova 5.4.1 and lower, this issues of 240 character limit does 
> not exist...



--
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-10594) geolocation.spec.10 crashes Windows Phone 8.1

2016-02-11 Thread Sergey Shakhnazarov (JIRA)
Sergey Shakhnazarov created CB-10594:


 Summary: geolocation.spec.10 crashes Windows Phone 8.1
 Key: CB-10594
 URL: https://issues.apache.org/jira/browse/CB-10594
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Geolocation
Reporter: Sergey Shakhnazarov
Assignee: Sergey Shakhnazarov


0x80004004 - JavaScript runtime error: Operation aborted



--
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-10594) geolocation.spec.10 crashes Windows Phone 8.1

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10594:
-

GitHub user daserge opened a pull request:

https://github.com/apache/cordova-plugin-geolocation/pull/69

CB-10594 geolocation.spec.10 crashes Windows Phone 8.1

[Jira issue](https://issues.apache.org/jira/browse/CB-10594)

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-geolocation CB-10594

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

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


commit 15ff13bb7828334cd50850cc49949046a93a9a19
Author: daserge 
Date:   2016-02-11T15:25:59Z

CB-10594 geolocation.spec.10 crashes Windows Phone 8.1




> geolocation.spec.10 crashes Windows Phone 8.1
> -
>
> Key: CB-10594
> URL: https://issues.apache.org/jira/browse/CB-10594
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Reporter: Sergey Shakhnazarov
>Assignee: Sergey Shakhnazarov
>  Labels: test
>
> 0x80004004 - JavaScript runtime error: Operation aborted



--
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-10593) captureVideo: Android 6.0.1 camera crashes if video exceeds duration

2016-02-11 Thread Geoffrey Bauduin (JIRA)
Geoffrey Bauduin created CB-10593:
-

 Summary: captureVideo: Android 6.0.1 camera crashes if video 
exceeds duration
 Key: CB-10593
 URL: https://issues.apache.org/jira/browse/CB-10593
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media Capture
 Environment: cordova-android@4.1.1
Reporter: Geoffrey Bauduin


I use this plugin in order to capture a video that can last, at most, 10 
seconds.

{code:title=camera.ts|borderStyle=solid}
this.window["navigator"]["device"]["capture"].captureVideo((data:any) => {
  if (data.length > 0) {
observer.next(data[0].fullPath);
  } else {
observer.error("Cannot find recorded video");
  }
}, (error:string) => {
  console.error("Cannot get video from camera:", error);
  observer.error(error);
}, {
  duration: 10,
  limit: 1,
  quality: 0
});
{code}

Everything is working as intended when I stop the video by myself before the 10 
seconds, but if my video exceeds 10 seconds, the camera application crashes.



--
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-10592) cordova additionally quotes platform specific arguments when used programmatically

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10592:
-

GitHub user vladimir-kotikov opened a pull request:

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

CB-10592 Don't quote platform specific args values

See JIRA [CB-10592](https://issues.apache.org/jira/browse/CB-10592)

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

$ git pull https://github.com/MSOpenTech/cordova-lib CB-10592

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

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


commit 7e3100492adfc87af6175117e976565e27a3
Author: Vladimir Kotikov 
Date:   2016-02-11T12:28:03Z

CB-10592 Don't quote platform specific args values

commit 87b8bedc29e867d7da2745ff36a3107c7b15bc80
Author: Vladimir Kotikov 
Date:   2016-02-11T14:03:45Z

CB-10592 Add tests to cover the argiments compatibility logic




> cordova additionally quotes platform specific arguments when used 
> programmatically
> --
>
> Key: CB-10592
> URL: https://issues.apache.org/jira/browse/CB-10592
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.0.0
> Environment: Cordova@6.0.0, OS X or *nix machine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Some platform-specific arguments (such as {{--gradleArg}}) is additionally 
> quoted, when options passed to {{cordova.raw}} API using old format. Though 
> this is not a problem on Windows, because the command processor on handles 
> such arguments correctly, on OS X this leads to unexpected failures.
> For example running 
> {noformat}
> cordova.raw.build({
> platforms: [android],
> options: ["--gradleArg=--no-daemon"]
> })
> {noformat}
> causes gradle build failure with following message {{Task '"--no-daemon"' not 
> found in root project 'android'.}}



--
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-10411) Error in file.spec.129 of cordova-plugin-file

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10411:
-

GitHub user daserge opened a pull request:

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

CB-10411 Error in file.spec.129 of cordova-plugin-file

Check if external storage is available

[Jira issue](https://issues.apache.org/jira/browse/CB-10411)

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

$ git pull https://github.com/MSOpenTech/cordova-plugin-file CB-10411

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

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


commit f231e7c001b5fb79b96bbad71d465d79f6d25855
Author: daserge 
Date:   2016-02-11T14:26:51Z

CB-10411 Error in file.spec.129 of cordova-plugin-file

Check if external storage is available




> Error in file.spec.129 of cordova-plugin-file
> -
>
> Key: CB-10411
> URL: https://issues.apache.org/jira/browse/CB-10411
> Project: Apache Cordova
>  Issue Type: Test
>  Components: Plugin File
>Reporter: Sarangan Rajamanickam
>Assignee: Sergey Shakhnazarov
>Priority: Minor
>  Labels: android, found-by-ci, triaged
>
> Link: 
> https://ci.apache.org/builders/cordova-android-win/builds/1401/steps/getting-test-results/logs/stdio
> cordova-plugin-file-tests.tests >> File API cross-file-system copy and move 
> file.spec.129 cordova.file.*Directory are set
> Expected 'object' to be 'string'.
> Error: Expected 'object' to be 'string'.
> 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.toBe 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at Object. 
> (file:///android_asset/www/plugins/cordova-plugin-file-tests/tests.js:3332:67)
> at attemptSync 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:24)
> at QueueRunner.run 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
> at 
> file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:16
> at 
> file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1697:9
> Expected null to match /\/$/, 'Path should end with a slash'.
> Error: Expected null to match /\/$/, 'Path should end with a 
> slash'.
> 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.toMatch 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
> at Object. 
> (file:///android_asset/www/plugins/cordova-plugin-file-tests/tests.js::60)
> at attemptSync 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:24)
> at QueueRunner.run 
> (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
> at 
> file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:16
> Expected 'object' to be 'string'.
> Error: Expected 'object' to be 'string'.
> 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

[jira] [Commented] (CB-10557) Plugins Release Feb 8, 2016

2016-02-11 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-10557:
---

Sure, but this will be a part of next release, because the voting for current 
one is finished.
Please send a PR to https://github.com/apache/cordova-plugin-splashscreen so it 
could be reviewed and merged.

> Plugins Release Feb 8, 2016
> ---
>
> Key: CB-10557
> URL: https://issues.apache.org/jira/browse/CB-10557
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Plugin File, Plugin Media, Plugin SplashScreen, Plugin 
> Statusbar, Plugin WKWebViewEngine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md
> The following patches to be included into this release:
> cordova-plugin-file:
> CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
> cordova-plugin-wkwebview-engine:
> CB-10269: Replace cordova exec only when present in wkwebview
> cordova-plugin-media:
> CB-10476 cordova-plugin-media 2.1.0 dos not fire mediaSuccess
> CB-10455 android: Adding permission helper to remove cordova-android 5.0.0 
> constraint
> cordova-plugin-splashscreen:
> CB-10422 Splashscreen displays black screen with no image on Android
> CB-10412 AutoHideSplashScreen "false" isn't taken in account on iOS
> CB-9516 Android SplashScreen - Spinner Does Not Display
> CB-9094: Smarter autohide logic on Android
> CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
> cordova-plugin-statusbar
> CB-10102 statusbar removeObserver is wrong



--
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-10557) Plugins Release Feb 8, 2016

2016-02-11 Thread dharmendra sharma (JIRA)

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

dharmendra sharma commented on CB-10557:


Can we consider this small doc issue in plugin splashscreen 
https://github.com/Accenture/cordova-plugin-splashscreen/commit/803d52fc4a7349be131650c615723477e6e534a4
 



> Plugins Release Feb 8, 2016
> ---
>
> Key: CB-10557
> URL: https://issues.apache.org/jira/browse/CB-10557
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Plugin File, Plugin Media, Plugin SplashScreen, Plugin 
> Statusbar, Plugin WKWebViewEngine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md
> The following patches to be included into this release:
> cordova-plugin-file:
> CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
> cordova-plugin-wkwebview-engine:
> CB-10269: Replace cordova exec only when present in wkwebview
> cordova-plugin-media:
> CB-10476 cordova-plugin-media 2.1.0 dos not fire mediaSuccess
> CB-10455 android: Adding permission helper to remove cordova-android 5.0.0 
> constraint
> cordova-plugin-splashscreen:
> CB-10422 Splashscreen displays black screen with no image on Android
> CB-10412 AutoHideSplashScreen "false" isn't taken in account on iOS
> CB-9516 Android SplashScreen - Spinner Does Not Display
> CB-9094: Smarter autohide logic on Android
> CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
> cordova-plugin-statusbar
> CB-10102 statusbar removeObserver is wrong



--
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-10386) Use of NDK is not supported with cordova-android 5.1

2016-02-11 Thread Antoine (JIRA)

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

Antoine commented on CB-10386:
--

I add to follow this instruction :
http://stackoverflow.com/questions/31979965/after-updating-android-studio-to-version-1-3-0-i-am-getting-ndk-integration-is
add a gradle.properties file the platform forlder and put
 'android.useDeprecatedNdk=true' in it.

It works fine now.

> Use of NDK is not supported with cordova-android 5.1
> 
>
> Key: CB-10386
> URL: https://issues.apache.org/jira/browse/CB-10386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Nikhil Khandelwal
>
> REPRO:
> 1. Create a cordova project
> 2. Add android platform
> 3. Add a plugin that depends on NDK e.g.:
> λ cordova plugin add cordova-plugin-crosswalk-webview
> 4. Build cordova:
> λ cordova build android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_60
> embedded
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'D:\apps\app\platforms\android\build.gradle' line: 185
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Error: NDK integration is deprecated in the current plugin.  Consider 
> > trying the new experimental plugin.  For details, see 
> > http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  
> > Set "android.useDeprecatedNdk=true" in gradle.properties to continue using 
> > the current NDK integration.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> Total time: 8.628 secs
> ERROR building one of the platforms: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"



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

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



[jira] [Comment Edited] (CB-10386) Use of NDK is not supported with cordova-android 5.1

2016-02-11 Thread Antoine (JIRA)

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

Antoine edited comment on CB-10386 at 2/11/16 11:47 AM:


Android Studio show me the same error :
(Error:(185, 0) Error: NDK integration is deprecated in the current plugin.  
Consider trying the new experimental plugin.  For details, see 
http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  Set 
"android.useDeprecatedNdk=true" in gradle.properties to continue using the 
current NDK integration.)
http://img11.hostingpics.net/pics/221835Capture.jpg

Already tried to remove android platform and add it again.
I have last cordova (6.0.0) and android (5.1.0) version.

I can't generate signed apk (by android studio) but I can run it on my device.

Don't know if  this help, but, I have the update in my gradlebuilder.js : 
// 10 seconds -> 6 seconds
args.push('-Dorg.gradle.daemon=true');
// allow NDK to be used - required by Gradle 1.5 plugin
args.push('-Pandroid.useDeprecatedNdk=true');



was (Author: titoine):
Android Studio show me the same error :
(Error:(185, 0) Error: NDK integration is deprecated in the current plugin.  
Consider trying the new experimental plugin.  For details, see 
http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  Set 
"android.useDeprecatedNdk=true" in gradle.properties to continue using the 
current NDK integration.)
http://img11.hostingpics.net/pics/221835Capture.jpg

Already tried to remove android platform and add it again.
I have last cordova (6.0.0) and android (5.1.0) version.

I can't generate signed apk (by android studio) but I can run it on my device.


> Use of NDK is not supported with cordova-android 5.1
> 
>
> Key: CB-10386
> URL: https://issues.apache.org/jira/browse/CB-10386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Nikhil Khandelwal
>
> REPRO:
> 1. Create a cordova project
> 2. Add android platform
> 3. Add a plugin that depends on NDK e.g.:
> λ cordova plugin add cordova-plugin-crosswalk-webview
> 4. Build cordova:
> λ cordova build android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_60
> embedded
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'D:\apps\app\platforms\android\build.gradle' line: 185
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Error: NDK integration is deprecated in the current plugin.  Consider 
> > trying the new experimental plugin.  For details, see 
> > http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  
> > Set "android.useDeprecatedNdk=true" in gradle.properties to continue using 
> > the current NDK integration.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> Total time: 8.628 secs
> ERROR building one of the platforms: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"



--
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-10386) Use of NDK is not supported with cordova-android 5.1

2016-02-11 Thread Antoine (JIRA)

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

Antoine commented on CB-10386:
--

Android Studio show me the same error :
(Error:(185, 0) Error: NDK integration is deprecated in the current plugin.  
Consider trying the new experimental plugin.  For details, see 
http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  Set 
"android.useDeprecatedNdk=true" in gradle.properties to continue using the 
current NDK integration.)
http://img11.hostingpics.net/pics/221835Capture.jpg

Already tried to remove android platform and add it again.
I have last cordova (6.0.0) and android (5.1.0) version.

I can't generate signed apk (by android studio) but I can run it on my device.


> Use of NDK is not supported with cordova-android 5.1
> 
>
> Key: CB-10386
> URL: https://issues.apache.org/jira/browse/CB-10386
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Reporter: Nikhil Khandelwal
>
> REPRO:
> 1. Create a cordova project
> 2. Add android platform
> 3. Add a plugin that depends on NDK e.g.:
> λ cordova plugin add cordova-plugin-crosswalk-webview
> 4. Build cordova:
> λ cordova build android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_60
> embedded
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'D:\apps\app\platforms\android\build.gradle' line: 185
> * What went wrong:
> A problem occurred evaluating root project 'android'.
> > Error: NDK integration is deprecated in the current plugin.  Consider 
> > trying the new experimental plugin.  For details, see 
> > http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  
> > Set "android.useDeprecatedNdk=true" in gradle.properties to continue using 
> > the current NDK integration.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> Total time: 8.628 secs
> ERROR building one of the platforms: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"
> You may not have the required environment or OS to build this project
> Error: Error code 1 for command: cmd with args: 
> /s,/c,"d:\apps\app\platforms\android\gradlew cdvBuildDebug -b 
> d:\apps\app\platforms\android\build.gradle -Dorg.gradle.daemon=true"



--
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-10592) cordova additionally quotes platform specific arguments when used programmatically

2016-02-11 Thread Vladimir Kotikov (JIRA)
Vladimir Kotikov created CB-10592:
-

 Summary: cordova additionally quotes platform specific arguments 
when used programmatically
 Key: CB-10592
 URL: https://issues.apache.org/jira/browse/CB-10592
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 6.0.0
 Environment: Cordova@6.0.0, OS X or *nix machine
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov


Some platform-specific arguments (such as {{--gradleArg}}) is additionally 
quoted, when options passed to {{cordova.raw}} API using old format. Though 
this is not a problem on Windows, because the command processor on handles such 
arguments correctly, on OS X this leads to unexpected failures.

For example running 
{noformat}
cordova.raw.build({
platforms: [android],
options: ["--gradleArg=--no-daemon"]
})
{noformat}

causes gradle build failure with following message {{Task '"--no-daemon"' not 
found in root project 'android'.}}





--
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-10557) Plugins Release Feb 8, 2016

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10557:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-docs/pull/495


> Plugins Release Feb 8, 2016
> ---
>
> Key: CB-10557
> URL: https://issues.apache.org/jira/browse/CB-10557
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Plugin File, Plugin Media, Plugin SplashScreen, Plugin 
> Statusbar, Plugin WKWebViewEngine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md
> The following patches to be included into this release:
> cordova-plugin-file:
> CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
> cordova-plugin-wkwebview-engine:
> CB-10269: Replace cordova exec only when present in wkwebview
> cordova-plugin-media:
> CB-10476 cordova-plugin-media 2.1.0 dos not fire mediaSuccess
> CB-10455 android: Adding permission helper to remove cordova-android 5.0.0 
> constraint
> cordova-plugin-splashscreen:
> CB-10422 Splashscreen displays black screen with no image on Android
> CB-10412 AutoHideSplashScreen "false" isn't taken in account on iOS
> CB-9516 Android SplashScreen - Spinner Does Not Display
> CB-9094: Smarter autohide logic on Android
> CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
> cordova-plugin-statusbar
> CB-10102 statusbar removeObserver is wrong



--
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-10557) Plugins Release Feb 8, 2016

2016-02-11 Thread ASF subversion and git services (JIRA)

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

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

Commit 64ebddf571c43a952201df539b99019282b86161 in cordova-docs's branch 
refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=64ebddf ]

CB-10557 Adds plugins release blog post

This closes #495


> Plugins Release Feb 8, 2016
> ---
>
> Key: CB-10557
> URL: https://issues.apache.org/jira/browse/CB-10557
> Project: Apache Cordova
>  Issue Type: Task
>  Components: Plugin File, Plugin Media, Plugin SplashScreen, Plugin 
> Statusbar, Plugin WKWebViewEngine
>Reporter: Vladimir Kotikov
>Assignee: Vladimir Kotikov
>
> Following steps at 
> https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md
> The following patches to be included into this release:
> cordova-plugin-file:
> CB-10419 cordova-plugin-file 4.0.0 error with browserify workflow
> cordova-plugin-wkwebview-engine:
> CB-10269: Replace cordova exec only when present in wkwebview
> cordova-plugin-media:
> CB-10476 cordova-plugin-media 2.1.0 dos not fire mediaSuccess
> CB-10455 android: Adding permission helper to remove cordova-android 5.0.0 
> constraint
> cordova-plugin-splashscreen:
> CB-10422 Splashscreen displays black screen with no image on Android
> CB-10412 AutoHideSplashScreen "false" isn't taken in account on iOS
> CB-9516 Android SplashScreen - Spinner Does Not Display
> CB-9094: Smarter autohide logic on Android
> CB-8396 Add AutoHideSplashScreen logic to Android's Splashscreen
> cordova-plugin-statusbar
> CB-10102 statusbar removeObserver is wrong



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