Issue
I would like to reboot my Ionic app programmatically.
I found solutions to only reload the current view like location.reload()
...but I would like the app the re-run the app.js, both for iOS and Android.
Any idea ? Thanks
Solution
I wouldn't recomend going with that approach, in single page apps always try to have a system to reset the data, cache, history, etc. and then go to the initial state, instead of forcing to refresh de webUI. Ionic has a lot of features to help you accomplish that.
Answered By - Hiraqui
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.