Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type: ActionConst.RESET and Android back button #3048

Closed
b1acKr0se opened this issue May 23, 2018 · 4 comments
Closed

type: ActionConst.RESET and Android back button #3048

b1acKr0se opened this issue May 23, 2018 · 4 comments

Comments

@b1acKr0se
Copy link

b1acKr0se commented May 23, 2018

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.31

Problem

Suppose you have 4 scenes, A B C D. You can go to the respective scene for that order.
When I go from A to B, and when from B to C I use type: ActionConst.RESET to reset the history stack. After that when I'm in C, I press the Android back button (the app will now quit), and then relaunch the app from the app drawer.

Expected behaviour

App starts with scene A.

Actual behaviour

App starts with scene C.

Steps to reproduce

Make some scenes and try type: ActionConst.RESET when navigating to one scene, and then press the Android back button.

@b1acKr0se b1acKr0se changed the title type: ActionConst.RESET and Android back button type: ActionConst.RESET and Android back button May 23, 2018
@n00bm5st3r69
Copy link

@b1acKr0se
Have you tried this? Actions.root({ type: ActionConst.RESET }) This one will put you back to the initial scene.

@yeomann
Copy link

yeomann commented Jun 19, 2018

after all tries I just switched to v 3.43.0

@Symous
Copy link
Contributor

Symous commented Jun 29, 2018

please I have the same issue! #3102

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants