I have a stack in react-native-navigation. I want to navigate to a screen that is in the stack before.
but when I use Navigation.push
command nothing happened and the screen does not change. How to implement this on react-native??
for exmaple my stakc is: [the part in the () does not navigate]
Main -> Map -> Stores (-> Map)
Note: I can't pop the screen to navigate to map. Because when I use the button that I Navigate with it, maybe the Map Screen doesn't in the stack. In the other word, some times I navigate from Main to Map and then to Stores, and some times I navigate to Stores from Main directly. and my button that is saying about to navigate to Stores screen in Map screen.