I want to avoid that if you open the application I let you enter without having a connection on the phone. I have tried it this way but it gives me problems when I put the connection back. What is the correct way to recharge the application if you have no connection or is very slow?
if(this.network.type == 'none'){
alert('This app requieres an active connection');
splashScreen.show();
window.location.reload();
}
This way doesn’t works