Actions.pop() not working for me.
in screen, I called Actions.pop() to go to prev screen.
but there is nothing.
First, did you really have a look on the Example project??? Because Actions.pop() is very popular and is known to work.. So I'm really convinced you haven't checked how to use it.
Second, would you mind showing more of your code please in case of the Example project is not clear enough for you to understand Actions.pop()
Here is my code snippet
You are not even using Actions.pop() and still, you open an issue about it ?!
in the above code, the NavigationActions.pop() = Actions.pop()
import { Actions as NavigationActions } from 'react-native-router-flux'
I can use the other functions such as Actions.focus or Actions.refresh, just can't use the pop()
Maybe because all your scenes are in type='replace' so there is nothing to go back to in your NavigationStack?
Check the doc and the Example project before opening an issue please.
Oh, sorry, It's my mistakes.
Thanks
somewhere you used Actions.replace then you can you Actions.replace('SceneName') with the replace
Most helpful comment
Maybe because all your scenes are in
type='replace'so there is nothing to go back to in your NavigationStack?Check the doc and the Example project before opening an issue please.