Hi,
I am unable to capture cordova plugin inappbrowser's exit event in windows phoone 8.x builds.
This the code I am using
ref.addEventListener("exit", function (e) {
setTimeout(function () {
if (callback)
callback();
}, 100);
});
alert('calling close for proxy');
ref.close();
Please help me resolve this problem.
链接已复制
For that one I recommend you search StackOverflow, etc. for something like "cordova phonegap unable to capture exit event for inappbrowser on windows phone" -- we don't have much experience yet with the new Windows Phone webview... Also, have you confirmed that your code works on Android and/or iOS for reference?
Yes, sounds like it's a bug in the inAppBrowser plugin for Windows. You might also check to see if there is a newer version of it that you can try with the Windows platform, our feed is not be up-to-date with the versions on that one, I see that there is now a version 1.2.0 for that as of four days ago (https://github.com/apache/cordova-plugin-inappbrowser/blob/master/RELEASENOTES.md). You can try the later version by using the third-party plugin add feature, rather than the cordova list.