Hi,
The previous issue about redirection is solved on iOS device, but now new problem for local storage has arise. Well the local storage is working on android device , but I am not able to get local data on iOS device. Below is code
this.storage.set('userData', {
userName: response.userName,
userId: this.filteredList[0].userId,
adminId: response.adminId,
adminName: response.adminName,
roleId: response.roleId,
roleName: response.roleName,
action: response.action,
adminRoleName:response.adminRoleName
});
and in the second page
getLocalData() {
this.storage.get('userData').then((data) => {
this.userId = data.userId;
this.roleName = data.roleName;
this.action = data.action;
console.log("userId ", this.userId);
})
}