[jira] [Commented] (CB-11495) Use captureAudio without app to record audtio

2016-06-27 Thread zhuisui (JIRA)

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

zhuisui commented on CB-11495:
--

Also, {{MediaFile.getFormatData}} cannot give me info expected like that 
duration, height and width are all 0 on Android.
Thirdly, {{navigator.device.capture.supportedImageModes}} and allied attrs 
return {{[]}}.

> Use captureAudio without app to record audtio
> -
>
> Key: CB-11495
> URL: https://issues.apache.org/jira/browse/CB-11495
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: zhuisui
>
> When use {{captureAudio}} on Android without recording audio app installed, 
> the err will be string like {{No Activity found to handle Intent 
> {act=android.provider.MediaStore.RECORD_SOUND}}} not an error with code 
> listed in the documentation. And this exception should be caught at line 227 
> in the method {{captureAudio}} of {{Capture.java}}, I think.



--
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-11495) Use captureAudio without app to record audtio

2016-06-27 Thread zhuisui (JIRA)
zhuisui created CB-11495:


 Summary: Use captureAudio without app to record audtio
 Key: CB-11495
 URL: https://issues.apache.org/jira/browse/CB-11495
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Media Capture
Reporter: zhuisui


When use {{captureAudio}} on Android without recording audio app installed, the 
err will be string like {{No Activity found to handle Intent 
{act=android.provider.MediaStore.RECORD_SOUND}}} not an error with code listed 
in the documentation. And this exception should be caught at line 227 in the 
method {{captureAudio}} of {{Capture.java}}, I think.



--
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-11270) [QUESTION] Is whitelist intent filter working as intended?

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

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

ASF GitHub Bot commented on CB-11270:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-ios/pull/232
  
## [Current coverage][cc-pull] is **51.81%**
> Merging [#232][cc-pull] into [master][cc-base-branch] will not change 
coverage

```diff
@@ master   #232   diff @@
==
  Files11 11  
  Lines   882882  
  Methods 132132  
  Messages  0  0  
  Branches143143  
==
  Hits457457  
  Misses  425425  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last updated by 
[7d99390...58b13f8][cc-compare]
[cc-base-branch]: 
https://codecov.io/gh/apache/cordova-ios/branch/master?src=pr
[cc-compare]: 
https://codecov.io/gh/apache/cordova-ios/compare/7d993909d7274d6d22c77645491da6e5e5188eda...58b13f8f99ed10f05f685d2df40c231a5c42a4c0
[cc-pull]: https://codecov.io/gh/apache/cordova-ios/pull/232?src=pr


> [QUESTION] Is whitelist intent filter working as intended?
> --
>
> Key: CB-11270
> URL: https://issues.apache.org/jira/browse/CB-11270
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Tony Homer
>Assignee: Shazron Abdullah
>
> In 3.8.0, given an intent directive like 
> {code}
> 
> {code}
> , interacting with any of the following elements would result in tel: 
> requests that would all be allowed:
> {code}
> do tel with a.href
> do 
> tel with a.onclick
> do 
> tel with button.onclick
> {code}
> However, in 4.1.1, only the first interaction will be allowed.
> This is because intent directives are only applied to the 
> UIWebViewNavigationTypeLinkClicked navigationType (the navigationType for the 
> second and third examples is UIWebViewNavigationTypeOther).
> Is this working as intended?
> It seems that either the whitelist intent filter in 4+ is not working as 
> intended or, if working as intended, the documentation should be improved to 
> spell out this case.



--
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-10847) history.go dont reload in wkwebview

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-10847.
---
Resolution: Not A Bug

This is a WKWebView issue, not a plugin issue. WKWebView is created by Apple, 
and bugs in it only they can fix.

> history.go dont reload in wkwebview
> ---
>
> Key: CB-10847
> URL: https://issues.apache.org/jira/browse/CB-10847
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 3.5.0
> Environment: iOS9
>Reporter: Léo Joseph
>  Labels: ios, triaged
>
> Hi,
> Here's my problem, when in a WKWebView i do a "window.open" and in this 
> window i do "history.go(-history.length+1)" i go back to the origin file:// 
> page, but the page is not reloaded and the js in it is not reexecuted, in 
> uiwebview it worked well.
> How is it possible to make it worked again ?



--
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-10728) Set-Cookie is ignored in WKWebViewEngine

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-10728:
---

I assume you have looked at the discussion here?: 
http://stackoverflow.com/questions/26573137/can-i-set-the-cookies-to-be-used-by-a-wkwebview

Seems to be a WKWebView issue (thus only Apple can "fix" it), but we probably 
can't.

> Set-Cookie is ignored in WKWebViewEngine
> 
>
> Key: CB-10728
> URL: https://issues.apache.org/jira/browse/CB-10728
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
> Environment: Cordova 5.4.0, Cordova-iOS 4.0.1, iOS 9.2.1
>Reporter: Sverre W
>  Labels: iOS, triaged
>
> I'm trying to upgrade a cordova-ios 4.0.1 app, fully functioning with the old 
> UIWebView, to use cordova-plugin-wkwebview-engine 1.0.2.
> The app does AJAX calls via jQuery, something like this:
> {code:javascript}
> $.ajax({
>   crossDomain: true,
>   xhrFields: {withCredentials: true},
>   url: 'https://server.com/login',
>   foo: "bar"
> });
> {code}
> After login, the server returns a set-cookie with an authorization token. 
> This cookie is not included in subsequent requests when using WKWebView. It's 
> simply ignored. I've tried multiple CORS configurations on the server, as 
> liberal as possible, with no luck.
> Here are the 3 key requests (I'm omitting unrelated headers like {{Accept}}, 
> {{User-Agent}}:
> *Pre-flight OPTIONS*
> The webview sends an OPTIONS to the login URL with the headers
> * {{Origin: null}}
> * {{Access-Control-Request-Method: POST}}
> * {{Access-Control-Request-Headers: accept, origin, content-type}}
> The server responds with 200 OK and the headers
> * {{Access-Control-Allow-Origin: null}}
> * {{Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS}}
> * {{Access-Control-Allow-Headers: accept, origin, content-type}}
> * {{Access-Control-Allow-Credentials: true}}
> *Login POST*
> Now the webview sends the actual login request, with the header
> * {{Origin: null}}
> The server responds with 200 OK and the headers
> * {{Access-Control-Allow-Origin: null}}
> * {{Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS}}
> * {{Access-Control-Allow-Headers: accept, origin, content-type}}
> * {{Access-Control-Allow-Credentials: true}}
> * {{Set-Cookie: token=abc123; path=/; expires=Fri, 29-Apr-2017 12:49:06 GMT; 
> HttpOnly}}
> *Authorized GET*
> After login the application believes it's logged in, and tries to access a 
> restricted resource. However the only headers sent are {{Accept}}, 
> {{User-Agent}} and {{Origin}}. No {{Cookie}}.
> 
> Google returns vaguely similar issues around WKWebView and cookies, some of 
> them from the Telerik plugin, but I see no concrete evidence that anyone has 
> gotten this kind of auth flow to work. Even though it does in UIWebView. Is 
> it simply not supported? Am I missing some obscure CORS detail? Either way, 
> maybe it should be documented somewhere.



--
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-10742) putImageData doesn't work after a drawImage on Canvas

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah resolved CB-10742.
---
Resolution: Not A Bug

Any canvas functions are the domain of the WKWebView component itself, and is 
under control by Apple, and we can't fix this.

> putImageData doesn't work after a drawImage on Canvas
> -
>
> Key: CB-10742
> URL: https://issues.apache.org/jira/browse/CB-10742
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Reporter: Manuel Augusto
>
> Full code that can be tested on this url: 
> http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_canvas_tut_img
> 
> 
> 
> Image to use:
>  height="277">
> Canvas to fill:
>  style="border:1px solid #d3d3d3;">
> Your browser does not support the HTML5 canvas tag.
> Try it
> 
> function myCanvas() {
> var c = document.getElementById("myCanvas");
> var ctx = c.getContext("2d");
> var img = document.getElementById("scream");
> ctx.drawImage(img,10,10);
> ctx.fillStyle = "red";
> ctx.fillRect(10, 10, 50, 50);
> var imgData = ctx.getImageData(10, 10, 50, 50);
> ctx.putImageData(imgData, 10, 70);
> }
> 
> 
> 



--
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-11431) Document ways to update delegates, preferences and script message handlers in WebViewEngines

2016-06-27 Thread Shazron Abdullah (JIRA)

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

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

> Document ways to update delegates, preferences and script message handlers in 
> WebViewEngines
> 
>
> Key: CB-11431
> URL: https://issues.apache.org/jira/browse/CB-11431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h#L22-L26
> Put it in "guides", and reference in the README



--
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-11431) Document ways to update delegates, preferences and script message handlers in WebViewEngines

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

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

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

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

CB-11431 - Document ways to update delegates, preferences and script message 
handlers in WebViewEngines


> Document ways to update delegates, preferences and script message handlers in 
> WebViewEngines
> 
>
> Key: CB-11431
> URL: https://issues.apache.org/jira/browse/CB-11431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h#L22-L26
> Put it in "guides", and reference in the README



--
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-11431) Document ways to update delegates, preferences and script message handlers in WebViewEngines

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11431:
--
Summary: Document ways to update delegates, preferences and script message 
handlers in WebViewEngines  (was: Document ways to update delegates in 
WebViewEngines)

> Document ways to update delegates, preferences and script message handlers in 
> WebViewEngines
> 
>
> Key: CB-11431
> URL: https://issues.apache.org/jira/browse/CB-11431
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
>
> https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h#L22-L26
> Put it in "guides", and reference in the README



--
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-11412) Update template implementation in cordova create --template

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

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

ASF GitHub Bot commented on CB-11412:
-

Github user carynbear commented on the issue:

https://github.com/apache/cordova-cli/pull/257
  
@stevengill fixed the message to suggest using --template


> Update template implementation in cordova create --template
> ---
>
> Key: CB-11412
> URL: https://issues.apache.org/jira/browse/CB-11412
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>
> https://github.com/cordova/cordova-discuss/pull/49
> Sometimes we do want a `package.json` copied over. `package.json` could have 
> build scripts that are essential for the template to work. To handle this use 
> case, template authors are suggested to put template files in a subdirectory 
> and point to that subdirectory in index.js. All files in the subdirectory are 
> copied over.
> Update the current template implementation to ignore the list of files above 
> that shouldn't be copied over when using `--template`. If a subdirectory is 
> used, copy the entire contents of the subdirectory.
> If a `package.json` exists in the subdirectory, we should update its fields 
> like we do to `config.xml`. 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/create.js#L378-L382.
>  Only field to update in `package.json` should be `package.name`. 
> `package.name` should be updated to use `config.name` lowercased (npm package 
> names have to be lowercase). `config.name` is the optional third argument 
> `cordova create` takes.



--
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-11270) [QUESTION] Is whitelist intent filter working as intended?

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11270:
---

[~tony--] Added the missing handlers, with tests in this PR: 
https://github.com/apache/cordova-ios/pull/232
Give it a whirl.

> [QUESTION] Is whitelist intent filter working as intended?
> --
>
> Key: CB-11270
> URL: https://issues.apache.org/jira/browse/CB-11270
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Tony Homer
>Assignee: Shazron Abdullah
>
> In 3.8.0, given an intent directive like 
> {code}
> 
> {code}
> , interacting with any of the following elements would result in tel: 
> requests that would all be allowed:
> {code}
> do tel with a.href
> do 
> tel with a.onclick
> do 
> tel with button.onclick
> {code}
> However, in 4.1.1, only the first interaction will be allowed.
> This is because intent directives are only applied to the 
> UIWebViewNavigationTypeLinkClicked navigationType (the navigationType for the 
> second and third examples is UIWebViewNavigationTypeOther).
> Is this working as intended?
> It seems that either the whitelist intent filter in 4+ is not working as 
> intended or, if working as intended, the documentation should be improved to 
> spell out this case.



--
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-11270) [QUESTION] Is whitelist intent filter working as intended?

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

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

ASF GitHub Bot commented on CB-11270:
-

GitHub user shazron opened a pull request:

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

CB-11270 - Handle JavaScript onclick handler navigation



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

$ git pull https://github.com/shazron/cordova-ios CB-11270

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

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


commit 58b13f8f99ed10f05f685d2df40c231a5c42a4c0
Author: Shazron Abdullah 
Date:   2016-06-28T00:11:50Z

CB-11270 - Handle JavaScript onclick handler navigation




> [QUESTION] Is whitelist intent filter working as intended?
> --
>
> Key: CB-11270
> URL: https://issues.apache.org/jira/browse/CB-11270
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Tony Homer
>Assignee: Shazron Abdullah
>
> In 3.8.0, given an intent directive like 
> {code}
> 
> {code}
> , interacting with any of the following elements would result in tel: 
> requests that would all be allowed:
> {code}
> do tel with a.href
> do 
> tel with a.onclick
> do 
> tel with button.onclick
> {code}
> However, in 4.1.1, only the first interaction will be allowed.
> This is because intent directives are only applied to the 
> UIWebViewNavigationTypeLinkClicked navigationType (the navigationType for the 
> second and third examples is UIWebViewNavigationTypeOther).
> Is this working as intended?
> It seems that either the whitelist intent filter in 4+ is not working as 
> intended or, if working as intended, the documentation should be improved to 
> spell out this case.



--
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-9616) Plugins need support for Android M run-time permissions

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

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

ASF GitHub Bot commented on CB-9616:


Github user asfgit closed the pull request at:

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


> Plugins need support for Android M run-time permissions 
> 
>
> Key: CB-9616
> URL: https://issues.apache.org/jira/browse/CB-9616
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android
>Affects Versions: 4.1.1
>Reporter: Olivier Goguel
>Assignee: Joe Bowser
>
> To implement the new Android M run-time permission support, an application 
> activity needs to call requestPermission()   and get the user result by 
> overriding onRequestPermissionsResult()
> Unfortunately, if a plugin can call the requestPermission() on its Cordova 
> Activity, it has no way to be notified when the onRequestPermissionResult is 
> being received
> Similar to the onPause or onResult implementation, the Cordova Activity 
> should pass this event to to the pluginManager/ (through the 
> CordovaWebViewImpl) in order to let developers override 
> onRequestPermissionResult() in their plugin code if need be



--
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-9135) Crash Apache Cordova App on Android using secondary configuration variable "loadurltimeoutvalue"

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

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

ASF GitHub Bot commented on CB-9135:


Github user asfgit closed the pull request at:

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


> Crash Apache Cordova App on Android using secondary configuration variable 
> "loadurltimeoutvalue"
> 
>
> Key: CB-9135
> URL: https://issues.apache.org/jira/browse/CB-9135
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib, mobile-spec
> Environment: Android
>Reporter: xianghui
>
> It can remote exploit Apache Cordova App's secondary configuration variables 
> on Android.
> The details are in the following links:
> 1.http://cordova.apache.org/announcements/2015/05/26/android-402.html
> 2.http://blog.trendmicro.com/trendlabs-security-intelligence/trend-micro-discovers-apache-vulnerability-that-allows-one-click-modification-of-android-apps/
> However, the fix isn't complete. Using the following adb command, it can 
> still crash the Cordova App.
> >>
> adb shell am start -n org.apache.mobilespec/.CordovaApp -es 
> loadurltimeoutvalue "aaa"
> >>
> The reason is that in CordovaWebView.java's loadUrlIntoView(final String url, 
> boolean recreatePlugins) mehtod, it try to get "loadurltimeoutvalue" value 
> from Activity's intent and then be parsed int using the following code.
> >
> final int loadUrlTimeoutValue = 
> Integer.parseInt(this.getProperty("LoadUrlTimeoutValue", "2"));
> >
> However, if the value isn't a int type, such as "aaa", it will throw 
> "java.lang.NumberFormatException", and crash the App.
> The possible solution is to verify the value if it's a int type. If it's a 
> valid int type value, we can use the value, or ignore the value and use the 
> default.



--
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-9135) Crash Apache Cordova App on Android using secondary configuration variable "loadurltimeoutvalue"

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

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

ASF GitHub Bot commented on CB-9135:


Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/181
  
This pull request is for 3.7.x, which is no longer supported.  I'm going to 
be closing this PR.


> Crash Apache Cordova App on Android using secondary configuration variable 
> "loadurltimeoutvalue"
> 
>
> Key: CB-9135
> URL: https://issues.apache.org/jira/browse/CB-9135
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CordovaLib, mobile-spec
> Environment: Android
>Reporter: xianghui
>
> It can remote exploit Apache Cordova App's secondary configuration variables 
> on Android.
> The details are in the following links:
> 1.http://cordova.apache.org/announcements/2015/05/26/android-402.html
> 2.http://blog.trendmicro.com/trendlabs-security-intelligence/trend-micro-discovers-apache-vulnerability-that-allows-one-click-modification-of-android-apps/
> However, the fix isn't complete. Using the following adb command, it can 
> still crash the Cordova App.
> >>
> adb shell am start -n org.apache.mobilespec/.CordovaApp -es 
> loadurltimeoutvalue "aaa"
> >>
> The reason is that in CordovaWebView.java's loadUrlIntoView(final String url, 
> boolean recreatePlugins) mehtod, it try to get "loadurltimeoutvalue" value 
> from Activity's intent and then be parsed int using the following code.
> >
> final int loadUrlTimeoutValue = 
> Integer.parseInt(this.getProperty("LoadUrlTimeoutValue", "2"));
> >
> However, if the value isn't a int type, such as "aaa", it will throw 
> "java.lang.NumberFormatException", and crash the App.
> The possible solution is to verify the value if it's a int type. If it's a 
> valid int type value, we can use the value, or ignore the value and use the 
> default.



--
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-11412) Update template implementation in cordova create --template

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

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

ASF GitHub Bot commented on CB-11412:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-lib/pull/458
  
Failures on windows?


> Update template implementation in cordova create --template
> ---
>
> Key: CB-11412
> URL: https://issues.apache.org/jira/browse/CB-11412
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>
> https://github.com/cordova/cordova-discuss/pull/49
> Sometimes we do want a `package.json` copied over. `package.json` could have 
> build scripts that are essential for the template to work. To handle this use 
> case, template authors are suggested to put template files in a subdirectory 
> and point to that subdirectory in index.js. All files in the subdirectory are 
> copied over.
> Update the current template implementation to ignore the list of files above 
> that shouldn't be copied over when using `--template`. If a subdirectory is 
> used, copy the entire contents of the subdirectory.
> If a `package.json` exists in the subdirectory, we should update its fields 
> like we do to `config.xml`. 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/create.js#L378-L382.
>  Only field to update in `package.json` should be `package.name`. 
> `package.name` should be updated to use `config.name` lowercased (npm package 
> names have to be lowercase). `config.name` is the optional third argument 
> `cordova create` takes.



--
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-11476) iOS app audio keeps playing in background while paused

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11476:
---

This is still pretty vague. This issue is about audio playing but you have not 
specified how the audio is being played (plugin? web audio). It is incomplete, 
please provide an actual working source code repro, in a new project. What is 
"the new code"? Versions, etc. What is the "old code"?

> iOS app audio keeps playing in background while paused
> --
>
> Key: CB-11476
> URL: https://issues.apache.org/jira/browse/CB-11476
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Intel XDK, Cordova, iOS
>Reporter: Jonathan Bencomo
>Assignee: Shazron Abdullah
>  Labels: documentation
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hello,
> I got the following line of code from an older issue:
> (code used in the html index file)
> {code}
> "// register these after deviceready event fires
> document.addEventListener("resign", onResign, false);
> document.addEventListener("active", onActive, false);
> function onResign() {
> console.log("on resign");
> }
> function onActive() {
> console.log("on active");
> }"
> {code}
> From this issue’s link: 
> https://issues.apache.org/jira/browse/CB-115?jql=project%20%3D%20CB%20AND%20text%20~%20pause
> That code is being used to pause the app while the notification centre, or 
> control centre are displayed – it is also used anytime there is a 
> notification received on the screen (like a low battery indication or a phone 
> call). The code works perfectly, except that it does not stop the audio while 
> pausing the game. The audio keeps playing in background, while the game is 
> paused.
> Also, now that I have introduced this code - my game behaves differently when 
> I resume it after a while / before using the mentioned code I could leave the 
> game in the background for hours and then return to it and the game was going 
> to be exactly where I left it. Now with the new code, when I return to the 
> game after minutes of being idle I see the game where I left it but for like 
> 3 seconds only and then the game restarts. Is there a relation between the 
> code used and this bug? I believe there is because that was not happening 
> before using it,
> Many thanks in advance for your help,
> I am using an iPhone 6S as a test device and Intel XDK 3400 to build the game,
> Also: I have raised this issue to the INTEL team with no reply so far, 
> https://software.intel.com/en-us/forums/intel-xdk/topic/643682
> BR



--
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-11476) iOS app audio keeps playing in background while paused

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11476:
--
Component/s: (was: CLI)

> iOS app audio keeps playing in background while paused
> --
>
> Key: CB-11476
> URL: https://issues.apache.org/jira/browse/CB-11476
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 3.5.0
> Environment: Intel XDK, Cordova, iOS
>Reporter: Jonathan Bencomo
>Assignee: Shazron Abdullah
>  Labels: documentation
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Hello,
> I got the following line of code from an older issue:
> (code used in the html index file)
> {code}
> "// register these after deviceready event fires
> document.addEventListener("resign", onResign, false);
> document.addEventListener("active", onActive, false);
> function onResign() {
> console.log("on resign");
> }
> function onActive() {
> console.log("on active");
> }"
> {code}
> From this issue’s link: 
> https://issues.apache.org/jira/browse/CB-115?jql=project%20%3D%20CB%20AND%20text%20~%20pause
> That code is being used to pause the app while the notification centre, or 
> control centre are displayed – it is also used anytime there is a 
> notification received on the screen (like a low battery indication or a phone 
> call). The code works perfectly, except that it does not stop the audio while 
> pausing the game. The audio keeps playing in background, while the game is 
> paused.
> Also, now that I have introduced this code - my game behaves differently when 
> I resume it after a while / before using the mentioned code I could leave the 
> game in the background for hours and then return to it and the game was going 
> to be exactly where I left it. Now with the new code, when I return to the 
> game after minutes of being idle I see the game where I left it but for like 
> 3 seconds only and then the game restarts. Is there a relation between the 
> code used and this bug? I believe there is because that was not happening 
> before using it,
> Many thanks in advance for your help,
> I am using an iPhone 6S as a test device and Intel XDK 3400 to build the game,
> Also: I have raised this issue to the INTEL team with no reply so far, 
> https://software.intel.com/en-us/forums/intel-xdk/topic/643682
> BR



--
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-11412) Update template implementation in cordova create --template

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

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

ASF GitHub Bot commented on CB-11412:
-

Github user stevengill commented on the issue:

https://github.com/apache/cordova-cli/pull/257
  
LGTM 


> Update template implementation in cordova create --template
> ---
>
> Key: CB-11412
> URL: https://issues.apache.org/jira/browse/CB-11412
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>
> https://github.com/cordova/cordova-discuss/pull/49
> Sometimes we do want a `package.json` copied over. `package.json` could have 
> build scripts that are essential for the template to work. To handle this use 
> case, template authors are suggested to put template files in a subdirectory 
> and point to that subdirectory in index.js. All files in the subdirectory are 
> copied over.
> Update the current template implementation to ignore the list of files above 
> that shouldn't be copied over when using `--template`. If a subdirectory is 
> used, copy the entire contents of the subdirectory.
> If a `package.json` exists in the subdirectory, we should update its fields 
> like we do to `config.xml`. 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/create.js#L378-L382.
>  Only field to update in `package.json` should be `package.name`. 
> `package.name` should be updated to use `config.name` lowercased (npm package 
> names have to be lowercase). `config.name` is the optional third argument 
> `cordova create` takes.



--
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-11412) Update template implementation in cordova create --template

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

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

ASF GitHub Bot commented on CB-11412:
-

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

https://github.com/apache/cordova-cli/pull/257#discussion_r68633959
  
--- Diff: src/cli.js ---
@@ -456,10 +456,13 @@ function cli(inputArgs) {
 template: false
 };
 
-if (args['link-to'])
-wwwCfg.link = true;
-else if (args.template)
+
+if (args.template) {
+wwwCfg.template = true;
+} else if (args['copy-from']) {
+logger.warn('Warning: --copy-from option will be 
deprecated on December 25, 2016');
--- End diff --

It would be nice to suggest using `--template` instead in the deprecation 
message


> Update template implementation in cordova create --template
> ---
>
> Key: CB-11412
> URL: https://issues.apache.org/jira/browse/CB-11412
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Caryn Tran
>Assignee: Caryn Tran
>
> https://github.com/cordova/cordova-discuss/pull/49
> Sometimes we do want a `package.json` copied over. `package.json` could have 
> build scripts that are essential for the template to work. To handle this use 
> case, template authors are suggested to put template files in a subdirectory 
> and point to that subdirectory in index.js. All files in the subdirectory are 
> copied over.
> Update the current template implementation to ignore the list of files above 
> that shouldn't be copied over when using `--template`. If a subdirectory is 
> used, copy the entire contents of the subdirectory.
> If a `package.json` exists in the subdirectory, we should update its fields 
> like we do to `config.xml`. 
> https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/create.js#L378-L382.
>  Only field to update in `package.json` should be `package.name`. 
> `package.name` should be updated to use `config.name` lowercased (npm package 
> names have to be lowercase). `config.name` is the optional third argument 
> `cordova create` takes.



--
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-11494) Cordova SplashScreen is not showing

2016-06-27 Thread Spyrus (JIRA)
Spyrus  created CB-11494:


 Summary: Cordova SplashScreen is not showing
 Key: CB-11494
 URL: https://issues.apache.org/jira/browse/CB-11494
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Spyrus 


Used the recent template of phonegap
including 


I tried everything in config.xml even in index.js to show splashscreen but no 
luck

I simulate my application on my iPad and iPhone using PhoneGap mobile 
application

Any help?




--
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-7748) Contacts.Find fails to return on success method

2016-06-27 Thread JIRA

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

Benjamin Teglbjærg commented on CB-7748:


I can confirm this. Using Moto X (2013) and Lollipop

> Contacts.Find fails to return on success method
> ---
>
> Key: CB-7748
> URL: https://issues.apache.org/jira/browse/CB-7748
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Contacts
>Affects Versions: 3.5.0
> Environment: phone: Samsung Galaxy S II, OS: 4.2
>Reporter: nico 
>Priority: Minor
>  Labels: Android
>
> We use contacts.find to search for specific contacts. Contacts.find fails to 
> return onSuccess method when searching consecutively. Steps to reproduce on 
> the samsung galaxy s 2 were, running contacts.find with the name "ada" and 
> then run contacts.find again with the name "tes". Other parameters set were 
> contactsfindoption.multiple = true and fields passed to method were 
> ["displayName", phoneNumbers", "name", "emails"]. The error was found on a 
> samsung galaxy s 3 and samsung galaxy s 4 running 4.3 operating system, but 
> harder to replicate every time like in the galaxy s 2.



--
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-11468) create xcconfig file writer/reader

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-11468:
---

Created project stub: https://github.com/phonegap/node-xcconfig
This is external to Apache right now for ease of release reasons during its 
incubation, with donation back possible in the future (it's Apache-2.0 licensed 
anyway).

> create xcconfig file writer/reader 
> ---
>
> Key: CB-11468
> URL: https://issues.apache.org/jira/browse/CB-11468
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: iOS
>Reporter: Shazron Abdullah
>Assignee: Shazron Abdullah
> Attachments: The Unofficial Guide to xcconfig files.pdf
>
>
> Either create a new npm module or contrib to node-xcode.
> This is for Build Settings. Right now we modify the project file directly, 
> when we really should modify the appropriate build.xcconfig file.
> There are some bugs related to this feature needing to be implemented.
> Unofficial reference: https://pewpewthespells.com/blog/xcconfig_guide.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] [Comment Edited] (CB-11485) Web view doesn't resize when switching from portrait mode to landscape

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah edited comment on CB-11485 at 6/27/16 4:50 PM:


I fixed the issue by forcing the plugin to always use the width of the main 
screen, I found that the plugin is setting the webview frame width to the 
status bar width which was not updated yet after the orientation change 
{code}
-(void)resizeWebView
{
BOOL isIOS7 = (IsAtLeastiOSVersion(@"7.0"));

if (isIOS7) {
CGRect bounds = [[UIScreen mainScreen] bounds];
bounds = [self invertFrameIfNeeded:bounds];

if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] 
statusBarOrientation])) {
self.viewController.view.frame = bounds;
} else if (self.viewController.presentedViewController != nil) {
// https://issues.apache.org/jira/browse/CB-11018
BOOL isIOS8 = (IsAtLeastiOSVersion(@"8.0"));
BOOL isIOS9 = (IsAtLeastiOSVersion(@"9.0"));
if (isIOS8 && !isIOS9) {
// iOS 8
bounds = CGRectMake(0, 0, bounds.size.width, 
bounds.size.height);
} else {
// iOS7, iOS9+
bounds = CGRectMake(0, 0, bounds.size.height, 
bounds.size.width);
}
}
self.webView.frame = bounds;

if (!self.statusBarOverlaysWebView) {
CGRect statusBarFrame = [UIApplication 
sharedApplication].statusBarFrame;
statusBarFrame = [self invertFrameIfNeeded:statusBarFrame];
CGRect frame = self.webView.frame;
frame.origin.y = statusBarFrame.size.height;
frame.size.height -= statusBarFrame.size.height;
frame.size.width = [UIScreen mainScreen].bounds.size.width;

self.webView.frame = frame;
}
} else {
CGRect bounds = [[UIScreen mainScreen] applicationFrame];
self.viewController.view.frame = bounds;
}
}
{code}


was (Author: yazeed.fares):
I fixed the issue by forcing the plugin to always use the width of the main 
screen, I found that the plugin is setting the webview frame width to the 
status bar width which was not updated yet after the orientation change 

-(void)resizeWebView
{
BOOL isIOS7 = (IsAtLeastiOSVersion(@"7.0"));

if (isIOS7) {
CGRect bounds = [[UIScreen mainScreen] bounds];
bounds = [self invertFrameIfNeeded:bounds];

if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] 
statusBarOrientation])) {
self.viewController.view.frame = bounds;
} else if (self.viewController.presentedViewController != nil) {
// https://issues.apache.org/jira/browse/CB-11018
BOOL isIOS8 = (IsAtLeastiOSVersion(@"8.0"));
BOOL isIOS9 = (IsAtLeastiOSVersion(@"9.0"));
if (isIOS8 && !isIOS9) {
// iOS 8
bounds = CGRectMake(0, 0, bounds.size.width, 
bounds.size.height);
} else {
// iOS7, iOS9+
bounds = CGRectMake(0, 0, bounds.size.height, 
bounds.size.width);
}
}
self.webView.frame = bounds;

if (!self.statusBarOverlaysWebView) {
CGRect statusBarFrame = [UIApplication 
sharedApplication].statusBarFrame;
statusBarFrame = [self invertFrameIfNeeded:statusBarFrame];
CGRect frame = self.webView.frame;
frame.origin.y = statusBarFrame.size.height;
frame.size.height -= statusBarFrame.size.height;
frame.size.width = [UIScreen mainScreen].bounds.size.width;

self.webView.frame = frame;
}
} else {
CGRect bounds = [[UIScreen mainScreen] applicationFrame];
self.viewController.view.frame = bounds;
}
}

> Web view doesn't resize when switching from portrait mode to landscape 
> ---
>
> Key: CB-11485
> URL: https://issues.apache.org/jira/browse/CB-11485
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: Master
> Environment: iOS 9.3, iPad
>Reporter: Yazeed Fares
>
> Web view doesn't resize when switching from portrait mode to landscape, the 
> issue happens when you have a popover opened in a select field or when you 
> open the camera picker.
> Screen shot ==> https://i.imgsafe.org/fa3905cbe2.png



--
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-11485) Web view doesn't resize when switching from portrait mode to landscape

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11485:
--
Assignee: jcesarmobile

> Web view doesn't resize when switching from portrait mode to landscape 
> ---
>
> Key: CB-11485
> URL: https://issues.apache.org/jira/browse/CB-11485
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: Master
> Environment: iOS 9.3, iPad
>Reporter: Yazeed Fares
>Assignee: jcesarmobile
>
> Web view doesn't resize when switching from portrait mode to landscape, the 
> issue happens when you have a popover opened in a select field or when you 
> open the camera picker.
> Screen shot ==> https://i.imgsafe.org/fa3905cbe2.png



--
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-11485) Web view doesn't resize when switching from portrait mode to landscape

2016-06-27 Thread Shazron Abdullah (JIRA)

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

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

> Web view doesn't resize when switching from portrait mode to landscape 
> ---
>
> Key: CB-11485
> URL: https://issues.apache.org/jira/browse/CB-11485
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: Master
> Environment: iOS 9.3, iPad
>Reporter: Yazeed Fares
>
> Web view doesn't resize when switching from portrait mode to landscape, the 
> issue happens when you have a popover opened in a select field or when you 
> open the camera picker.
> Screen shot ==> https://i.imgsafe.org/fa3905cbe2.png



--
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-11485) Web view doesn't resize when switching from portrait mode to landscape

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11485:
--
Component/s: (was: iOS)

> Web view doesn't resize when switching from portrait mode to landscape 
> ---
>
> Key: CB-11485
> URL: https://issues.apache.org/jira/browse/CB-11485
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
>Affects Versions: Master
> Environment: iOS 9.3, iPad
>Reporter: Yazeed Fares
>Assignee: Shazron Abdullah
>
> Web view doesn't resize when switching from portrait mode to landscape, the 
> issue happens when you have a popover opened in a select field or when you 
> open the camera picker.
> Screen shot ==> https://i.imgsafe.org/fa3905cbe2.png



--
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-11327) App force closes after launch

2016-06-27 Thread Shazron Abdullah (JIRA)

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

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

Resolving. It appears to be a plugin issue after all evidence is considered, 
and not an iOS platform issue.

> App force closes after launch
> -
>
> Key: CB-11327
> URL: https://issues.apache.org/jira/browse/CB-11327
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 6.2.0
> Environment: iOS
>Reporter: Volkan G.
>Assignee: Shazron Abdullah
>
> Hey,
> I just updated to 6.2.0 using npm.
> The iOS app build with 6.2.0. crashes instantly after launch with the 
> following error:
> {code}
> 2016-05-27 11:16:57.989 MyApp[3242:3612449] -[NSTaggedPointerString 
> objectForKey:]: unrecognized selector sent to instance 0xa301
> 2016-05-27 11:16:57.991 MyApp[3242:3612449] *** Terminating app due to 
> uncaught exception 'NSInvalidArgumentException', reason: 
> '-[NSTaggedPointerString objectForKey:]: unrecognized selector sent to 
> instance 0xa301'
> *** First throw call stack:
> (0x181bf2e38 0x181257f80 0x181bf9ccc 0x181bf6c74 0x181af4d1c 0x1000afe2c 
> 0x100545a3c 0x1005468b4 0x1000afcf8 0x1000be788 0x1000bd884 0x1000be688 
> 0x100545a7c 0x100545a3c 0x10054b4e4 0x181ba8dd8 0x181ba6c40 0x181ad0d10 
> 0x1833b8088 0x186da5f70 0x164f8 0x18166e8b8)
> libc++abi.dylib: terminating with uncaught exception of type NSException
> {code}
> Works with 6.1.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] [Updated] (CB-11432) Newly created iOS app refuses to start consistently

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11432:
--
Component/s: iOS

> Newly created iOS app refuses to start consistently
> ---
>
> Key: CB-11432
> URL: https://issues.apache.org/jira/browse/CB-11432
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Reporter: Raymond Camden
>
> When I create a new Cordova app for iOS and do 'ios emulate ios', I'll see 
> the simulator launch, I'll see my app begin to launch, and then it goes away. 
> If I run the command again, sometimes I'll see the same behavior, sometimes 
> it works. Typically it takes a few runs before this issue seems to just 
> magically go away... for the app in question. I'll see it again when making a 
> new app.
> Ok, I've been complaining about this for a while, sorry it took me so long to 
> file an issue. Will add details as I find em.



--
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-11432) Newly created iOS app refuses to start consistently

2016-06-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah updated CB-11432:
--
Priority: Major  (was: Blocker)

> Newly created iOS app refuses to start consistently
> ---
>
> Key: CB-11432
> URL: https://issues.apache.org/jira/browse/CB-11432
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Raymond Camden
>
> When I create a new Cordova app for iOS and do 'ios emulate ios', I'll see 
> the simulator launch, I'll see my app begin to launch, and then it goes away. 
> If I run the command again, sometimes I'll see the same behavior, sometimes 
> it works. Typically it takes a few runs before this issue seems to just 
> magically go away... for the app in question. I'll see it again when making a 
> new app.
> Ok, I've been complaining about this for a while, sorry it took me so long to 
> file an issue. Will add details as I find em.



--
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-11493) Add cordova emulate option to skip prepare

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

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

ASF GitHub Bot commented on CB-11493:
-

Github user codecov-io commented on the issue:

https://github.com/apache/cordova-lib/pull/459
  
## [Current coverage][cc-pull] is **80.58%**
> Merging [#459][cc-pull] into [master][cc-base-branch] will increase 
coverage by **<.01%**

```diff
@@ master   #459   diff @@
==
  Files68 68  
  Lines  5377   5378 +1   
  Methods 851851  
  Messages  0  0  
  Branches   1039   1040 +1   
==
+ Hits   4333   4334 +1   
  Misses 1044   1044  
  Partials  0  0  
```

> Powered by [Codecov](https://codecov.io?src=pr). Last updated by 
[0c6f88d...731e9df][cc-compare]
[cc-base-branch]: 
https://codecov.io/gh/apache/cordova-lib/branch/master?src=pr
[cc-compare]: 
https://codecov.io/gh/apache/cordova-lib/compare/0c6f88d2b136cf78ce57f323b75600a9b284e58a...731e9dfb9106bf91bf4bcd22698b60660c9c3d6d
[cc-pull]: https://codecov.io/gh/apache/cordova-lib/pull/459?src=pr


> Add cordova emulate option to skip prepare
> --
>
> Key: CB-11493
> URL: https://issues.apache.org/jira/browse/CB-11493
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Jonathan Grupp
>
> Analogous to the recently added `--no-prepare` options for `cordova run` in 
> version 6.2 (issue: https://issues.apache.org/jira/browse/CB-11042) I'd like 
> to implement a similar option for `cordova emulate`.



--
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-11493) Add cordova emulate option to skip prepare

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

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

ASF GitHub Bot commented on CB-11493:
-

GitHub user gruppjo opened a pull request:

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

CB-11493: Add cordova emulate option to skip prepare

I just created an issue for this over at the apache jira: 
https://issues.apache.org/jira/browse/CB-11042.
I hope it's ok that I created a PR right away.

> Analogous to the recently added `--no-prepare` options for `cordova run` 
in version 6.2 (issue: https://issues.apache.org/jira/browse/CB-11042) I'd like 
to implement a similar option for `cordova emulate`.


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

$ git pull https://github.com/gruppjo/cordova-lib master

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

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


commit 731e9dfb9106bf91bf4bcd22698b60660c9c3d6d
Author: gruppjo 
Date:   2016-06-27T14:50:02Z

CB-11493: Add cordova emulate option to skip prepare




> Add cordova emulate option to skip prepare
> --
>
> Key: CB-11493
> URL: https://issues.apache.org/jira/browse/CB-11493
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CordovaLib
>Reporter: Jonathan Grupp
>
> Analogous to the recently added `--no-prepare` options for `cordova run` in 
> version 6.2 (issue: https://issues.apache.org/jira/browse/CB-11042) I'd like 
> to implement a similar option for `cordova emulate`.



--
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-11493) Add cordova emulate option to skip prepare

2016-06-27 Thread Jonathan Grupp (JIRA)
Jonathan Grupp created CB-11493:
---

 Summary: Add cordova emulate option to skip prepare
 Key: CB-11493
 URL: https://issues.apache.org/jira/browse/CB-11493
 Project: Apache Cordova
  Issue Type: Improvement
  Components: CordovaLib
Reporter: Jonathan Grupp


Analogous to the recently added `--no-prepare` options for `cordova run` in 
version 6.2 (issue: https://issues.apache.org/jira/browse/CB-11042) I'd like to 
implement a similar option for `cordova emulate`.





--
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-11492) window.resolveLocalFileSystemURL is not resolving content:// path to a file:// path

2016-06-27 Thread Josh Sharpe (JIRA)
Josh Sharpe created CB-11492:


 Summary: window.resolveLocalFileSystemURL is not resolving 
content:// path to a file:// path
 Key: CB-11492
 URL: https://issues.apache.org/jira/browse/CB-11492
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android, Plugin File
Affects Versions: 4.2.0
Reporter: Josh Sharpe


It's my understanding that the file plugin (resolveLocalFileSystemURL) should 
handle this, however I had to use the file-path plugin (resolveNativePath)

var path = 
"content://com.android.providers.media.documents/document/image:1051";

window.resolveLocalFileSystemURL(path, function(a){
  console.log(a)
})

-> undefined

window.FilePath.resolveNativePath(path, function(localFileUri) {
  console.log(localFileUri)
});

-> "file:///storage/emulated/0/DCIM/Camera/IMG_20160625_104045.jpg"




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

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



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

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

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

ASF GitHub Bot commented on CB-3232:


GitHub user DrMoriarty opened a pull request:

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

fix some calls which used api level 16

### Platforms affected
Android

### What does this PR do?
I fixed some crashes on devices with android 4.0 (API level 15 and lower)

### What testing has been done on this change?
run project with this plugin using

### Checklist
- [ ] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and 
submitted to secret...@apache.org.
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [ ] Added automated test coverage as appropriate for this change.



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

$ git pull https://github.com/DrMoriarty/cordova-plugin-inappbrowser master

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

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


commit 450f9415d2583bb241539dfba6648dfaa6e0a052
Author: Vasiliy Makarov 
Date:   2016-06-27T12:04:13Z

fix some calls which used api level 16




> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -
>
> Key: CB-3232
> URL: https://issues.apache.org/jira/browse/CB-3232
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry, CLI
>Affects Versions: 2.7.0
>Reporter: Michael Brooks
>Assignee: Michael Brooks
> Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add 
> blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating 
> BlackBerry project...
> Updating config.xml ...
> sed: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
>  No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application 
> directory!
> ]
> {code}



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

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



[jira] [Commented] (CB-11466) device plugin does not work

2016-06-27 Thread jcesarmobile (JIRA)

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

jcesarmobile commented on CB-11466:
---

The most helpful is a sample project where we can reproduce the issue, and all 
the information I provided (cordova version, platforms versions, plugin 
version, OS of the devices where you tested)


> device plugin does not work
> ---
>
> Key: CB-11466
> URL: https://issues.apache.org/jira/browse/CB-11466
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device
>Affects Versions: 6.1.1
> Environment: Mac OS X El Capitan
>Reporter: Stephen Warren
>
> the device plugin does not work.  typing 'device' into javascript window 
> brings back 'undefined'.  Please advise steps to assist in troubleshooting 
> this problem.



--
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-11466) device plugin does not work

2016-06-27 Thread Stephen Warren (JIRA)

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

Stephen Warren commented on CB-11466:
-

What would be most helpful? Debugger screenshots?  Dumps of my Cordova config?

> device plugin does not work
> ---
>
> Key: CB-11466
> URL: https://issues.apache.org/jira/browse/CB-11466
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Device
>Affects Versions: 6.1.1
> Environment: Mac OS X El Capitan
>Reporter: Stephen Warren
>
> the device plugin does not work.  typing 'device' into javascript window 
> brings back 'undefined'.  Please advise steps to assist in troubleshooting 
> this problem.



--
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-11491) Introduce before_deploy hook

2016-06-27 Thread Sergey Shakhnazarov (JIRA)
Sergey Shakhnazarov created CB-11491:


 Summary: Introduce before_deploy hook
 Key: CB-11491
 URL: https://issues.apache.org/jira/browse/CB-11491
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CordovaLib
Reporter: Sergey Shakhnazarov
Assignee: Sergey Shakhnazarov






--
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-11490) Notification title does not wrap on windows phone

2016-06-27 Thread Eric (JIRA)

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

Eric updated CB-11490:
--
Component/s: Plugin Dialogs

> Notification title does not wrap on windows phone
> -
>
> Key: CB-11490
> URL: https://issues.apache.org/jira/browse/CB-11490
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Dialogs
>Reporter: Eric
>Priority: Minor
>
> The title of the notifications on Windows Phone does not wrap.



--
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-11490) Notification title does not wrap on windows phone

2016-06-27 Thread Eric (JIRA)
Eric created CB-11490:
-

 Summary: Notification title does not wrap on windows phone
 Key: CB-11490
 URL: https://issues.apache.org/jira/browse/CB-11490
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Eric
Priority: Minor


The title of the notifications on Windows Phone does not wrap.



--
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-11118) Array and object params on upload ignored in ios

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

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

ASF GitHub Bot commented on CB-8:
-

Github user shaialon commented on the issue:

https://github.com/apache/cordova-plugin-file-transfer/pull/143
  
+1 for this!


> Array and object params on upload ignored in ios
> 
>
> Key: CB-8
> URL: https://issues.apache.org/jira/browse/CB-8
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin File Transfer
>Affects Versions: 1.5.0
> Environment: iOS
>Reporter: Andrew Gaun
>  Labels: easyfix, iOS, triaged
>
> On iOS, CDVFileTransfer.m the method requestForUploadCommand will only allow 
> params objects with selector stringValue and NSString to be included with the 
> request. 
> On Android objects and arrays are turned into strings when used as params
> Example:
> {code:javascript}
>   var fileUploadOptions = new FileUploadOptions();
>   fileUploadOptions.params = {
> "array": [1,2,3],
> "object": { 
>   "a": 1
> },
> number: 123
>   }
> {code}
> will return from iOS
> {code:javascript}
>   {
> number: '123'
>   }
> {code}
> and from android
> {code:javascript}
>   {
> array: '[1,2,3]',
> object: '{"a":1}',
> number: '123'
>   }
> {code}



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

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



[jira] [Created] (CB-11489) Platform check for Android failure

2016-06-27 Thread Alexander Sorokin (JIRA)
Alexander Sorokin created CB-11489:
--

 Summary: Platform check for Android failure
 Key: CB-11489
 URL: https://issues.apache.org/jira/browse/CB-11489
 Project: Apache Cordova
  Issue Type: Test
  Components: Plugin Contacts
Reporter: Alexander Sorokin


Found by Jenkins:
http://cordova-ci.cloudapp.net:8080/job/cordova-periodic-build/52/PLATFORM=android,PLUGIN=cordova-plugin-contacts/console
It looks like an intermittent failure. Here's full Jenkins log:
{noformat}
[EnvInject] - Inject global passwords.
[EnvInject] - Mask passwords passed as build parameters.
Started by upstream project "cordova-periodic-build" build number 52
originally caused by:
 Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on mac-slave (android ios) in workspace 
/Users/jenkins/jenkins/workspace/cordova-periodic-build
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-console.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-console.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/apache/cordova-plugin-console.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 336554cd3d049706392f66678ebf139a2cbd42f9 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 336554cd3d049706392f66678ebf139a2cbd42f9
 > git rev-list 336554cd3d049706392f66678ebf139a2cbd42f9 # timeout=10
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-device.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-device.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/apache/cordova-plugin-device.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 5298c1f524877602e65e7f71b522b7c95e7a6c8e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5298c1f524877602e65e7f71b522b7c95e7a6c8e
 > git rev-list 5298c1f524877602e65e7f71b522b7c95e7a6c8e # timeout=10
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-media-capture.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-media-capture.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/apache/cordova-plugin-media-capture.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 53d428d20534b2370c2ca2fb2e0399ac9fecdf16 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 53d428d20534b2370c2ca2fb2e0399ac9fecdf16
 > git rev-list 53d428d20534b2370c2ca2fb2e0399ac9fecdf16 # timeout=10
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-camera.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-camera.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/apache/cordova-plugin-camera.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 8a7326969f8a62ce387a7eef2983b6b154ca2e4e (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8a7326969f8a62ce387a7eef2983b6b154ca2e4e
 > git rev-list 8a7326969f8a62ce387a7eef2983b6b154ca2e4e # timeout=10
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-network-information.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-network-information.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress 
 > https://github.com/apache/cordova-plugin-network-information.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 83e870bf4e3a56e816c8ad5b15b2fa6831279b17 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 83e870bf4e3a56e816c8ad5b15b2fa6831279b17
 > git rev-list 83e870bf4e3a56e816c8ad5b15b2fa6831279b17 # timeout=10
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://github.com/apache/cordova-plugin-device-motion.git # timeout=10
Fetching upstream changes from 
https://github.com/apache/cordova-plugin-device-motion.git
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progres

[jira] [Commented] (CB-9881) inappbrowser iframebidge console error

2016-06-27 Thread Sebastian Betzinger (JIRA)

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

Sebastian Betzinger commented on CB-9881:
-

it happens randomly in stated verison without any relation to website (happens 
on any website). i haven't checked the latest plugin version for now.


> inappbrowser iframebidge console error 
> ---
>
> Key: CB-9881
> URL: https://issues.apache.org/jira/browse/CB-9881
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 4.1.1
> Environment: iOS9.1 Cordova4.1 InAppBrowser1.0.1
>Reporter: Sebastian Betzinger
>Priority: Minor
>  Labels: Triaged, iOS
>
> Cordova 4.1 on iOS9.1
> Sometimes a page in inappbrowser is loaded i get errors on the inappbrowser 
> debug console like this:
> TypeError: null is not an object (evaluating 'd.body.appendChild')
> ReferenceError: Can't find variable: _cdvIframeBridge
> When this happens, the iframe with executeScript is not attached to the in 
> inappbrowser loaded website and executeScript is not working.
> These errors occur not all the time, but most page refreshes trigger ONE of 
> these 2 error messages. Any workaround? Using setTimeout didn't help here to 
> delay the iframe attachment (executeScript).
> On Android it works great without any errors with the exact same code.



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

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