[jira] [Issue Comment Deleted] (CB-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-08-23 Thread Marco (JIRA)


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

Marco updated CB-13683:
---
Comment: was deleted

(was: I've fixed this and this is the PR: 
https://github.com/apache/cordova-plugin-media-capture/pull/100)

> cordova-plugin-media-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Comment Edited] (CB-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-08-23 Thread Marco (JIRA)


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

Marco edited comment on CB-13683 at 8/23/18 10:49 AM:
--

I've fixed this and this is the PR: 
https://github.com/apache/cordova-plugin-media-capture/pull/100


was (Author: kocram):
I've fixed this in my fork 
([https://github.com/mcelotti/cordova-plugin-media-capture)], I'll make a PR as 
soon as a previous PR is accepted

> cordova-plugin-media-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-08-08 Thread Marco (JIRA)


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

Marco commented on CB-13683:


I've fixed this in my fork 
([https://github.com/mcelotti/cordova-plugin-media-capture)], I'll make a PR as 
soon as a previous PR is accepted

> cordova-plugin-media-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Created] (CB-14260) captureImage: permission denial on android 8.1

2018-08-08 Thread Marco (JIRA)
Marco created CB-14260:
--

 Summary: captureImage: permission denial on android 8.1
 Key: CB-14260
 URL: https://issues.apache.org/jira/browse/CB-14260
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-media-capture
Affects Versions: 3.0.0
Reporter: Marco


When I call "captureImage" method I accept all permissions but I get:
{noformat}
java.lang.SecurityException: Permission Denial: writing 
com.android.providers.media.MediaProvider uri 
content://media/external/images/media from pid=12716, uid=10079 requires 
android.permission.WRITE_EXTERNAL_STORAGE, or grantUriPermission(){noformat}
I'm using cordova-plugin-media-capture version 3.0.2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-13683) cordova-plugin-media-capture: Rotates pictures in android devices

2018-08-08 Thread Marco (JIRA)


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

Marco commented on CB-13683:


Same issue on samsung Galaxy Tab S2 and Galaxy Tab S3, I think this is related 
to 
https://stackoverflow.com/questions/14066038/why-does-an-image-captured-using-camera-intent-gets-rotated-on-some-devices-on-a

> cordova-plugin-media-capture: Rotates pictures in android devices 
> --
>
> Key: CB-13683
> URL: https://issues.apache.org/jira/browse/CB-13683
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-media-capture
> Environment: Plugin name: cordova-plugin-media-capture
> Version: 2.0.0
> Used in: Ionic project
> Device: Samsung Galaxy J3
>Reporter: hsob
>Priority: Critical
>
> When I take picture using device camera (cordova-plugin-media-capture), the 
> result is a rotated picture in all tested devices using android. But in iOS 
> devices these is not issue.
> How can I fixe this?
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2017-01-20 Thread Marco (JIRA)

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

Marco commented on CB-12211:


Hi [~Chetan74],

I didn't found any fix, here no one answer... 
If you have news, please write here a comment.

Thank you


> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
> as a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix this problem?
> 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-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-05 Thread Marco (JIRA)

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

Marco commented on CB-12211:


Hi [~jcesarmobile],

thank you for your answer.
Yes, I have a Content-Security-Policy in my index.thml, is this one:



There's something wrong?

Thank you

> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
> as a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix this problem?
> 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] [Comment Edited] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-05 Thread Marco (JIRA)

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

Marco edited comment on CB-12211 at 12/5/16 1:51 PM:
-

Hi [~jcesarmobile],

thank you for your answer.
Yes, I have a Content-Security-Policy in my index.html, is this one:



There's something wrong?

Thank you


was (Author: marcome):
Hi [~jcesarmobile],

thank you for your answer.
Yes, I have a Content-Security-Policy in my index.thml, is this one:



There's something wrong?

Thank you

> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
> as a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix this problem?
> 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] [Updated] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Description: 
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
as a target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?

Thank you

  was:
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
as a target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?


> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
> as a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix this problem?
> 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] [Updated] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Description: 
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
as a target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?

  was:
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?


> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls "window.open" with "_system" 
> as a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix 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] [Updated] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Description: 
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?

  was:
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.



--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?


> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iOS 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as 
> a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix 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] [Updated] (CB-12211) InAppBrowser - problem in iOS 10 when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Summary: InAppBrowser - problem in iOS 10 when try to open an url in 
external browser with window.open(url, "_system")  (was: InAppBrowser - iOS 10 
problem when try to open an url in external browser with window.open(url, 
"_system"))

> InAppBrowser - problem in iOS 10 when try to open an url in external browser 
> with window.open(url, "_system")
> -
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iPhone with iOS v. 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as 
> a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix 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] [Updated] (CB-12211) InAppBrowser - iOS 10 problem when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Description: 
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google

3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.



--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?

  was:
Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google


3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix this problem?


> InAppBrowser - iOS 10 problem when try to open an url in external browser 
> with window.open(url, "_system")
> --
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iPhone with iOS v. 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as 
> a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix 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] [Updated] (CB-12211) InAppBrowser - iOS 10 problem when try to open an url in external browser with window.open(url, "_system")

