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

Hardware back button is behaving differently in release build and debug build. #2945

Closed
rohitgoyal opened this issue Mar 17, 2018 · 1 comment

Comments

@rohitgoyal
Copy link

Version

Tell us which versions you are using:
"react-native-router-flux": "4.0.0-beta.27",
"react-native": "0.51.0",

Expected behaviour

Android hardware back button should take to previous screen and close the app if there is no route left to go back while running the app in debug/release mode.

Actual behaviour

Android hardware back button takes to previous screen and closes the app if there is no route left to go back while running the app in debug mode. But in release mode the android hardware back button is always closing the app.

@Blapi
Copy link
Collaborator

Blapi commented Mar 19, 2018

It's working well on my end, you must have done something wrong in your code.

@Blapi Blapi closed this as completed Mar 19, 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

2 participants