Create an Android back-handler helper for native history.
Returns true only when history consumed the back action.
true
Example:
const handler = createNativeBackHandler(history);const consumed = handler.handle(); Copy
const handler = createNativeBackHandler(history);const consumed = handler.handle();
Create an Android back-handler helper for native history.
Returns
trueonly when history consumed the back action.Example: