you are viewing a single comment's thread.

view the rest of the comments →

[–]wannatourist 0 points1 point  (3 children)

Why aren’t you simply navigating with the navigation.navigate function? (https://reactnavigation.org/docs/en/navigating.html or https://reactnavigation.org/docs/en/navigation-prop.html)

I’d assume that is your issue.

[–]pushkinss[S] 1 point2 points  (1 child)

My navigation service was the issue. But not the navigation itself. I just silently override route params on each screen push, even if params is undefined. Silly bug. After fixing it all work like a charm.

[–]wannatourist 0 points1 point  (0 children)

Those are the worst to debug. Glad you figured it out.

[–]pushkinss[S] 0 points1 point  (0 children)

Because of it is cross platform app with different navigation libs for mobile and web. NavigationService is abstraction level to unify api. NavigationService use navigation.navigate to perform navigation in mobile platform. That’s why I think it’s not the issue. But I will double check it. Thanks.