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

Not saving certain views in ionicHistory

$
0
0

@Stefferp wrote:

Hey there,

Is it possible to specify in the stateProvider what views should not be remembered by ionicHistory?
Imagine the following scenario:

  1. User is on a page (state 1)
  2. User navigates to other page (state 2)
  3. User clicks a button that leads to a new submit-form page (state 3)
  4. User submits the form and app redirects to previous page (state 2)
  5. User clicks back-button to return to state 1, but instead the app goes back to state 3 because it's in the ionicHistory

Any ideas would be appreciated. :blush:

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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