2016-12-02 Thread Marco (JIRA)

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

Marco updated CB-12211:
---
Summary: InAppBrowser - iOS 10 problem when try to open an url in external 
browser with window.open(url, "_system")  (was: InAppBrowser - problem with iOS 
10 when try to open an url in external browser)

> InAppBrowser - iOS 10 problem when try to open an url in external browser 
> with window.open(url, "_system")
> --
>
> Key: CB-12211
> URL: https://issues.apache.org/jira/browse/CB-12211
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
> Environment: iPhone with iOS v. 10
>Reporter: Marco
>
> Consider the following scenario:
> 1. My Cordova App have a filter based on InAppBrowser like this:
> function openurlinexternalbrowser() {
> $(document).on('click', 'a[target="_system"],a[target="_blank"]', 
> function (e) {
> e.preventDefault();
> var url = this.href;
> window.open(url, "_system");
> });
> }
> 2. This filter permits to open the url in anchor tag ( ... ) in 
> external browser. For example: 
>   http://www.google.com/; 
> target="_blank">Test Google
> 
> 3. So, my App uses InAppBrowser plugin and calls window.open with _system as 
> a target.
> --- WRONG BEHAVIOUR --- 
> What's happen when I try to open an url?
> - in iOS 9, all works fine, url it's open in external browser after click on 
> a link;
> - in iOS 10 nothing happen, but if you click on a link, and then click twice 
> on the home button (like when you enter in multitasking mode), the browser 
> appears and it opens the url.
> It's possible to fix 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-12211) InAppBrowser - problem with iOS 10 when try to open an url in external browser

2016-12-02 Thread Marco (JIRA)
Marco created CB-12211:
--

 Summary: InAppBrowser - problem with iOS 10 when try to open an 
url in external browser
 Key: CB-12211
 URL: https://issues.apache.org/jira/browse/CB-12211
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
 Environment: iPhone with iOS v. 10
Reporter: Marco


Consider the following scenario:

1. My Cordova App have a filter based on InAppBrowser like this:

function openurlinexternalbrowser() {
$(document).on('click', 'a[target="_system"],a[target="_blank"]', 
function (e) {
e.preventDefault();
var url = this.href;
window.open(url, "_system");
});
}

2. This filter permits to open the url in anchor tag ( ... ) in external 
browser. For example: 

  http://www.google.com/; 
target="_blank">Test Google


3. So, my App uses InAppBrowser plugin and calls window.open with _system as a 
target.


--- WRONG BEHAVIOUR --- 

What's happen when I try to open an url?

- in iOS 9, all works fine, url it's open in external browser after click on a 
link;
- in iOS 10 nothing happen, but if you click on a link, and then click twice on 
the home button (like when you enter in multitasking mode), the browser appears 
and it opens the url.

It's possible to fix 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-8621) Error: Cannot find module 'Q'

2015-03-06 Thread Marco (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14350360#comment-14350360
 ] 

Marco commented on CB-8621:
---

Released patch (see attached file)

 Error: Cannot find module 'Q'
 -

 Key: CB-8621
 URL: https://issues.apache.org/jira/browse/CB-8621
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
 Environment: Mac OSX Yosemite 10.10.1
Reporter: Marco
 Attachments: CB-8621.patch


 After upgrading Cordova-CLI to the last version (4.3.0), when i run: cordova 
 build i get the following error:
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'Q'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/lib/check_reqs.js:25:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 ERROR building one of the platforms: Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 You may not have the required environment or OS to build this project
 Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:753:16)
 at Process.ChildProcess._handle.onexit (child_process.js:820:5)



--
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-8621) Error: Cannot find module 'Q'

2015-03-06 Thread Marco (JIRA)

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

Marco updated CB-8621:
--
Attachment: CB-8621.patch

Patch to fix the issue into the last version of the GIT repository of 
cordova-ios

 Error: Cannot find module 'Q'
 -

 Key: CB-8621
 URL: https://issues.apache.org/jira/browse/CB-8621
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
 Environment: Mac OSX Yosemite 10.10.1
Reporter: Marco
 Attachments: CB-8621.patch


 After upgrading Cordova-CLI to the last version (4.3.0), when i run: cordova 
 build i get the following error:
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'Q'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/lib/check_reqs.js:25:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 ERROR building one of the platforms: Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 You may not have the required environment or OS to build this project
 Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:753:16)
 at Process.ChildProcess._handle.onexit (child_process.js:820:5)



--
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-8621) Error: Cannot find module 'Q'

2015-03-06 Thread Marco (JIRA)

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

Marco updated CB-8621:
--
Component/s: (was: CLI)
 iOS

 Error: Cannot find module 'Q'
 -

 Key: CB-8621
 URL: https://issues.apache.org/jira/browse/CB-8621
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
 Environment: Mac OSX Yosemite 10.10.1
Reporter: Marco
 Attachments: CB-8621.patch


 After upgrading Cordova-CLI to the last version (4.3.0), when i run: cordova 
 build i get the following error:
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'Q'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/lib/check_reqs.js:25:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Module.require (module.js:364:17)
 ERROR building one of the platforms: Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 You may not have the required environment or OS to build this project
 Error: 
 /Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
  Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
 at ChildProcess.EventEmitter.emit (events.js:98:17)
 at maybeClose (child_process.js:753:16)
 at Process.ChildProcess._handle.onexit (child_process.js:820:5)



--
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-8621) Error: Cannot find module 'Q'

2015-03-06 Thread Marco (JIRA)
Marco created CB-8621:
-

 Summary: Error: Cannot find module 'Q'
 Key: CB-8621
 URL: https://issues.apache.org/jira/browse/CB-8621
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
 Environment: Mac OSX Yosemite 10.10.1
Reporter: Marco


After upgrading Cordova-CLI to the last version (4.3.0), when i run: cordova 
build i get the following error:

module.js:340
throw err;
  ^
Error: Cannot find module 'Q'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/lib/check_reqs.js:25:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
ERROR building one of the platforms: Error: 
/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
 Command failed with exit code 8
You may not have the required environment or OS to build this project
Error: 
/Volumes/CaseSensitive/ios_projects/_Tests/testGruntCordova/testGruntCordova/platforms/ios/cordova/build:
 Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:753:16)
at Process.ChildProcess._handle.onexit (child_process.js:820:5)



--
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-7577) Cordova Crashes on IOS8 when Using input type=file

2015-03-01 Thread Marco (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14342373#comment-14342373
 ] 

Marco commented on CB-7577:
---

I'm still having this issue with phonegap 3.6.3 and iOS 8.1. I build using 
build.phonegap.com.
When clicking on select file (html input file) whether I select choose 
existing or take photo the app crashes.

 Cordova Crashes on IOS8 when Using input type=file
 

 Key: CB-7577
 URL: https://issues.apache.org/jira/browse/CB-7577
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Affects Versions: 3.5.0, 3.6.0
 Environment: ios8
Reporter: Sven Brunner
Assignee: Shazron Abdullah
Priority: Critical

 The app crashes when using an 'input type=file /' after asking if you 
 want to record an Photo/Video or get the file from media.
 Console says the following:
 {code}
 Error: *** Terminating app due to uncaught exception 
 'NSInternalInconsistencyException', reason: 'Trying to dismiss 
 UIAlertController UIAlertController: 0x12eddb820 with unknown presenter.'
   *** First throw call stack:
   (0x18553a084 0x195e2c0e4 0x185539fc4 0x18a085fac 0x189cb0724 
 0x189cea7b8 0x189ce9e58 0x189cbd660 0x189f5bd6c 0x189cbbbc8 0x1854f2324 
 0x1854f15c8 0x1854ef678 0x18541d664 0x18e51b5a4 0x189d22984 0x1000c64f4 
 0x19649aa08)
 Sep 18 10:39:13 iPad ReportCrash[577] Error: task_set_exception_ports(B07, 
 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
 {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-7442) Geolocation blocks other plugins on iOS

2014-09-01 Thread Marco (JIRA)
Marco created CB-7442:
-

 Summary: Geolocation blocks other plugins on iOS
 Key: CB-7442
 URL: https://issues.apache.org/jira/browse/CB-7442
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS, Plugin Geolocation
Affects Versions: 3.5.0
Reporter: Marco


Hi there, 

I have a cordova app with a bunch of installed plugins: statusbar, geolocation, 
barcode scanner. Geolocation plugin blocks other plugins. In other words:

1. If I remove geolocation, everything is fine. However, two prompts are shown 
when I call getPosition or watchPosition.
2. After installation from xcode on physical device, statusbar plugin is 
loaded, but geolocation and barcode scanner not. If I click on the gps arrow in 
the status bar, geolocation and barcode scanner work. Moreover, if I click on 
the button that should open the barcode scanner, nothing happens until I click 
on the gps arrow!
3. After a cold restart (always on physical device), no plugin seems to be 
loaded. If I minimize the app and reopen it, then every plugin is loaded.

The Android version works.

I do not know if it could be related to this issue 
https://issues.apache.org/jira/browse/CB-4970

Thanks in advance
Marco






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


[jira] [Created] (CB-3046) InAppBrowser - WindowsPhone 8 - Same domain not work

2013-04-16 Thread Marco (JIRA)
Marco created CB-3046:
-

 Summary: InAppBrowser - WindowsPhone 8 - Same domain not work
 Key: CB-3046
 URL: https://issues.apache.org/jira/browse/CB-3046
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP8
Affects Versions: 2.6.0
 Environment: Windows phone SDK - cordova full 2.6 / cordova standalone 
2.6 / cordova full 2.5 / cordova standalone 2.5
Reporter: Marco
Assignee: Jesse MacFadyen


In WP8 (windows phone 8) InAppBrowser does not open some websites (eg YouTube) 
and many others is shown the error you need to enable Javascript. Other site is 
OK (facebook mobile Twitter etc.).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira