A native application needs both: the action for a header button, and the answer for
whatever handles the hardware back button, which must let the platform leave the
application when there is nowhere left to go.
Returns {canGoBack:boolean;goBack:()=>boolean}
The back action and whether it would stay inside the application.
Go back one screen, and whether that is possible.
A native application needs both: the action for a header button, and the answer for whatever handles the hardware back button, which must let the platform leave the application when there is nowhere left to go.