We are using Worklight 6.0.0 enterprise edition and currently building hybrid apps for android, BB, Windows Phone 8 and iOS.
We are currently getting the below error when invoking WL.Client.reloadApp()
when clicking on a logout button. This works fine all OSs except for WP8.
CordovaBrowser_NavigationFailed :: ///www/default/www/default/pages/www/default/pages/www/default/pages/www/default/pages/myaccount.html ERROR: Exception in InvokeScriptCallback :: An unknown error has occurred. Error: 80020006. ERROR: Exception in InvokeScriptCallback :: An unknown error has occurred. Error: 80020006.
This is our logout function:
logout() {
window.localStorage.clear();
$.mobile.changePage("../MainPage.html");
$('#username').val('');
$('#password').val('');
$("#Footer").show();
$("#ui_logoutlst").hide();
$("#homeBt_menu").hide();
$('ul#QuickLinks li').width('50%');
};