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

Error when trying to use replace on the initalRoute #35

Closed
sercanov opened this issue Nov 18, 2015 · 2 comments
Closed

Error when trying to use replace on the initalRoute #35

sercanov opened this issue Nov 18, 2015 · 2 comments

Comments

@sercanov
Copy link

I tried navigator.replace on the initialRoute got the error below,
ekran resmi 2015-11-18 23 58 24

I managed to go to line 220 on ExRouteRenderer and changed this._previousRoute.scene.componentDidBlur to this._previousRoute.componentDidBlur seems it fixed but it may broke somewhere else.

Here is my ExNavigator component ;
<ExNavigator initialRoute={DaRouter.getHomeRoute()} style={{ flex: 1 }} showNavigationBar={false} />

and navigating block ;
this.props.navigator.replace(DaRouter.getLogin());

Am I missing something here or is it just a bug?

@ide
Copy link
Member

ide commented Nov 18, 2015

Could you try upgrading to 0.3.0?

@sercanov
Copy link
Author

Committed in five minutes and It worked flawlessly!

I don't know how do you dealing with all this subjects on react-native, exponent, facebook and many others that I don't know but you're doing great work.

Appreciated :)

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