Everything looks good and works fine.
One thing i've notice is that the window.alert is not blocking/waiting:
Android: show first alert and stop everything untill i click 'ok' then
inappbrowser open and second alert block everything untill i click 'ok'.
iOS: show first alert then inappbrowser open and the second alert is behind the
inappbrowser.
Same behavior happens when using events (loadstart/loadstop).
Android: ok
iOS: alert is behind inappbrowser
Example (after deviceready):
```
window.alert('test');
var iap = cordova.inAppBrowser.open('url');
window.alert('another test');
iap.addEventListener('loadstart', function(){
alert('loadstart')
});
iap.addEventListener('loadstop', function(){
alert('loadstop')
});
```
config.xml
```
<plugin name="cordova-plugin-inappbrowser"
spec="https://github.com/dpa99c/cordova-plugin-inappbrowser#CB-7179" />
<plugin name="cordova-plugin-wkwebview-engine" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
```
Build with phonegap-version=cli-8.0.0
Android Phonegap Version = 7.0.0
iOS Phonegap Version = 4.5.4
This might be some error or this behavior is expected?
[ Full content available at:
https://github.com/apache/cordova-plugin-inappbrowser/pull/271 ]
This message was relayed via gitbox.apache.org for [email protected]