We see a different behavior in the MBS and on our iOS and Android devices.
In the Simulator:
On the devices:
The implication is that the following call:
WL.Device.getNetworkInfo(function (networkInfo) {
alert (networkInfo.ipAddress);
}
);
undefined
networkInfo object in the MBS.I'm not sure why this works (and not works) in the MBS, but please do note that the WL.Device.getNetworkInfo
API method is supported only in iOS and Android.