Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.0
-
None
-
Cordova 5.0.0, Windows 3.8.1, InAppBrowser 1.0.0
Description
The executeScript function can return data across the inteface.
When using Windows Phone 8.1 if no data is returned the current code will except, crashing the app.
I have found the following code to solve the problem
In file InAppBrowserProxy.js
Change lines 250 and 272 from
var result = [e.target.result];
to
var result = [];
if(e && e.target) result = [e.target.result];