Ionic 5 Disable Android Swipe gesture in specific page

I have tried this -

import { IonRouterOutlet } from '@ionic/angular';

export class MyPage {
  constructor(private routerOutlet: IonRouterOutlet) {}

  ionViewWillEnter() {
    this.routerOutlet.swipeGesture = false;
  }

  ionViewWillLeave() {
    this.routerOutlet.swipeGesture = true;
  }
}

These codes are worked for iOS, not on Android.