I'm facing a challenge in my Ionic app where I have an ion-slide-box containing 3 slides. The swiping feature is disabled, and I navigate to the next slide using a button that triggers
$ionicSlideBoxDelegate.slide(index)
Now, I am looking for a way to go back one slide when the user presses the back button on their mobile phone. Ideally, this would be achieved using $ionicHistory.goBack()
In addition, I want the app to remember the last viewed slide when navigating away from the slide-box and returning to it at a later time.
If anyone has any insights or solutions on how to accomplish this, I would greatly appreciate the help!