Simply, localStorage isn't working on my application.
When serving the application on the browser (ojet serve --browser) it works just fine, but when I build the apk and install it on my phone it doesn't work.
let credenciales=window.localStorage.getItem("login");
if(credenciales!=undefined && credenciales!=null && credenciales!="undefined"){
credenciales=JSON.parse(credenciales);
app.user(credenciales.name);
.
.
.
.then(text=>{
app.user(self.name());
window.localStorage.setItem("login", JSON.stringify({"name":self.name(),"role":text}))
Code doesn't have much to look at.