Close alertcontroller in ionic2 with device back button

How to Close the Alertcontroller with device Back Button?

 invalid() {
    let alert = this.alertCtrl.create({
      title: 'Error',
      subTitle: 'Field is Missing!',
      buttons: [{
        text: 'Cancel',
        handler: data => {
          console.log('Cancel clicked');

        }
      },
        {
          text: 'Try Again',
          handler: () => {
            console.log('Try Again Clicked!');
          }
        }]
    });
    alert.present();
  }

still looking for solution on this :frowning:

Oops… :sweat_smile:

That seems to be an still open issue on github.

:frowning: IDK Why Ionic Team is taking team to Rolved