Add swipe gesture to go back based on current route
npm install swipeback
npx cap sync
setAllowsBackForwardNavigationGestures(options: { allow: boolean; }) => Promise<void>
Param | Type |
---|---|
options |
{ allow: boolean; } |
clearHistory() => Promise<void>