485
Views
4
Comments
Solved
How to clear the screen stack on mobile apps
Question

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?

2017-07-05 22-17-18
Henrique Batista
Staff
Solution

Hi Laercio,

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

Hope it helps

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

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

2018-05-11 14-00-39
Laercio Minozzo

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.


2017-07-05 22-17-18
Henrique Batista
Staff
Solution

Hi Laercio,

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

Hope it helps

2021-04-09 11-42-43
assif_tiger
 
MVP

Any solution for the Navigation BackStack.

How Can I Clear the backstack ?

I am working for iOS App

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.