How to restart ionic 2/3 app programatically?


#1

How do I restart my ionic app? Are there any plugins available for this?


#2

Just use window.location.reload() javascript reload function. If you want to use splashscreen show, you must add splashscreen.show() function before reload.

reload(){
  this.splashscreen.show();
  window.location.reload();
}