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

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

Commit 5a03f7fb469912de10070eae144862efef825b02 in cordova-plugin-dialogs's 
branch refs/heads/master from [~jonathanli]
[ https://gitbox.apache.org/repos/asf?p=cordova-plugin-dialogs.git;h=5a03f7f ]

CB-13555 (ios) Present notification view controller by inappbrowser view 
controller (#98)

* (IOS) notification window does not show when inappbrowser window is presented

> (ios) Present notification view controller by inappbrowser view controller
> --------------------------------------------------------------------------
>
>                 Key: CB-13555
>                 URL: https://issues.apache.org/jira/browse/CB-13555
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-dialogs
>    Affects Versions: cordova-ios 4.5.0
>         Environment: IOS 10 and 11
>            Reporter: Jonathan Li
>              Labels: dialog, inappbrowser
>             Fix For: Master
>
>
> When inappbrowser window is shown, if main uiwebview or wkwebview calls 
> cordova Dialog plugin method to show the dialog view, the dialog should show 
> to user on top of the inappbrowser view controller.
> However, currently the dialog view is shown behind the inappbrowser view, so 
> user cannot see it or click button on the dialog 
> An similar issue was reported for barcode scanner plugin at 
> https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/570
> The issue can be repeated with the below method
> function confirm(){
>     var win = window.open( "https://www.google.com";, "_blank" );
>     win.addEventListener( "loadstop", function() {
>     setTimeout(function() {
>          function onConfirm(buttonIndex) {
>             console.log('You selected button ' + buttonIndex);
>         }
>         
>         navigator.notification.confirm(
>             'You are the winner!', // message
>             onConfirm,            // callback to invoke with index of button 
> pressed
>             'Game Over',           // title
>             ['Restart','Exit']     // buttonLabels
> );
>     }, 1000 );
> });
> }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to