Cordova-plugin-ble-peripheral not working

A bit of an introduction here. I’ve tried the ionic native BLE, it worked and was able to scan my devices. So after that, I tried to create its counterpart, the peripheral. But once I run the method creatUartService on click, only the first toast is displayed. So I thought the ble peripheral methods have something wrong with them

SERVICE_UUID:string = 'FF10';
  toastOnCreate(message:string){
    let toast = this.toastCtrl.create({
      message: message,
      duration: 3000,
      position: 'middle'
    });
    toast.present();
  }


  createUartService(){
    this.toastOnCreate("Start create");
    cordova.plugins.blePeripheral.createService(this.SERVICE_UUID);

     cordova.plugins.blePeripheral.publishService(this.SERVICE_UUID);
     cordova.plugins.blePeripheral.startAdvertising(this.SERVICE_UUID, 'UART');

    this.toastOnCreate("End");
  }