You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Colin Bau (JIRA)" <ji...@apache.org> on 2015/06/17 15:42:01 UTC

[jira] [Updated] (CB-9200) event progress with "cordova.InAppBrowser.open"

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

Colin Bau updated CB-9200:
--------------------------
    Description: 
according to this
https://github.com/apache/cordova-plugin-inappbrowser

let me demo for example "loadstart" (other enent have the same problem)

=====
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');

//this line will trigger
ref.addEventListener('loadstart', function(event) { alert(event.url); });

//this line will never trigger
ref.addEventListener('loadstart', function(event) { navigator.notification.alert("test", null, 'title', 'ok'); });
=====



  was:
according to this
https://github.com/apache/cordova-plugin-inappbrowser

let me demo for example "loadstart" (other enent have the same problem)
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
ref.addEventListener('loadstart', function(event) { alert(event.url); }); //this line will trigger
ref.addEventListener('loadstart', function(event) { navigator.notification.alert("test", null, 'title', 'ok'); }); //this line will never trigger


> event progress with "cordova.InAppBrowser.open"
> -----------------------------------------------
>
>                 Key: CB-9200
>                 URL: https://issues.apache.org/jira/browse/CB-9200
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin InAppBrowser
>         Environment: cordova-plugin-inappbrowser 1.0.0 with ios 8.3 (12F69)
>            Reporter: Colin Bau
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> according to this
> https://github.com/apache/cordova-plugin-inappbrowser
> let me demo for example "loadstart" (other enent have the same problem)
> =====
> var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
> //this line will trigger
> ref.addEventListener('loadstart', function(event) { alert(event.url); });
> //this line will never trigger
> ref.addEventListener('loadstart', function(event) { navigator.notification.alert("test", null, 'title', 'ok'); });
> =====



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

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