Custom swipe back gesture (v5)

I see that it is possible to specify a custom nav animation using:

IonicModule.forRoot({navAnimation: myAnimation})

However, I would like to also provide a custom swipe back gesture override the existing implementation. How can I accomplish that?

you can modify this apply at app.moduld ts

That’s the animation not the swipe back gesture.

How do I provide my own swipe back gesture which is used to override the existing swipe back gesture?

I don’t think this is possible at the moment. You should open a Feature Request here

I know where the ionic github project is but thanks anyway for the link.

If someone comes with a solution/hack to extend the current code base please chime in.

Thanks.