Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

popTo with ionic

$
0
0

@anivaishu wrote:

Hi,

I developed Ecommerce app.

If the user orders the products Need to authenticated.So going to SigninPage.

I passed the query params in nav.push.user after signin.

Here is my code

this.navCtrl.push('CustomershippingPage',{Page:'Signin'});

.
Going to CustomershippingPage.

If user go to back click nav backbutton.

I Check the query params value is Signin and page is pop to cartPage

Here is my code.

        if(this.Page == 'Signin')
  	 {
  	    this.navCtrl.popToRoot('CartPage');
  	 }

But it does not work.The page is pop to Signinpage.why?

Kindly advice me,

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>