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

How to kill an activity by pressing any button in React-Native using Router-Flux???? #2849

Closed
shyam1211 opened this issue Feb 1, 2018 · 3 comments

Comments

@shyam1211
Copy link

For Example:->
Flow Direction
Splash -> Home
I want ,when the backbutton pressed is not going to home -> spalsh but its should closed the app
and i already use Actions.onExit(); but its not working.

please resolve these issue

@Blapi
Copy link
Collaborator

Blapi commented Feb 1, 2018

Use the BackButton listener or just a listener, there's already closed issues about it, have a look please.

@Blapi Blapi closed this as completed Feb 1, 2018
@shyam1211
Copy link
Author

Hi Blapi
Thanks for your reply It is working for android.But in ios there are no back button ,there are some issue with sliding view.
so can i resolved it?

@Blapi
Copy link
Collaborator

Blapi commented Feb 24, 2018

I don't understand your point here.. You were talking about a back button to kill your app so it's Android.

Now you're talking about exiting your app when you're on your Home page and on iOS right ? I'm not sure about the iOS experience here, but why would you kill the app if this is on iOS? What does your Home page look like ?

And what's the issue with sliding view you're talking about ?

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