cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li, Jonathan" <jonathan...@sap.com>
Subject Inconsistent behavior when opening inappbrowser window
Date Wed, 02 Jul 2014 19:20:17 GMT

When creating inappBrowser in cordova app, for iOS, only a single
uiwebview instance is created for multiple window.open method calls, and
it only shows the content of last window.open's url content. However, on
Android client, each window.open method call will create a separate
webview instance with its own url content.
 
Just want to confirm is this an expected behavior? Is there any change
planned to make the behavior more consistent across all client platforms?

Sample code to call window.open multiple times:
var windowRef = window.open( 'http://google.com', '_blank',
'location=yes');
var windowRef2 = window.open('http://apache.org', '_blank',
'location=yes');


Regards
Jonathan


Mime
View raw message