You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pops last screen from the stack. If `transitionProps` are not provided uses those transitionProps that this screen was pushed with. Returns `Promise` that is resolved after transition finishes.
134
+
135
+
_Example_:
136
+
```js
137
+
// Stack before: First, Second
138
+
navigator.pop({animation:'left'})
139
+
// Stack after: First
140
+
```
141
+
142
+
#### reset(screen, props, transitionProps)
143
+
Resets the whole stack to a new screen. Returns `Promise` that is resolved after transition finishes.
Pops all screens after the certain screen. If `transitionProps` are not provided uses those transitionProps that this screen was pushed with. Returns `Promise` that is resolved after transition finishes.
If you want to handle Android hardware back press and IOS swipe back on the certain screen you can use this methods. If you return `false` from callback function on Android app will be minimized.
0 commit comments