How to force Capacitor App to reload programmatically

Viewed 1355

I would like to be able to restart my app programmatically. It should run on all platforms (electron, ios, android, web). How can I achieve this?

1 Answers

This does the trick:

document.location.href = 'index.html';
Related