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

BackHandler remove on v3.39.1 #2096

Closed
stefan0s opened this issue Jul 23, 2017 · 1 comment
Closed

BackHandler remove on v3.39.1 #2096

stefan0s opened this issue Jul 23, 2017 · 1 comment

Comments

@stefan0s
Copy link

stefan0s commented Jul 23, 2017

Hello,

We are using version 3.39.1 and we are having the following batch of scenes:

[Scene key="splashscreen" component={SplashPage} hideNavBar initial type={ActionConst.REPLACE} /]
Scene key="loginScene" hideNavBar]
[Scene key="login" component={Login} /]
[Scene key="authenticate" component={Authenticate} /]
[Scene key="register" component={Register} /]
[Scene key="forgotPassword" component={ForgotPassword} /]
[/Scene]
[Scene key="mainScene" hideNavBar]
[Scene key="home" component={Home} /]
[Scene key="scene1" component={scene1} /]
[Scene key="scene2" component={scene2} /]
[/Scene]
[/Scene]

After successfull login app navigates to splash and finally to mainScene. We need to disable BackHandler from mainScene!

We have used type RESET with no luck. Also we have tried to remove event listener using refs but it seems not to work. Any suggestions?

@aksonov
Copy link
Owner

aksonov commented Jul 24, 2017

Please use v4, v3 is not supported

@aksonov aksonov closed this as completed Jul 24, 2017
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