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

Back button on Android always closes app #2196

Closed
cobarx opened this issue Aug 7, 2017 · 5 comments
Closed

Back button on Android always closes app #2196

cobarx opened this issue Aug 7, 2017 · 5 comments
Labels

Comments

@cobarx
Copy link

cobarx commented Aug 7, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.16
  • react-native v0.47.1

Expected behaviour

When pressing the back button on Android, app returns to the previous scene if there is one, otherwise it closes the app.

Actual behaviour

RNRF always closes the app and never returns to previous scene.

Steps to reproduce

  1. Launch example app
  2. Go to Login page
  3. Press Back button
@cobarx cobarx changed the title Android Back button on Android always closes app Aug 7, 2017
@aksonov
Copy link
Owner

aksonov commented Aug 8, 2017

Please check latest master, it should be fixed

@aksonov aksonov added the bug label Aug 8, 2017
@wayne1203
Copy link

@asokol Hi, how can I install the latest master?
I'm in beta16 now, but seems not the latest master version.

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2017

Set link to direct master with commit ID for package.json like

    "react-native-router-flux": "github:aksonov/react-native-router-flux#92f055e52d11e0ff8c38bd5f1a5100bc927d5242",

@wayne1203
Copy link

Thanks @asokol , it's work~

@cobarx
Copy link
Author

cobarx commented Aug 8, 2017

Working properly here as well. Thanks for the quick fix!

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

No branches or pull requests

3 participants