cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10855) cordova-plugin-dialogs doesn't work on cordova-plugin-inappbrowser exit event
Date Mon, 14 Mar 2016 17:52:33 GMT

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

Nikhil Khandelwal updated CB-10855:
-----------------------------------
    Labels: ios triaged  (was: )

> cordova-plugin-dialogs doesn't work on cordova-plugin-inappbrowser exit event
> -----------------------------------------------------------------------------
>
>                 Key: CB-10855
>                 URL: https://issues.apache.org/jira/browse/CB-10855
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>            Reporter: jcesarmobile
>            Assignee: jcesarmobile
>            Priority: Minor
>              Labels: ios, triaged
>
> If you try to use the dialogs plugin on the inAppBrowser exit event you'll get a warning
message
> {quote}
> Warning: Attempt to present <UIAlertController: 0x14e9b0e40> on <CDVInAppBrowserNavigationController:
0x14d878a00> whose view is not in the window hierarchy!
> {quote}
> and won't be displayed.
> Sample code:
> {code}
> var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
> var myCallback = function(event) { 
>     navigator.notification.alert("message", null, "MyAppTitle", 'OK'  );
> }
> ref.addEventListener('exit', myCallback);
> {code}
> The exit event should be called once the InAppBrowser window is completely dismissed,
not before



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


Mime
View raw message