WL.App.close() in ibm worklight is avaiable in wp 8? I try to use this to quit my application when backbutton was pressed, but nothing've happened. If this API is not avaiable to WP8, how can i make my app close when backbutton was pressed.
here's my code:
WL.App.overrideBackButton(backFunc);
function backFunc() {
if (isMapOn == true) {
loadInfo();
}
else {
WL.App.close();
}
}