How to clear the screen stack on mobile apps

How to clear the screen stack on mobile apps

  

I want to clear all of navigation history of my application mobile and, return to the first screen when I click on a button. It would has any plugin in the Outsystems to do that?

Hello Laercio,

Maybe you could make use of the Navigation Javascript API of OutSystems. 

For a button to go to the first (home) screen, a link widget with the first screen as destination would be the easiest solution.

Regards,

Daniel

Daniël Kuhlmann wrote:

Hello Laercio,

Maybe you could make use of the Navigation Javascript API of OutSystems. 

For a button to go to the first (home) screen, a link widget with the first screen as destination would be the easiest solution.

Regards,

Daniel

Thanks for answer,

Now my application has  links for the wanted screens  as you wrote. The problem is that, when I press the back button of android, my application returns to the previous screen whish  I won't like to return. I see that  Navigation Javascript API can back one screen, but I don't see a way to back all screens in order to the Android does't come back the previously visited screens.

Regards
Laercio Minozzo.


Solution

Hi Laercio,

If you want to customize the Android back button, take a look on this component.

Hope it helps

Solution

Any solution for the Navigation BackStack.

How Can I Clear the backstack ?

I am working for iOS App