I’m developing a mobile app for treasure hunt game. Each step is linked on a given page and the history of all steps are described in a
config.json file. So, I need to route page by lazy loading using string variables instead Component Instance.
However, after the first phase of the workflow (that has a fixed routing), when I call the Ionic navCtrl, the page is instantiated but a kind of
popToRoot() method are call and the workflow starts from the beginning (RootPage)
Does anyone know why? Any suggestions to fix it or prevent this behavior?
Thanks in advance.
This is my Ionic Info:
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.8 Cordova Platforms : android 6.2.3 Ionic Framework : ionic-angular 3.9.2