I have a signout action dispatched which deletes my local Dbs and clears local store. The trouble Im having is “re-bootstrap” my app again. This is so that I can re initialize the dbs, store et. for the next user.
Anyone have experience with this?
MyApp is the base root component that is loaded on startup and makes sure all the Dbs and other native tasks are ready.
What I have tried so far:
- calling
this.navController.setRoot(MyApp)
- Calling #1 from
@Effects()
3)this.app.getActiveNav().setRoot(MyApp)