Call Number From Button

#1

Hello everyone, from the sidemenu I have the option to make a call, I create a page that calls the method “call.number” in the constructor, but when the call ends image 3, it returns me to the blank page.

Postscript: the page was only created to make the call

app.component.ts

  constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) {
    this.initializeApp();

    // used for an example of ngFor and navigation
    this.pages = [
      { title: 'Centros de Atención', component: HomePage },
      { title: 'Test de Vulnerabilidad', component: ListPage },
      { title: 'En caso de Violencia', component: InfoPage },
      { title: 'Linea de Emergencia', component: LlamarPage },//this page
      { title: 'Noticias', component: NoticiasPage }
    ];

  }

Llamar.ts

constructor(public navCtrl: NavController, public navParams: NavParams,private callNumber: CallNumber) {
    console.log('ionViewWillEnter LlamarPage');
    this.callNumber.callNumber("155", true)
  .then(res => console.log('Launched dialer!', res))
  .catch(err => console.log('Error launching dialer', err));

image 3