I’m trying to disable the swipe-back feature. I put swipeBackEnabled: false to config, but it only works on IOS. When I run the app on an Android device, the swipe gestures are still there.
main.js
const app = createApp(App)
.use(IonicVue, {
swipeBackEnabled: false
})
.use(router)
.use(createPinia())
router.isReady().then(() => {
app.mount('#app')
})
I also try to disable swipeGesture in App.vue, but still did not work.
App.vue:
<template>
<ion-app>
<ion-router-outlet swipeGesture="false"/>
</ion-app>
</template>
Please help, thank you.