Ionic 2 OnPause and OnResume the previous page is not maintained?


#1

I am using the sidemenu template.

ionic start tempName sidemenu --v2 --ts

I opened Page Two and then pressed the back button of mobile the application went to hidden. I hope in this case OnPause activity is used.

When I resume again the Page Two is changed as Page One. When OnResume() activity the previous state is not restored.

Can you please help me to resolve this.