Disabled the backdrop on android device backbutton click on modal


#1

Hi Folks,

I want to disable the backdrop of modal on click of device back button click. Modal should not close on android device back button click.

Below is my code -

let modal = this.modalCtrl.create(LoginPage, { enableBackdropDismiss: false});
modal.present();

Thanks