This library contains a set of Utils decorators to use at Ionic components and reduce code duplication
Run npm i ionic-decorators
Use it to automatically unsubscribe at ngOnDestroy for all subscriptions saved at class scope.
@AutoUnsubscribe
export class Component {
  
  sub1: Subscription;
  sub2: Subscription;
  constructor() {
  }
}Use it to disable iOs swip gesture at current page.
@DisableIosSwipe
export class Component {
  constructor(private routerOutlet: IonRouterOutlet) {
  }
}Use it to override Android back button specifying url page to go when is pressed.
@BackButton('home')
export class Component {
  constructor(
    private nav: NavController,
    private platform: Platform  
  ) {
  
  }
}