Convertigo Public Knowledge base

Swipe back gesture fired twice on iOS device

To circumvent this behaviour, you may try one of the following:

Edit NgxApp class:

/*Begin_c8o_AppImport*/ import {setupConfig} from '@ionic/core'; setupConfig({ swipeBackEnabled: false }); /*End_c8o_AppImport*/

In …/ionicTpl/src/app/app.module.ts:

IonicModule.forRoot({ swipeBackEnabled: false })

In …/ionicTpl/src/app/app.component.html:

<ion-app> <ion-router-outlet [swipeGesture]="false"></ion-router-outlet> </ion-app>

Modifications to ionicTpl files require to use and change the project’s template. See here how to use a local project template: https://convertigo.atlassian.net/wiki/spaces/CK/pages/2162700

(c) Convertigo 2023 https://www.convertigo.com